src/Entity/CRM/HourChangeReason.php line 9

  1. <?php
  2. namespace App\Entity\CRM;
  3. use App\Repository\HourChangeReasonRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassHourChangeReasonRepository::class)]
  6. class HourChangeReason
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(length255)]
  13.     private ?string $name null;
  14.     #[ORM\Column]
  15.     private ?bool $isActive null;
  16.     #[ORM\Column]
  17.     private ?bool $forStart null;
  18.     #[ORM\Column]
  19.     private ?bool $forEnd null;
  20.     #[ORM\Column]
  21.     private ?bool $admin null;
  22.     #[ORM\Column]
  23.     private ?bool $consultant null;
  24.     #[ORM\Column]
  25.     private ?bool $isVacation null;
  26.     #[ORM\Column]
  27.     private ?bool $isLate null;
  28.     public function __construct()
  29.     {
  30.         return $this->name;
  31.     }
  32.     public function __toString(): string
  33.     {
  34.         return $this->name;
  35.     }
  36.     public function getId(): ?int
  37.     {
  38.         return $this->id;
  39.     }
  40.     public function getName(): ?string
  41.     {
  42.         return $this->name;
  43.     }
  44.     public function setName(string $name): static
  45.     {
  46.         $this->name $name;
  47.         return $this;
  48.     }
  49.     public function isIsActive(): ?bool
  50.     {
  51.         return $this->isActive;
  52.     }
  53.     public function setIsActive(bool $isActive): static
  54.     {
  55.         $this->isActive $isActive;
  56.         return $this;
  57.     }
  58.     public function isForStart(): ?bool
  59.     {
  60.         return $this->forStart;
  61.     }
  62.     public function setForStart(bool $forStart): static
  63.     {
  64.         $this->forStart $forStart;
  65.         return $this;
  66.     }
  67.     public function isForEnd(): ?bool
  68.     {
  69.         return $this->forEnd;
  70.     }
  71.     public function setForEnd(bool $forEnd): static
  72.     {
  73.         $this->forEnd $forEnd;
  74.         return $this;
  75.     }
  76.     public function isAdmin(): ?bool
  77.     {
  78.         return $this->admin;
  79.     }
  80.     public function setAdmin(bool $admin): static
  81.     {
  82.         $this->admin $admin;
  83.         return $this;
  84.     }
  85.     public function isConsultant(): ?bool
  86.     {
  87.         return $this->consultant;
  88.     }
  89.     public function setConsultant(bool $consultant): static
  90.     {
  91.         $this->consultant $consultant;
  92.         return $this;
  93.     }
  94.     public function isVacation(): ?bool
  95.     {
  96.         return $this->isVacation;
  97.     }
  98.     public function setIsVacation(bool $isVacation): static
  99.     {
  100.         $this->isVacation $isVacation;
  101.         return $this;
  102.     }
  103.     public function isLate(): ?bool
  104.     {
  105.         return $this->isLate;
  106.     }
  107.     public function setIsLate(?bool $isLate): void
  108.     {
  109.         $this->isLate $isLate;
  110.     }
  111. }