<?phpnamespace App\Entity;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass="App\Repository\App\TimetableUpdateRepository") */class TimetableUpdate{ /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue * * @var int */ protected $id; /** * @ORM\Column(type="integer") * * @var int */ protected $customerNumber; /** * @ORM\Column(type="integer") * * @var int */ protected $invoiceNumber; /** * @ORM\Column(type="string") * * @var string */ protected $timetableNumber; /** * @ORM\Column(type="datetime", nullable=true) * * @var \DateTime */ protected $date; /** * @ORM\Column(type="boolean", nullable=true) * * @var string */ protected $notify = false; public function getId(): int { return $this->id; } /** * @return TimetableUpdate */ public function setId(int $id): self { $this->id = $id; return $this; } public function getCustomerNumber(): int { return $this->customerNumber; } /** * @return TimetableUpdate */ public function setCustomerNumber(int $customerNumber): self { $this->customerNumber = $customerNumber; return $this; } public function getInvoiceNumber(): int { return $this->invoiceNumber; } /** * @return TimetableUpdate */ public function setInvoiceNumber(int $invoiceNumber): self { $this->invoiceNumber = $invoiceNumber; return $this; } public function getTimetableNumber(): string { return $this->timetableNumber; } /** * @return TimetableUpdate */ public function setTimetableNumber(string $timetableNumber): self { $this->timetableNumber = $timetableNumber; return $this; } public function getDate(): \DateTime { return $this->date; } /** * @return TimetableUpdate */ public function setDate(\DateTime $date): self { $this->date = $date; return $this; } public function isNotify(): bool { return $this->notify ?? false; } public function setNotify(bool $notify): self { $this->notify = $notify; return $this; }}