src/Entity/FeesHistory.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\FeesHistoryRepository;
  4. use DateTimeImmutable;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=FeesHistoryRepository::class)
  8.  */
  9. class FeesHistory
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=8)
  19.      */
  20.     private $itemNumber;
  21.     /**
  22.      * @ORM\Column(type="string", length=8)
  23.      */
  24.     private $palletNumber;
  25.     /**
  26.      * @ORM\Column(type="string", length=9)
  27.      */
  28.     private $value;
  29.     /**
  30.      * @ORM\Column(type="string", length=9)
  31.      */
  32.     private $cost;
  33.     /**
  34.      * @ORM\Column(type="datetime_immutable")
  35.      */
  36.     private $createdAt;
  37.     /**
  38.      * @ORM\Column(type="text", nullable=true)
  39.      */
  40.     private $content;
  41.     public function getId(): ?int
  42.     {
  43.         return $this->id;
  44.     }
  45.     public function getItemNumber(): ?string
  46.     {
  47.         return $this->itemNumber;
  48.     }
  49.     public function setItemNumber(string $itemNumber): self
  50.     {
  51.         $this->itemNumber $itemNumber;
  52.         return $this;
  53.     }
  54.     public function getPalletNumber(): ?string
  55.     {
  56.         return $this->palletNumber;
  57.     }
  58.     public function setPalletNumber(string $palletNumber): self
  59.     {
  60.         $this->palletNumber $palletNumber;
  61.         return $this;
  62.     }
  63.     public function getValue(): ?string
  64.     {
  65.         return $this->value;
  66.     }
  67.     public function setValue(string $value): self
  68.     {
  69.         $this->value $value;
  70.         return $this;
  71.     }
  72.     public function getCost(): ?string
  73.     {
  74.         return $this->cost;
  75.     }
  76.     public function setCost(string $cost): self
  77.     {
  78.         $this->cost $cost;
  79.         return $this;
  80.     }
  81.     public function getCreatedAt(): ?DateTimeImmutable
  82.     {
  83.         return $this->createdAt;
  84.     }
  85.     public function setCreatedAtDateTimeImmutable $createdAt): self
  86.     {
  87.         $this->createdAt $createdAt;
  88.         return $this;
  89.     }
  90.     public function getContent(): ?string
  91.     {
  92.         return $this->content;
  93.     }
  94.     public function setContent(?string $content): self
  95.     {
  96.         $this->content $content;
  97.         return $this;
  98.     }
  99. }