<?php
namespace App\Entity\GeneralConfig;
use App\Entity\GeneralConfig;
use App\Repository\GeneralConfig\AttentionDayRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=AttentionDayRepository::class)
*/
class AttentionDay
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $dayName;
/**
* @ORM\Column(type="string", length=255)
*/
private $dayCode;
/**
* @ORM\Column(type="time", length=255)
*/
private $startHour;
/**
* @ORM\Column(type="time", length=255)
*/
private $endHour;
public function getId(): ?int
{
return $this->id;
}
public function getDayName(): ?string
{
return $this->dayName;
}
public function setDayName(string $dayName): self
{
$this->dayName = $dayName;
return $this;
}
public function getDayCode(): ?string
{
return $this->dayCode;
}
public function setDayCode(string $dayCode): self
{
$this->dayCode = $dayCode;
return $this;
}
public function getStartHour(): ?\DateTime
{
return $this->startHour;
}
public function setStartHour(\DateTime $startHour): self
{
$this->startHour = $startHour;
return $this;
}
public function getEndHour(): ?\DateTime
{
return $this->endHour;
}
public function setEndHour(\DateTime $endHour): self
{
$this->endHour = $endHour;
return $this;
}
}