src/Entity/Reminders.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\RemindersRepository")
  6.  */
  7. class Reminders
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255)
  17.      */
  18.     private $type;
  19.      /**
  20.      * @ORM\Column(type="datetime")
  21.      */
  22.     private $createdDate;
  23.     /**
  24.      * @ORM\Column(type="integer", nullable=true, options={"default" : 0})
  25.      */
  26.     private $client;
  27.     public function getId(): ?int
  28.     {
  29.         return $this->id;
  30.     }
  31.     public function getType(): ?string
  32.     {
  33.         return $this->type;
  34.     }
  35.     public function setType(string $type): self
  36.     {
  37.         $this->type $type;
  38.         return $this;
  39.     }
  40.     public function getCreatedDate(): ?\DateTimeInterface
  41.     {
  42.         return $this->createdDate;
  43.     }
  44.     public function setCreatedDate(\DateTimeInterface $createdDate): self
  45.     {
  46.         $this->createdDate $createdDate;
  47.         return $this;
  48.     }
  49.     public function getClient(): ?string
  50.     {
  51.         return $this->client;
  52.     }
  53.     public function setClient(?string $client): self
  54.     {
  55.         $this->client $client;
  56.         return $this;
  57.     }
  58. }