<?phpnamespace App\Entity;use App\Repository\ReminderRepository;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity(repositoryClass=ReminderRepository::class) */class Reminder{ /** * @ORM\Id * @ORM\GeneratedValue * @ORM\Column(type="integer") */ private $id; /** * @ORM\ManyToOne(targetEntity=Users::class, inversedBy="reminders") * @ORM\JoinColumn(nullable=false) */ private $user; /** * @ORM\Column(type="string", length=255) */ private $title; /** * @ORM\Column(type="text", nullable=true) */ private $description; /** * @ORM\Column(type="date", nullable=true) */ private $startDate; /** * @ORM\Column(type="integer", nullable=true) */ private $reminderInterval; /** * @ORM\Column(type="integer", nullable=true) */ private $status; /** * @ORM\Column(type="date", nullable=true) */ private $lastDate; public function getId(): ?int { return $this->id; } public function getUser(): ?Users { return $this->user; } public function setUser(?Users $user): self { $this->user = $user; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } public function getDescription(): ?string { return $this->description; } public function setDescription(string $description): self { $this->description = $description; return $this; } public function getStartDate(): ?\DateTimeInterface { return $this->startDate; } public function setStartDate(?\DateTimeInterface $startDate): self { $this->startDate = $startDate; return $this; } public function getReminderInterval(): ?int { return $this->reminderInterval; } public function setReminderInterval(?int $reminderInterval): self { $this->reminderInterval = $reminderInterval; return $this; } public function getStatus(): ?int { return $this->status; } public function setStatus(?int $status): self { $this->status = $status; return $this; } public function getLastDate(): ?\DateTimeInterface { return $this->lastDate; } public function setLastDate(?\DateTimeInterface $lastDate): self { $this->lastDate = $lastDate; return $this; }}