src/MDS/GreenPatioBundle/Entity/ReservationLoungePicture.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\MDS\GreenPatioBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. /**
  6.  * ReservationLoungePicture
  7.  *
  8.  * @ORM\Table(name="reservation_lounge_picture")
  9.  * @ORM\Entity(repositoryClass="App\MDS\GreenPatioBundle\Repository\ReservationLoungePictureRepository")
  10.  */
  11. class ReservationLoungePicture
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var int
  23.      *
  24.      * @ORM\Column(name="loungeId", type="integer")
  25.      */
  26.     private $loungeId;
  27.     /**
  28.      * @var int
  29.      *
  30.      * @ORM\Column(name="createdId", type="integer")
  31.      */
  32.     private $createdId;
  33.     /**
  34.      * @var \DateTime
  35.      *
  36.      * @ORM\Column(name="createdAt", type="datetime")
  37.      */
  38.     private $createdAt;
  39.     /**
  40.      * @var int
  41.      *
  42.      * @ORM\Column(name="updatedId", type="integer")
  43.      */
  44.     private $updatedId;
  45.     /**
  46.      * @var \DateTime
  47.      *
  48.      * @ORM\Column(name="updatedAt", type="datetime")
  49.      */
  50.     private $updatedAt;
  51.     /**
  52.      * @var string
  53.      *
  54.      * @ORM\Column(name="title", type="string", length=255, nullable=true)
  55.      */
  56.     private $title;
  57.     /**
  58.      * @var string
  59.      *
  60.      * @ORM\Column(name="image_large", type="string", length=255)
  61.      * @Assert\NotBlank()
  62.      */
  63.     private $imageLarge;
  64.     /**
  65.      * @var string
  66.      *
  67.      * @ORM\Column(name="image_medium", type="string", length=255)
  68.      */
  69.     private $imageMedium;
  70.     /**
  71.      * @var string
  72.      *
  73.      * @ORM\Column(name="image_small", type="string", length=255)
  74.      */
  75.     private $imageSmall;
  76.     /**
  77.      * Get id
  78.      *
  79.      * @return int
  80.      */
  81.     public function getId()
  82.     {
  83.         return $this->id;
  84.     }
  85.     /**
  86.      * Set loungeId
  87.      *
  88.      * @param integer $loungeId
  89.      *
  90.      * @return ReservationLoungePicture
  91.      */
  92.     public function setLoungeId($loungeId)
  93.     {
  94.         $this->loungeId $loungeId;
  95.         return $this;
  96.     }
  97.     /**
  98.      * Get loungeId
  99.      *
  100.      * @return int
  101.      */
  102.     public function getLoungeId()
  103.     {
  104.         return $this->loungeId;
  105.     }
  106.     /**
  107.      * Set createdId
  108.      *
  109.      * @param integer $createdId
  110.      *
  111.      * @return ReservationLoungePicture
  112.      */
  113.     public function setCreatedId($createdId)
  114.     {
  115.         $this->createdId $createdId;
  116.         return $this;
  117.     }
  118.     /**
  119.      * Get createdId
  120.      *
  121.      * @return int
  122.      */
  123.     public function getCreatedId()
  124.     {
  125.         return $this->createdId;
  126.     }
  127.     /**
  128.      * Set createdAt
  129.      *
  130.      * @param \DateTime $createdAt
  131.      *
  132.      * @return ReservationLoungePicture
  133.      */
  134.     public function setCreatedAt($createdAt)
  135.     {
  136.         $this->createdAt $createdAt;
  137.         return $this;
  138.     }
  139.     /**
  140.      * Get createdAt
  141.      *
  142.      * @return \DateTime
  143.      */
  144.     public function getCreatedAt()
  145.     {
  146.         return $this->createdAt;
  147.     }
  148.     /**
  149.      * Set updatedId
  150.      *
  151.      * @param integer $updatedId
  152.      *
  153.      * @return ReservationLoungePicture
  154.      */
  155.     public function setUpdatedId($updatedId)
  156.     {
  157.         $this->updatedId $updatedId;
  158.         return $this;
  159.     }
  160.     /**
  161.      * Get updatedId
  162.      *
  163.      * @return int
  164.      */
  165.     public function getUpdatedId()
  166.     {
  167.         return $this->updatedId;
  168.     }
  169.     /**
  170.      * Set updatedAt
  171.      *
  172.      * @param \DateTime $updatedAt
  173.      *
  174.      * @return ReservationLoungePicture
  175.      */
  176.     public function setUpdatedAt($updatedAt)
  177.     {
  178.         $this->updatedAt $updatedAt;
  179.         return $this;
  180.     }
  181.     /**
  182.      * Get updatedAt
  183.      *
  184.      * @return \DateTime
  185.      */
  186.     public function getUpdatedAt()
  187.     {
  188.         return $this->updatedAt;
  189.     }
  190.     /**
  191.      * Set title
  192.      *
  193.      * @param string $title
  194.      *
  195.      * @return ReservationLoungePicture
  196.      */
  197.     public function setTitle($title)
  198.     {
  199.         $this->title $title;
  200.         return $this;
  201.     }
  202.     /**
  203.      * Get title
  204.      *
  205.      * @return string
  206.      */
  207.     public function getTitle()
  208.     {
  209.         return $this->title;
  210.     }
  211.     /**
  212.      * Set imageLarge
  213.      *
  214.      * @param string $imageLarge
  215.      *
  216.      * @return ReservationLoungePicture
  217.      */
  218.     public function setImageLarge($imageLarge)
  219.     {
  220.         $this->imageLarge $imageLarge;
  221.         return $this;
  222.     }
  223.     /**
  224.      * Get imageLarge
  225.      *
  226.      * @return string
  227.      */
  228.     public function getImageLarge()
  229.     {
  230.         return $this->imageLarge;
  231.     }
  232.     /**
  233.      * Set imageMedium
  234.      *
  235.      * @param string $imageMedium
  236.      *
  237.      * @return ReservationLoungePicture
  238.      */
  239.     public function setImageMedium($imageMedium)
  240.     {
  241.         $this->imageMedium $imageMedium;
  242.         return $this;
  243.     }
  244.     /**
  245.      * Get imageMedium
  246.      *
  247.      * @return string
  248.      */
  249.     public function getImageMedium()
  250.     {
  251.         return $this->imageMedium;
  252.     }
  253.     /**
  254.      * Set imageSmall
  255.      *
  256.      * @param string $imageSmall
  257.      *
  258.      * @return ReservationLoungePicture
  259.      */
  260.     public function setImageSmall($imageSmall)
  261.     {
  262.         $this->imageSmall $imageSmall;
  263.         return $this;
  264.     }
  265.     /**
  266.      * Get imageSmall
  267.      *
  268.      * @return string
  269.      */
  270.     public function getImageSmall()
  271.     {
  272.         return $this->imageSmall;
  273.     }
  274. }