src/Entity/RookieDaySchoolDateMapping.php line 5

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. class RookieDaySchoolDateMapping {
  4.     /**
  5.      * @var int
  6.      */
  7.     private $id;
  8.     /**
  9.      * @var \DateTime
  10.      */
  11.     private $createdAt;
  12.     /**
  13.      * @var \App\Entity\RookieDaySchool
  14.      */
  15.     private $school;
  16.     /**
  17.      * @var \App\Entity\RookieDayDate
  18.      */
  19.     private $eventDate;
  20.     /**
  21.      * Get id.
  22.      *
  23.      * @return int
  24.      */
  25.     public function getId() {
  26.         return $this->id;
  27.     }
  28.     public function getSchool(): \App\Entity\RookieDaySchool {
  29.         return $this->school;
  30.     }
  31.     public function getEventDate(): \App\Entity\RookieDayDate {
  32.         return $this->eventDate;
  33.     }
  34.     public function setSchool(\App\Entity\RookieDaySchool $school): void {
  35.         $this->school $school;
  36.     }
  37.     public function setEventDate(\App\Entity\RookieDayDate $eventDate): void {
  38.         $this->eventDate $eventDate;
  39.     }
  40.     /**
  41.      * Set createdAt.
  42.      *
  43.      * @param \DateTime $createdAt
  44.      *
  45.      * @return RookieDayBooking
  46.      */
  47.     public function setCreatedAt($createdAt) {
  48.         $this->createdAt $createdAt;
  49.         return $this;
  50.     }
  51.     /**
  52.      * Get createdAt.
  53.      *
  54.      * @return \DateTime
  55.      */
  56.     public function getCreatedAt() {
  57.         return $this->createdAt;
  58.     }
  59. }