src/Entity/GHEntrenamientoProceso.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHEntrenamientoProcesoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_entrenamiento_proceso')]
  7. #[ORM\Entity(repositoryClassGHEntrenamientoProcesoRepository::class)]
  8. class GHEntrenamientoProceso
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne(inversedBy'entrenamientoProcesos')]
  15.     private ?GHEntrenamiento $entrenamiento null;
  16.     #[ORM\ManyToOne(inversedBy'entrenamientoProcesos')]
  17.     private ?ParEstado $estado null;
  18.     #[ORM\ManyToOne(inversedBy'entrenamientoProcesos')]
  19.     private ?ParProceso $proceso null;
  20.     #[ORM\ManyToOne(inversedBy'entrenamientoProcesos')]
  21.     private ?TerPersona $responsable null;
  22.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  23.     private ?\DateTimeInterface $fechaEntrenamiento null;
  24.     #[ORM\Column(length100)]
  25.     private ?string $horario null;
  26.     #[ORM\Column(length50)]
  27.     private ?string $ubicacion null;
  28.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  29.     private ?string $observacion null;
  30.     #[ORM\Column(length50)]
  31.     private ?string $createUser null;
  32.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  33.     private ?\DateTimeInterface $createAt null;
  34.     #[ORM\Column(length50)]
  35.     private ?string $updateUser null;
  36.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  37.     private ?\DateTimeInterface $updateAt null;
  38.     #[ORM\Column(nullabletrue)]
  39.     private ?int $calificacion null;
  40.     #[ORM\Column(length255nullabletrue)]
  41.     private ?string $nivelCalificacion null;
  42.     public function getId(): ?int
  43.     {
  44.         return $this->id;
  45.     }
  46.     public function getEntrenamiento(): ?GHEntrenamiento
  47.     {
  48.         return $this->entrenamiento;
  49.     }
  50.     public function setEntrenamiento(?GHEntrenamiento $entrenamiento): static
  51.     {
  52.         $this->entrenamiento $entrenamiento;
  53.         return $this;
  54.     }
  55.     public function getEstado(): ?ParEstado
  56.     {
  57.         return $this->estado;
  58.     }
  59.     public function setEstado(?ParEstado $estado): static
  60.     {
  61.         $this->estado $estado;
  62.         return $this;
  63.     }
  64.     public function getProceso(): ?ParProceso
  65.     {
  66.         return $this->proceso;
  67.     }
  68.     public function setProceso(?ParProceso $proceso): static
  69.     {
  70.         $this->proceso $proceso;
  71.         return $this;
  72.     }
  73.     public function getResponsable(): ?TerPersona
  74.     {
  75.         return $this->responsable;
  76.     }
  77.     public function setResponsable(?TerPersona $responsable): static
  78.     {
  79.         $this->responsable $responsable;
  80.         return $this;
  81.     }
  82.     public function getFechaEntrenamiento(): ?\DateTimeInterface
  83.     {
  84.         return $this->fechaEntrenamiento;
  85.     }
  86.     public function setFechaEntrenamiento(\DateTimeInterface $fechaEntrenamiento): static
  87.     {
  88.         $this->fechaEntrenamiento $fechaEntrenamiento;
  89.         return $this;
  90.     }
  91.     public function getHorario(): ?string
  92.     {
  93.         return $this->horario;
  94.     }
  95.     public function setHorario(string $horario): static
  96.     {
  97.         $this->horario $horario;
  98.         return $this;
  99.     }
  100.     public function getUbicacion(): ?string
  101.     {
  102.         return $this->ubicacion;
  103.     }
  104.     public function setUbicacion(string $ubicacion): static
  105.     {
  106.         $this->ubicacion $ubicacion;
  107.         return $this;
  108.     }
  109.     public function getObservacion(): ?string
  110.     {
  111.         return $this->observacion;
  112.     }
  113.     public function setObservacion(?string $observacion): static
  114.     {
  115.         $this->observacion $observacion;
  116.         return $this;
  117.     }
  118.     public function getCreateUser(): ?string
  119.     {
  120.         return $this->createUser;
  121.     }
  122.     public function setCreateUser(string $createUser): static
  123.     {
  124.         $this->createUser $createUser;
  125.         return $this;
  126.     }
  127.     public function getCreateAt(): ?\DateTimeInterface
  128.     {
  129.         return $this->createAt;
  130.     }
  131.     public function setCreateAt(\DateTimeInterface $createAt): static
  132.     {
  133.         $this->createAt $createAt;
  134.         return $this;
  135.     }
  136.     public function getUpdateUser(): ?string
  137.     {
  138.         return $this->updateUser;
  139.     }
  140.     public function setUpdateUser(string $updateUser): static
  141.     {
  142.         $this->updateUser $updateUser;
  143.         return $this;
  144.     }
  145.     public function getUpdateAt(): ?\DateTimeInterface
  146.     {
  147.         return $this->updateAt;
  148.     }
  149.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  150.     {
  151.         $this->updateAt $updateAt;
  152.         return $this;
  153.     }
  154.     public function getCalificacion(): ?int
  155.     {
  156.         return $this->calificacion;
  157.     }
  158.     public function setCalificacion(?int $calificacion): static
  159.     {
  160.         $this->calificacion $calificacion;
  161.         return $this;
  162.     }
  163.     public function getNivelCalificacion(): ?string
  164.     {
  165.         return $this->nivelCalificacion;
  166.     }
  167.     public function setNivelCalificacion(?string $nivelCalificacion): static
  168.     {
  169.         $this->nivelCalificacion $nivelCalificacion;
  170.         return $this;
  171.     }
  172. }