<?php namespace App\Entity; use App\Repository\FeesHistoryRepository; use DateTimeImmutable; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=FeesHistoryRepository::class) */ class FeesHistory { /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\Column(type="string", length=8) */ private $itemNumber; /** * @ORM\Column(type="string", length=8) */ private $palletNumber; /** * @ORM\Column(type="string", length=9) */ private $value; /** * @ORM\Column(type="string", length=9) */ private $cost; /** * @ORM\Column(type="datetime_immutable") */ private $createdAt; /** * @ORM\Column(type="text", nullable=true) */ private $content; public function getId(): ?int { return $this->id; } public function getItemNumber(): ?string { return $this->itemNumber; } public function setItemNumber( string $itemNumber ): self { $this->itemNumber = $itemNumber; return $this; } public function getPalletNumber(): ?string { return $this->palletNumber; } public function setPalletNumber( string $palletNumber ): self { $this->palletNumber = $palletNumber; return $this; } public function getValue(): ?string { return $this->value; } public function setValue( string $value ): self { $this->value = $value; return $this; } public function getCost(): ?string { return $this->cost; } public function setCost( string $cost ): self { $this->cost = $cost; return $this; } public function getCreatedAt(): ?DateTimeImmutable { return $this->createdAt; } public function setCreatedAt( DateTimeImmutable $createdAt ): self { $this->createdAt = $createdAt; return $this; } public function getContent(): ?string { return $this->content; } public function setContent( ?string $content ): self { $this->content = $content; return $this; } }