src/Entity/Reminder.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ReminderRepository;
  4. use App\Entity\Prospect;
  5. use Doctrine\DBAL\Types\Types;
  6. use Doctrine\ORM\Mapping as ORM;
  7. #[ORM\Entity(repositoryClassReminderRepository::class)]
  8. class Reminder
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  15.     private ?\DateTimeInterface $datum null;
  16.     #[ORM\ManyToOne(inversedBy'reminders')]
  17.     private ?user $user null;
  18.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  19.     private ?string $opmerking null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $titel null;
  22.       #[ORM\Column]
  23.     private ?bool $isActive null;
  24.       #[ORM\ManyToOne(inversedBy'reminders')]
  25.       private ?order $orderid null;
  26.       #[ORM\ManyToOne(inversedBy'reminders')]
  27.       private ?prospect $prospect null;
  28.       #[ORM\ManyToOne(inversedBy'reminders')]
  29.       private ?vestiging $vestiging null;
  30.     public function __toString()
  31.     {
  32.         return($this->getTitel());
  33.     }
  34.     public function getId(): ?int
  35.     {
  36.         return $this->id;
  37.     }
  38.     public function getDatum(): ?\DateTimeInterface
  39.     {
  40.         return $this->datum;
  41.     }
  42.     public function setDatum(?\DateTimeInterface $datum): self
  43.     {
  44.         $this->datum $datum;
  45.         return $this;
  46.     }
  47.     public function getUser(): ?user
  48.     {
  49.         return $this->user;
  50.     }
  51.     public function setUser(?user $user): self
  52.     {
  53.         $this->user $user;
  54.         return $this;
  55.     }
  56.     public function getOpmerking(): ?string
  57.     {
  58.         return $this->opmerking;
  59.     }
  60.     public function setOpmerking(?string $opmerking): self
  61.     {
  62.         $this->opmerking $opmerking;
  63.         return $this;
  64.     }
  65.     public function getTitel(): ?string
  66.     {
  67.         return $this->titel;
  68.     }
  69.     public function setTitel(string $titel): self
  70.     {
  71.         $this->titel $titel;
  72.         return $this;
  73.     }
  74.     public function isIsActive(): ?bool
  75.     {
  76.         return $this->isActive;
  77.     }
  78.     public function setIsActive(bool $isActive): static
  79.     {
  80.         $this->isActive $isActive;
  81.         return $this;
  82.     }
  83.     public function getOrderid(): ?order
  84.     {
  85.         return $this->orderid;
  86.     }
  87.     public function setOrderid(?order $orderid): static
  88.     {
  89.         $this->orderid $orderid;
  90.         return $this;
  91.     }
  92.     public function getProspect(): ?prospect
  93.     {
  94.         return $this->prospect;
  95.     }
  96.     public function setProspect(?prospect $prospect): static
  97.     {
  98.         $this->prospect $prospect;
  99.         return $this;
  100.     }
  101.     public function getVestiging(): ?vestiging
  102.     {
  103.         return $this->vestiging;
  104.     }
  105.     public function setVestiging(?vestiging $vestiging): static
  106.     {
  107.         $this->vestiging $vestiging;
  108.         return $this;
  109.     }
  110. }