src/Entity/EventReminders.php line 13

  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * EventReminders
  6.  *
  7.  * @ORM\Table(name="event_reminders")
  8.  * @ORM\Entity
  9.  */
  10. class EventReminders
  11. {
  12.     /**
  13.      * @var int
  14.      *
  15.      * @ORM\Column(name="id", type="integer", nullable=false, options={"unsigned"=true})
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.     private $id;
  20.     /**
  21.      * @var int
  22.      *
  23.      * @ORM\Column(name="conference_id", type="integer", nullable=false)
  24.      */
  25.     private $conference_id;
  26.     /**
  27.      * @var int
  28.      *
  29.      * @ORM\Column(name="school_id", type="integer", nullable=true)
  30.      */
  31.     private $school_id;
  32.     /**
  33.      * @var int
  34.      *
  35.      * @ORM\Column(name="days_before", type="integer", nullable=false)
  36.      */
  37.     private $days_before;
  38.     /**
  39.      *
  40.      * @ORM\Column(name="time", type="time", nullable=false)
  41.      */
  42.     private $time;
  43.     /**
  44.      * @var string
  45.      *
  46.      * @ORM\Column(name="email", type="string", nullable=true)
  47.      */
  48.     private $email;
  49.     /**
  50.      * @var string
  51.      *
  52.      * @ORM\Column(name="email_content", type="string", nullable=true)
  53.      */
  54.     private $email_content;
  55.     public function getId(): int
  56.     {
  57.         return $this->id;
  58.     }
  59.     public function getConferenceId(): int
  60.     {
  61.         return $this->conference_id;
  62.     }
  63.     public function setConferenceId(int $conference_id): self
  64.     {
  65.         $this->conference_id $conference_id;
  66.         return $this;
  67.     }
  68.     public function getSchoolId(): ?int
  69.     {
  70.         return $this->school_id;
  71.     }
  72.     public function setSchoolId(?int $school_id): self
  73.     {
  74.         $this->school_id $school_id;
  75.         return $this;
  76.     }
  77.     public function getDaysBefore(): int
  78.     {
  79.         return $this->days_before;
  80.     }
  81.     public function setDaysBefore(int $days_before): self
  82.     {
  83.         $this->days_before $days_before;
  84.         return $this;
  85.     }
  86.     public function getTime()
  87.     {
  88.         return $this->time;
  89.     }
  90.     public function setTime($time): self
  91.     {
  92.         $this->time $time;
  93.         return $this;
  94.     }
  95.     public function getEmail(): ?string
  96.     {
  97.         return $this->email;
  98.     }
  99.     public function setEmail(?string $email): self
  100.     {
  101.         $this->email $email;
  102.         return $this;
  103.     }
  104.     public function getEmailContent(): ?string
  105.     {
  106.         return $this->email_content;
  107.     }
  108.     public function setEmailContent(?string $email_content): self
  109.     {
  110.         $this->email_content $email_content;
  111.         return $this;
  112.     }
  113. }