src/Entity/TimetableUpdate.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\App\TimetableUpdateRepository")
  6.  */
  7. class TimetableUpdate
  8. {
  9.     /**
  10.      * @ORM\Id
  11.      * @ORM\Column(type="integer")
  12.      * @ORM\GeneratedValue
  13.      *
  14.      * @var int
  15.      */
  16.     protected $id;
  17.     /**
  18.      * @ORM\Column(type="integer")
  19.      *
  20.      * @var int
  21.      */
  22.     protected $customerNumber;
  23.     /**
  24.      * @ORM\Column(type="integer")
  25.      *
  26.      * @var int
  27.      */
  28.     protected $invoiceNumber;
  29.     /**
  30.      * @ORM\Column(type="string")
  31.      *
  32.      * @var string
  33.      */
  34.     protected $timetableNumber;
  35.     /**
  36.      * @ORM\Column(type="datetime", nullable=true)
  37.      *
  38.      * @var \DateTime
  39.      */
  40.     protected $date;
  41.     /**
  42.      * @ORM\Column(type="boolean", nullable=true)
  43.      *
  44.      * @var string
  45.      */
  46.     protected $notify false;
  47.     public function getId(): int
  48.     {
  49.         return $this->id;
  50.     }
  51.     /**
  52.      * @return TimetableUpdate
  53.      */
  54.     public function setId(int $id): self
  55.     {
  56.         $this->id $id;
  57.         return $this;
  58.     }
  59.     public function getCustomerNumber(): int
  60.     {
  61.         return $this->customerNumber;
  62.     }
  63.     /**
  64.      * @return TimetableUpdate
  65.      */
  66.     public function setCustomerNumber(int $customerNumber): self
  67.     {
  68.         $this->customerNumber $customerNumber;
  69.         return $this;
  70.     }
  71.     public function getInvoiceNumber(): int
  72.     {
  73.         return $this->invoiceNumber;
  74.     }
  75.     /**
  76.      * @return TimetableUpdate
  77.      */
  78.     public function setInvoiceNumber(int $invoiceNumber): self
  79.     {
  80.         $this->invoiceNumber $invoiceNumber;
  81.         return $this;
  82.     }
  83.     public function getTimetableNumber(): string
  84.     {
  85.         return $this->timetableNumber;
  86.     }
  87.     /**
  88.      * @return TimetableUpdate
  89.      */
  90.     public function setTimetableNumber(string $timetableNumber): self
  91.     {
  92.         $this->timetableNumber $timetableNumber;
  93.         return $this;
  94.     }
  95.     public function getDate(): \DateTime
  96.     {
  97.         return $this->date;
  98.     }
  99.     /**
  100.      * @return TimetableUpdate
  101.      */
  102.     public function setDate(\DateTime $date): self
  103.     {
  104.         $this->date $date;
  105.         return $this;
  106.     }
  107.     public function isNotify(): bool
  108.     {
  109.         return $this->notify ?? false;
  110.     }
  111.     public function setNotify(bool $notify): self
  112.     {
  113.         $this->notify $notify;
  114.         return $this;
  115.     }
  116. }