src/Entity/GHGestionTurno.php line 9

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHGestionTurnoRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. #[ORM\Entity(repositoryClassGHGestionTurnoRepository::class)]
  6. class GHGestionTurno
  7. {
  8.     #[ORM\Id]
  9.     #[ORM\GeneratedValue]
  10.     #[ORM\Column]
  11.     private ?int $id null;
  12.     #[ORM\Column(nullabletrue)]
  13.     private ?bool $lunes null;
  14.     #[ORM\Column(nullabletrue)]
  15.     private ?bool $martes null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?bool $miercoles null;
  18.     #[ORM\Column(nullabletrue)]
  19.     private ?bool $jueves null;
  20.     #[ORM\Column(nullabletrue)]
  21.     private ?bool $viernes null;
  22.     #[ORM\Column(nullabletrue)]
  23.     private ?bool $sabado null;
  24.     #[ORM\ManyToOne(inversedBy'gestionTurno')]
  25.     private ?GHGrupoTrabajo $grupoTrabajo null;
  26.     #[ORM\ManyToOne(inversedBy'gestionTurno')]
  27.     private ?TerPersona $colaborador null;
  28.     public function getId(): ?int
  29.     {
  30.         return $this->id;
  31.     }
  32.     public function isLunes(): ?bool
  33.     {
  34.         return $this->lunes;
  35.     }
  36.     public function setLunes(?bool $lunes): static
  37.     {
  38.         $this->lunes $lunes;
  39.         return $this;
  40.     }
  41.     public function isMartes(): ?bool
  42.     {
  43.         return $this->martes;
  44.     }
  45.     public function setMartes(?bool $martes): static
  46.     {
  47.         $this->martes $martes;
  48.         return $this;
  49.     }
  50.     public function isMiercoles(): ?bool
  51.     {
  52.         return $this->miercoles;
  53.     }
  54.     public function setMiercoles(?bool $miercoles): static
  55.     {
  56.         $this->miercoles $miercoles;
  57.         return $this;
  58.     }
  59.     public function isJueves(): ?bool
  60.     {
  61.         return $this->jueves;
  62.     }
  63.     public function setJueves(?bool $jueves): static
  64.     {
  65.         $this->jueves $jueves;
  66.         return $this;
  67.     }
  68.     public function isViernes(): ?bool
  69.     {
  70.         return $this->viernes;
  71.     }
  72.     public function setViernes(?bool $viernes): static
  73.     {
  74.         $this->viernes $viernes;
  75.         return $this;
  76.     }
  77.     public function isSabado(): ?bool
  78.     {
  79.         return $this->sabado;
  80.     }
  81.     public function setSabado(?bool $sabado): static
  82.     {
  83.         $this->sabado $sabado;
  84.         return $this;
  85.     }
  86.     public function getGrupoTrabajo(): ?GHGrupoTrabajo
  87.     {
  88.         return $this->grupoTrabajo;
  89.     }
  90.     public function setGrupoTrabajo(?GHGrupoTrabajo $grupoTrabajo): static
  91.     {
  92.         $this->grupoTrabajo $grupoTrabajo;
  93.         return $this;
  94.     }
  95.     public function getColaborador(): ?TerPersona
  96.     {
  97.         return $this->colaborador;
  98.     }
  99.     public function setColaborador(?TerPersona $colaborador): static
  100.     {
  101.         $this->colaborador $colaborador;
  102.         return $this;
  103.     }
  104. }