src/Entity/GeneralConfig/AttentionDay.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity\GeneralConfig;
  3. use App\Entity\GeneralConfig;
  4. use App\Repository\GeneralConfig\AttentionDayRepository;
  5. use Doctrine\ORM\Mapping as ORM;
  6. /**
  7.  * @ORM\Entity(repositoryClass=AttentionDayRepository::class)
  8.  */
  9. class AttentionDay
  10. {
  11.     /**
  12.      * @ORM\Id
  13.      * @ORM\GeneratedValue
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255)
  19.      */
  20.     private $dayName;
  21.     /**
  22.      * @ORM\Column(type="string", length=255)
  23.      */
  24.     private $dayCode;
  25.     /**
  26.      * @ORM\Column(type="time", length=255)
  27.      */
  28.     private $startHour;
  29.     /**
  30.      * @ORM\Column(type="time", length=255)
  31.      */
  32.     private $endHour;
  33.     public function getId(): ?int
  34.     {
  35.         return $this->id;
  36.     }
  37.     public function getDayName(): ?string
  38.     {
  39.         return $this->dayName;
  40.     }
  41.     public function setDayName(string $dayName): self
  42.     {
  43.         $this->dayName $dayName;
  44.         return $this;
  45.     }
  46.     public function getDayCode(): ?string
  47.     {
  48.         return $this->dayCode;
  49.     }
  50.     public function setDayCode(string $dayCode): self
  51.     {
  52.         $this->dayCode $dayCode;
  53.         return $this;
  54.     }
  55.     public function getStartHour(): ?\DateTime
  56.     {
  57.         return $this->startHour;
  58.     }
  59.     public function setStartHour(\DateTime $startHour): self
  60.     {
  61.         $this->startHour $startHour;
  62.         return $this;
  63.     }
  64.     public function getEndHour(): ?\DateTime
  65.     {
  66.         return $this->endHour;
  67.     }
  68.     public function setEndHour(\DateTime $endHour): self
  69.     {
  70.         $this->endHour $endHour;
  71.         return $this;
  72.     }
  73. }