src/Entity/RookieTimeSlotState.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * RookieTimeSlotState
  5.  */
  6. class RookieTimeSlotState
  7. {
  8.     /**
  9.      * @var int
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $name;
  16.     /**
  17.      * Get id.
  18.      *
  19.      * @return int
  20.      */
  21.     public function getId()
  22.     {
  23.         return $this->id;
  24.     }
  25.     /**
  26.      * Set name.
  27.      *
  28.      * @param string $name
  29.      *
  30.      * @return RookieTimeSlotState
  31.      */
  32.     public function setName($name)
  33.     {
  34.         $this->name $name;
  35.         return $this;
  36.     }
  37.     /**
  38.      * Get name.
  39.      *
  40.      * @return string
  41.      */
  42.     public function getName()
  43.     {
  44.         return $this->name;
  45.     }
  46. }