src/Entity/GHVisitaPeriodica.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHVisitaPeriodicaRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_visita_periodica')]
  7. #[ORM\Entity(repositoryClassGHVisitaPeriodicaRepository::class)]
  8. class GHVisitaPeriodica
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne(inversedBy'visitaPeriodica')]
  15.     private ?ParEstado $estado null;
  16.     #[ORM\Column(length255nullabletrue)]
  17.     private ?string $soporte null;
  18.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  19.     private ?\DateTimeInterface $createAt null;
  20.     #[ORM\Column(length50)]
  21.     private ?string $createUser null;
  22.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  23.     private ?\DateTimeInterface $updateAt null;
  24.     #[ORM\Column(length50)]
  25.     private ?string $updateUser null;
  26.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  27.     private ?string $observacion null;
  28.     #[ORM\ManyToOne(inversedBy'visitaPeriodica')]
  29.     private ?GHContratacion $contratacion null;
  30.     #[ORM\ManyToOne(inversedBy'visitaPeriodica')]
  31.     private ?TerPersona $personaAutoriza null;
  32.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  33.     private ?\DateTimeInterface $fecha null;
  34.     #[ORM\ManyToOne(inversedBy'visitaPeriodicaPersona')]
  35.     private ?TerPersona $persona null;
  36.     #[ORM\ManyToOne(inversedBy'visitaPeridicaJefe')]
  37.     private ?ParEstado $estadoJefe null;
  38.     #[ORM\ManyToOne(inversedBy'visitaPeriodicaNotificacion')]
  39.     private ?TerPersona $colaboradorNotificacion null;
  40.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  41.     private ?string $comentarioRevision null;
  42.     #[ORM\Column(nullabletrue)]
  43.     private ?array $evidenciasSoporte null;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getEstado(): ?ParEstado
  49.     {
  50.         return $this->estado;
  51.     }
  52.     public function setEstado(?ParEstado $estado): static
  53.     {
  54.         $this->estado $estado;
  55.         return $this;
  56.     }
  57.     public function getSoporte(): ?string
  58.     {
  59.         return $this->soporte;
  60.     }
  61.     public function setSoporte(?string $soporte): static
  62.     {
  63.         $this->soporte $soporte;
  64.         return $this;
  65.     }
  66.     public function getCreateAt(): ?\DateTimeInterface
  67.     {
  68.         return $this->createAt;
  69.     }
  70.     public function setCreateAt(\DateTimeInterface $createAt): static
  71.     {
  72.         $this->createAt $createAt;
  73.         return $this;
  74.     }
  75.     public function getCreateUser(): ?string
  76.     {
  77.         return $this->createUser;
  78.     }
  79.     public function setCreateUser(string $createUser): static
  80.     {
  81.         $this->createUser $createUser;
  82.         return $this;
  83.     }
  84.     public function getUpdateAt(): ?\DateTimeInterface
  85.     {
  86.         return $this->updateAt;
  87.     }
  88.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  89.     {
  90.         $this->updateAt $updateAt;
  91.         return $this;
  92.     }
  93.     public function getUpdateUser(): ?string
  94.     {
  95.         return $this->updateUser;
  96.     }
  97.     public function setUpdateUser(string $updateUser): static
  98.     {
  99.         $this->updateUser $updateUser;
  100.         return $this;
  101.     }
  102.     public function getObservacion(): ?string
  103.     {
  104.         return $this->observacion;
  105.     }
  106.     public function setObservacion(?string $observacion): static
  107.     {
  108.         $this->observacion $observacion;
  109.         return $this;
  110.     }
  111.     public function getContratacion(): ?GHContratacion
  112.     {
  113.         return $this->contratacion;
  114.     }
  115.     public function setContratacion(?GHContratacion $contratacion): static
  116.     {
  117.         $this->contratacion $contratacion;
  118.         return $this;
  119.     }
  120.     public function getPersonaAutoriza(): ?TerPersona
  121.     {
  122.         return $this->personaAutoriza;
  123.     }
  124.     public function setPersonaAutoriza(?TerPersona $personaAutoriza): static
  125.     {
  126.         $this->personaAutoriza $personaAutoriza;
  127.         return $this;
  128.     }
  129.     public function getFecha(): ?\DateTimeInterface
  130.     {
  131.         return $this->fecha;
  132.     }
  133.     public function setFecha(?\DateTimeInterface $fecha): static
  134.     {
  135.         $this->fecha $fecha;
  136.         return $this;
  137.     }
  138.     public function getPersona(): ?TerPersona
  139.     {
  140.         return $this->persona;
  141.     }
  142.     public function setPersona(?TerPersona $persona): static
  143.     {
  144.         $this->persona $persona;
  145.         return $this;
  146.     }
  147.     public function getEstadoJefe(): ?ParEstado
  148.     {
  149.         return $this->estadoJefe;
  150.     }
  151.     public function setEstadoJefe(?ParEstado $estadoJefe): static
  152.     {
  153.         $this->estadoJefe $estadoJefe;
  154.         return $this;
  155.     }
  156.     public function getColaboradorNotificacion(): ?TerPersona
  157.     {
  158.         return $this->colaboradorNotificacion;
  159.     }
  160.     public function setColaboradorNotificacion(?TerPersona $colaboradorNotificacion): static
  161.     {
  162.         $this->colaboradorNotificacion $colaboradorNotificacion;
  163.         return $this;
  164.     }
  165.     public function getComentarioRevision(): ?string
  166.     {
  167.         return $this->comentarioRevision;
  168.     }
  169.     public function setComentarioRevision(?string $comentarioRevision): static
  170.     {
  171.         $this->comentarioRevision $comentarioRevision;
  172.         return $this;
  173.     }
  174.     public function getEvidenciasSoporte(): ?array
  175.     {
  176.         return $this->evidenciasSoporte;
  177.     }
  178.     public function setEvidenciasSoporte(?array $evidenciasSoporte): static
  179.     {
  180.         $this->evidenciasSoporte $evidenciasSoporte;
  181.         return $this;
  182.     }
  183. }