<?phpnamespace App\Entity;use App\Repository\TerContactoPersonaRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: TerContactoPersonaRepository::class)]class TerContactoPersona{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'contactoPersona')] private ?TerPersona $persona = null; #[ORM\Column(length: 255)] private ?string $nombres = null; #[ORM\ManyToOne(inversedBy: 'contactoPersona')] private ?ParGenero $genero = null; #[ORM\ManyToOne(inversedBy: 'contactoPersona')] private ?ParParentesco $parentesco = null; #[ORM\Column(nullable:true, length: 255)] private ?string $ocupacion = null; #[ORM\ManyToOne(inversedBy: 'contactoPersona')] private ?ParNivelEducativo $nivelEducativo = null; #[ORM\Column(nullable:true, length: 50)] private ?string $numeroDocumento = null; #[ORM\Column(nullable:true, type: Types::DATE_MUTABLE)] private ?\DateTimeInterface $fechaNacimiento = null; #[ORM\Column(nullable: true)] private ?bool $subsidioFamiliar = null; #[ORM\Column(nullable: true)] private ?bool $conviveActualmente = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 255)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\Column(length: 255)] private ?string $updateUser = null; #[ORM\Column(length: 255, nullable: true)] private ?string $celular = null; #[ORM\Column(length: 255, nullable: true)] private ?string $telefono = null; #[ORM\Column(length: 255, nullable: true)] private ?string $direccionResidencial = null; #[ORM\Column(length: 255, nullable: true)] private ?string $llamarEnCasoEmergencia = null; public function getId(): ?int { return $this->id; } public function getPersona(): ?TerPersona { return $this->persona; } public function setPersona(?TerPersona $persona): static { $this->persona = $persona; return $this; } public function getNombres(): ?string { return $this->nombres; } public function setNombres(string $nombres): static { $this->nombres = $nombres; return $this; } public function getGenero(): ?ParGenero { return $this->genero; } public function setGenero(?ParGenero $genero): static { $this->genero = $genero; return $this; } public function getParentesco(): ?ParParentesco { return $this->parentesco; } public function setParentesco(?ParParentesco $parentesco): static { $this->parentesco = $parentesco; return $this; } public function getOcupacion(): ?string { return $this->ocupacion; } public function setOcupacion(string $ocupacion): static { $this->ocupacion = $ocupacion; return $this; } public function getNivelEducativo(): ?ParNivelEducativo { return $this->nivelEducativo; } public function setNivelEducativo(?ParNivelEducativo $nivelEducativo): static { $this->nivelEducativo = $nivelEducativo; return $this; } public function getNumeroDocumento(): ?string { return $this->numeroDocumento; } public function setNumeroDocumento(string $numeroDocumento): static { $this->numeroDocumento = $numeroDocumento; return $this; } public function getFechaNacimiento(): ?\DateTimeInterface { return $this->fechaNacimiento; } public function setFechaNacimiento(\DateTimeInterface $fechaNacimiento): static { $this->fechaNacimiento = $fechaNacimiento; return $this; } public function isSubsidioFamiliar(): ?bool { return $this->subsidioFamiliar; } public function setSubsidioFamiliar(?bool $subsidioFamiliar): static { $this->subsidioFamiliar = $subsidioFamiliar; return $this; } public function isConviveActualmente(): ?bool { return $this->conviveActualmente; } public function setConviveActualmente(?bool $conviveActualmente): static { $this->conviveActualmente = $conviveActualmente; return $this; } public function getCreateAt(): ?\DateTimeInterface { return $this->createAt; } public function setCreateAt(\DateTimeInterface $createAt): static { $this->createAt = $createAt; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getUpdateAt(): ?\DateTimeInterface { return $this->updateAt; } public function setUpdateAt(\DateTimeInterface $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } public function getCelular(): ?string { return $this->celular; } public function setCelular(?string $celular): static { $this->celular = $celular; return $this; } public function getTelefono(): ?string { return $this->telefono; } public function setTelefono(?string $telefono): static { $this->telefono = $telefono; return $this; } public function getDireccionResidencial(): ?string { return $this->direccionResidencial; } public function setDireccionResidencial(?string $direccionResidencial): static { $this->direccionResidencial = $direccionResidencial; return $this; } public function getLlamarEnCasoEmergencia(): ?string { return $this->llamarEnCasoEmergencia; } public function setLlamarEnCasoEmergencia(?string $llamarEnCasoEmergencia): static { $this->llamarEnCasoEmergencia = $llamarEnCasoEmergencia; return $this; }}