src/Entity/GHCarnetizacion.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHCarnetizacionRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Table(name'gh_carnetizacion')]
  9. #[ORM\Entity(repositoryClassGHCarnetizacionRepository::class)]
  10. class GHCarnetizacion {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  16.     private ?\DateTimeInterface $fechaSolicitud null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $foto null;
  19.     #[ORM\ManyToOne(inversedBy'carnetizacion')]
  20.     private ?ParEstado $estado null;
  21.     #[ORM\ManyToOne(inversedBy'carnetizacion')]
  22.     private ?GHCandidato $candidato null;
  23.     #[ORM\ManyToOne(inversedBy'carnetizacion')]
  24.     private ?GHContratacion $contratacion null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $certificadoProcuraduria null;
  27.         #[ORM\Column]
  28.     private ?\DateTime $createAt null;
  29.     #[ORM\Column]
  30.     private ?\DateTime $updateAt null;
  31.     #[ORM\Column(length55)]
  32.     private ?string $createUser null;
  33.     #[ORM\Column(length55)]
  34.     private ?string $updateUser null;
  35.     public function getCreateAt(): ?\DateTime {
  36.         return $this->createAt;
  37.     }
  38.     public function setCreateAt(\DateTime $createAt): static {
  39.         $this->createAt $createAt;
  40.         return $this;
  41.     }
  42.     public function getUpdateAt(): ?\DateTime {
  43.         return $this->updateAt;
  44.     }
  45.     public function setUpdateAt(\DateTime $updateAt): static {
  46.         $this->updateAt $updateAt;
  47.         return $this;
  48.     }
  49.     public function getCreateUser(): ?string {
  50.         return $this->createUser;
  51.     }
  52.     public function setCreateUser(string $createUser): static {
  53.         $this->createUser $createUser;
  54.         return $this;
  55.     }
  56.     public function getUpdateUser(): ?string {
  57.         return $this->updateUser;
  58.     }
  59.     public function setUpdateUser(string $updateUser): static {
  60.         $this->updateUser $updateUser;
  61.         return $this;
  62.     }
  63.     
  64.     public function __construct()
  65.     {
  66.         $this->idDocumentoCarnetizacion = new ArrayCollection();
  67.     }
  68.     public function getId(): ?int {
  69.         return $this->id;
  70.     }
  71.     public function getFechaSolicitud(): ?\DateTimeInterface {
  72.         return $this->fechaSolicitud;
  73.     }
  74.     public function getFoto(): ?string {
  75.         return $this->foto;
  76.     }
  77.     public function setFechaSolicitud(?\DateTimeInterface $fechaSolicitud): void {
  78.         $this->fechaSolicitud $fechaSolicitud;
  79.     }
  80.     public function setFoto(?string $foto): void {
  81.         $this->foto $foto;
  82.     }
  83.     public function getEstado(): ?ParEstado
  84.     {
  85.         return $this->estado;
  86.     }
  87.     public function setEstado(?ParEstado $estado): static
  88.     {
  89.         $this->estado $estado;
  90.         return $this;
  91.     }
  92.     public function getCandidato(): ?GHCandidato
  93.     {
  94.         return $this->candidato;
  95.     }
  96.     public function setCandidato(?GHCandidato $candidato): static
  97.     {
  98.         $this->candidato $candidato;
  99.         return $this;
  100.     }
  101.     public function getContratacion(): ?GHContratacion
  102.     {
  103.         return $this->contratacion;
  104.     }
  105.     public function setContratacion(?GHContratacion $contratacion): static
  106.     {
  107.         $this->contratacion $contratacion;
  108.         return $this;
  109.     }
  110.     public function getCertificadoProcuraduria(): ?string
  111.     {
  112.         return $this->certificadoProcuraduria;
  113.     }
  114.     public function setCertificadoProcuraduria(string $certificadoProcuraduria): static
  115.     {
  116.         $this->certificadoProcuraduria $certificadoProcuraduria;
  117.         return $this;
  118.     }
  119. }