<?phpnamespace App\Entity;use App\Repository\TransferRepository;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;/** * @ORM\Entity(repositoryClass=TransferRepository::class) */class Transfer{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="date_immutable") * @Assert\NotBlank() */ private $date; /** * @ORM\Column(type="string", length=255) * @Assert\NotBlank() */ private $customer; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $invoiceNumber; /** * @ORM\Column(type="date_immutable", nullable=true) */ private $invoiceDate; /** * @ORM\Column(type="string", length=255, nullable=true) */ private $description; /** * @ORM\Column(type="decimal", precision=10, scale=2, nullable=true) */ private $amount; public function getId(): ?int { return $this->id; } public function getDate(): ?\DateTimeImmutable { return $this->date; } public function setDate(\DateTimeImmutable $date): self { $this->date = $date; return $this; } public function getCustomer(): ?string { return $this->customer; } public function setCustomer(string $customer): self { $this->customer = $customer; return $this; } public function getInvoiceNumber(): ?string { return $this->invoiceNumber; } public function setInvoiceNumber(?string $invoiceNumber): self { $this->invoiceNumber = $invoiceNumber; return $this; } public function getInvoiceDate(): ?\DateTimeImmutable { return $this->invoiceDate; } public function setInvoiceDate(?\DateTimeImmutable $invoiceDate): self { $this->invoiceDate = $invoiceDate; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(?string $description): self { $this->description = $description; return $this; } public function getAmount(): ?string { return $this->amount; } public function setAmount(?string $amount): self { $this->amount = $amount; return $this; }}