<?phpnamespace App\Entity;use App\Repository\GHAfiliacionContratacionRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Table(name: 'gh_afiliacion_contratacion')]#[ORM\Entity(repositoryClass: GHAfiliacionContratacionRepository::class)]class GHAfiliacionContratacion{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'tipoAfiliacion')] private ?ParTipoAfiliacion $tipoAfiliacion = null; #[ORM\ManyToOne(inversedBy: 'afiliacionContratacion')] private ?GHCandidato $candidato = null; #[ORM\ManyToOne(inversedBy: 'afiliacion')] private ?GHContratacion $contratacion = null; #[ORM\Column] private ?\DateTime $createAt = null; #[ORM\Column] private ?\DateTime $updateAt = null; #[ORM\Column(length: 55)] private ?string $createUser = null; #[ORM\Column(length: 55)] private ?string $updateUser = null; #[ORM\ManyToOne(inversedBy: 'afiliacionContratacion')] private ?ParEstado $estado = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $fechaIngreso = null; #[ORM\Column(type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $fechaAfiliacion = null; #[ORM\Column(length: 255)] private ?string $soporte = null; public function getCreateAt(): ?\DateTime { return $this->createAt; } public function setCreateAt(\DateTime $createAt): static { $this->createAt = $createAt; return $this; } public function getUpdateAt(): ?\DateTime { return $this->updateAt; } public function setUpdateAt(\DateTime $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } public function getId(): ?int { return $this->id; } public function getTipoAfiliacion(): ?ParTipoAfiliacion { return $this->tipoAfiliacion; } public function setTipoAfiliacion(?ParTipoAfiliacion $tipoAfiliacion): static { $this->tipoAfiliacion = $tipoAfiliacion; return $this; } public function getCandidato(): ?GHCandidato { return $this->candidato; } public function setCandidato(?GHCandidato $candidato): static { $this->candidato = $candidato; return $this; } public function getContratacion(): ?GHContratacion { return $this->contratacion; } public function setContratacion(?GHContratacion $contratacion): static { $this->contratacion = $contratacion; return $this; } public function getEstado(): ?ParEstado { return $this->estado; } public function setEstado(?ParEstado $estado): static { $this->estado = $estado; return $this; } public function getFechaIngreso(): ?\DateTimeInterface { return $this->fechaIngreso; } public function setFechaIngreso(\DateTimeInterface $fechaIngreso): static { $this->fechaIngreso = $fechaIngreso; return $this; } public function getFechaAfiliacion(): ?\DateTimeInterface { return $this->fechaAfiliacion; } public function setFechaAfiliacion(\DateTimeInterface $fechaAfiliacion): static { $this->fechaAfiliacion = $fechaAfiliacion; return $this; } public function getSoporte(): ?string { return $this->soporte; } public function setSoporte(string $soporte): static { $this->soporte = $soporte; return $this; }}