src/Entity/GHAfiliacionContratacion.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHAfiliacionContratacionRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_afiliacion_contratacion')]
  7. #[ORM\Entity(repositoryClassGHAfiliacionContratacionRepository::class)]
  8. class GHAfiliacionContratacion
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne(inversedBy'tipoAfiliacion')]
  15.     private ?ParTipoAfiliacion $tipoAfiliacion null;
  16.     #[ORM\ManyToOne(inversedBy'afiliacionContratacion')]
  17.     private ?GHCandidato $candidato null;
  18.     #[ORM\ManyToOne(inversedBy'afiliacion')]
  19.     private ?GHContratacion $contratacion null;
  20.     
  21.     #[ORM\Column]
  22.     private ?\DateTime $createAt null;
  23.     #[ORM\Column]
  24.     private ?\DateTime $updateAt null;
  25.     #[ORM\Column(length55)]
  26.     private ?string $createUser null;
  27.     #[ORM\Column(length55)]
  28.     private ?string $updateUser null;
  29.     #[ORM\ManyToOne(inversedBy'afiliacionContratacion')]
  30.     private ?ParEstado $estado null;
  31.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  32.     private ?\DateTimeInterface $fechaIngreso null;
  33.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  34.     private ?\DateTimeInterface $fechaAfiliacion null;
  35.     #[ORM\Column(length255)]
  36.     private ?string $soporte null;
  37.     public function getCreateAt(): ?\DateTime {
  38.         return $this->createAt;
  39.     }
  40.     public function setCreateAt(\DateTime $createAt): static {
  41.         $this->createAt $createAt;
  42.         return $this;
  43.     }
  44.     public function getUpdateAt(): ?\DateTime {
  45.         return $this->updateAt;
  46.     }
  47.     public function setUpdateAt(\DateTime $updateAt): static {
  48.         $this->updateAt $updateAt;
  49.         return $this;
  50.     }
  51.     public function getCreateUser(): ?string {
  52.         return $this->createUser;
  53.     }
  54.     public function setCreateUser(string $createUser): static {
  55.         $this->createUser $createUser;
  56.         return $this;
  57.     }
  58.     public function getUpdateUser(): ?string {
  59.         return $this->updateUser;
  60.     }
  61.     public function setUpdateUser(string $updateUser): static {
  62.         $this->updateUser $updateUser;
  63.         return $this;
  64.     }
  65.     
  66.     public function getId(): ?int
  67.     {
  68.         return $this->id;
  69.     }
  70.     public function getTipoAfiliacion(): ?ParTipoAfiliacion
  71.     {
  72.         return $this->tipoAfiliacion;
  73.     }
  74.     public function setTipoAfiliacion(?ParTipoAfiliacion $tipoAfiliacion): static
  75.     {
  76.         $this->tipoAfiliacion $tipoAfiliacion;
  77.         return $this;
  78.     }
  79.     public function getCandidato(): ?GHCandidato
  80.     {
  81.         return $this->candidato;
  82.     }
  83.     public function setCandidato(?GHCandidato $candidato): static
  84.     {
  85.         $this->candidato $candidato;
  86.         return $this;
  87.     }
  88.     public function getContratacion(): ?GHContratacion
  89.     {
  90.         return $this->contratacion;
  91.     }
  92.     public function setContratacion(?GHContratacion $contratacion): static
  93.     {
  94.         $this->contratacion $contratacion;
  95.         return $this;
  96.     }
  97.     public function getEstado(): ?ParEstado
  98.     {
  99.         return $this->estado;
  100.     }
  101.     public function setEstado(?ParEstado $estado): static
  102.     {
  103.         $this->estado $estado;
  104.         return $this;
  105.     }
  106.     public function getFechaIngreso(): ?\DateTimeInterface
  107.     {
  108.         return $this->fechaIngreso;
  109.     }
  110.     public function setFechaIngreso(\DateTimeInterface $fechaIngreso): static
  111.     {
  112.         $this->fechaIngreso $fechaIngreso;
  113.         return $this;
  114.     }
  115.     public function getFechaAfiliacion(): ?\DateTimeInterface
  116.     {
  117.         return $this->fechaAfiliacion;
  118.     }
  119.     public function setFechaAfiliacion(\DateTimeInterface $fechaAfiliacion): static
  120.     {
  121.         $this->fechaAfiliacion $fechaAfiliacion;
  122.         return $this;
  123.     }
  124.     public function getSoporte(): ?string
  125.     {
  126.         return $this->soporte;
  127.     }
  128.     public function setSoporte(string $soporte): static
  129.     {
  130.         $this->soporte $soporte;
  131.         return $this;
  132.     }
  133. }