<?php
namespace App\Entity;
use App\Repository\TerPersonaHistorialRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TerPersonaHistorialRepository::class)]
class TerPersonaHistorial
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $fechaDiligenciamiento = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $grupoSanguineoRH = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $estrato = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $fotogratia = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $universidad = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $queHaceTiempoLibre = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cualExequial = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cualDeporte = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cualEnfermedad = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $cualesActiviSalud = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $promedioDiario = null;
#[ORM\Column(nullable: true)]
private ?int $edad = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $direccion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $barrio = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $localidad = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $celular = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $sede = 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: 'historialesPerso')]
private ?TerPersona $persona = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $fechaNacimiento = null;
public function getId(): ?int
{
return $this->id;
}
public function getFechaDiligenciamiento(): ?\DateTimeInterface
{
return $this->fechaDiligenciamiento;
}
public function setFechaDiligenciamiento(?\DateTimeInterface $fechaDiligenciamiento): static
{
$this->fechaDiligenciamiento = $fechaDiligenciamiento;
return $this;
}
public function getGrupoSanguineoRH(): ?string
{
return $this->grupoSanguineoRH;
}
public function setGrupoSanguineoRH(?string $grupoSanguineoRH): static
{
$this->grupoSanguineoRH = $grupoSanguineoRH;
return $this;
}
public function getEstrato(): ?string
{
return $this->estrato;
}
public function setEstrato(?string $estrato): static
{
$this->estrato = $estrato;
return $this;
}
public function getFotogratia(): ?string
{
return $this->fotogratia;
}
public function setFotogratia(?string $fotogratia): static
{
$this->fotogratia = $fotogratia;
return $this;
}
public function getUniversidad(): ?string
{
return $this->universidad;
}
public function setUniversidad(?string $universidad): static
{
$this->universidad = $universidad;
return $this;
}
public function getQueHaceTiempoLibre(): ?string
{
return $this->queHaceTiempoLibre;
}
public function setQueHaceTiempoLibre(?string $queHaceTiempoLibre): static
{
$this->queHaceTiempoLibre = $queHaceTiempoLibre;
return $this;
}
public function getCualExequial(): ?string
{
return $this->cualExequial;
}
public function setCualExequial(?string $cualExequial): static
{
$this->cualExequial = $cualExequial;
return $this;
}
public function getCualDeporte(): ?string
{
return $this->cualDeporte;
}
public function setCualDeporte(?string $cualDeporte): static
{
$this->cualDeporte = $cualDeporte;
return $this;
}
public function getCualEnfermedad(): ?string
{
return $this->cualEnfermedad;
}
public function setCualEnfermedad(?string $cualEnfermedad): static
{
$this->cualEnfermedad = $cualEnfermedad;
return $this;
}
public function getCualesActiviSalud(): ?string
{
return $this->cualesActiviSalud;
}
public function setCualesActiviSalud(?string $cualesActiviSalud): static
{
$this->cualesActiviSalud = $cualesActiviSalud;
return $this;
}
public function getPromedioDiario(): ?string
{
return $this->promedioDiario;
}
public function setPromedioDiario(?string $promedioDiario): static
{
$this->promedioDiario = $promedioDiario;
return $this;
}
public function getEdad(): ?int
{
return $this->edad;
}
public function setEdad(?int $edad): static
{
$this->edad = $edad;
return $this;
}
public function getDireccion(): ?string
{
return $this->direccion;
}
public function setDireccion(?string $direccion): static
{
$this->direccion = $direccion;
return $this;
}
public function getBarrio(): ?string
{
return $this->barrio;
}
public function setBarrio(?string $barrio): static
{
$this->barrio = $barrio;
return $this;
}
public function getLocalidad(): ?string
{
return $this->localidad;
}
public function setLocalidad(?string $localidad): static
{
$this->localidad = $localidad;
return $this;
}
public function getCelular(): ?string
{
return $this->celular;
}
public function setCelular(?string $celular): static
{
$this->celular = $celular;
return $this;
}
public function getSede(): ?string
{
return $this->sede;
}
public function setSede(?string $sede): static
{
$this->sede = $sede;
return $this;
}
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 getPersona(): ?TerPersona
{
return $this->persona;
}
public function setPersona(?TerPersona $persona): static
{
$this->persona = $persona;
return $this;
}
public function getFechaNacimiento(): ?\DateTimeInterface
{
return $this->fechaNacimiento;
}
public function setFechaNacimiento(?\DateTimeInterface $fechaNacimiento): static
{
$this->fechaNacimiento = $fechaNacimiento;
return $this;
}
}