src/Entity/TerContactoPersona.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\TerContactoPersonaRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassTerContactoPersonaRepository::class)]
  7. class TerContactoPersona
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\ManyToOne(inversedBy'contactoPersona')]
  14.     private ?TerPersona $persona null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $nombres null;
  17.     #[ORM\ManyToOne(inversedBy'contactoPersona')]
  18.     private ?ParGenero $genero null;
  19.     #[ORM\ManyToOne(inversedBy'contactoPersona')]
  20.     private ?ParParentesco $parentesco null;
  21.     #[ORM\Column(nullable:truelength255)]
  22.     private ?string $ocupacion null;
  23.     #[ORM\ManyToOne(inversedBy'contactoPersona')]
  24.     private ?ParNivelEducativo $nivelEducativo null;
  25.     #[ORM\Column(nullable:truelength50)]
  26.     private ?string $numeroDocumento null;
  27.     #[ORM\Column(nullable:truetypeTypes::DATE_MUTABLE)]
  28.     private ?\DateTimeInterface $fechaNacimiento null;
  29.     #[ORM\Column(nullabletrue)]
  30.     private ?bool $subsidioFamiliar null;
  31.     #[ORM\Column(nullabletrue)]
  32.     private ?bool $conviveActualmente null;
  33.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  34.     private ?\DateTimeInterface $createAt null;
  35.     #[ORM\Column(length255)]
  36.     private ?string $createUser null;
  37.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  38.     private ?\DateTimeInterface $updateAt null;
  39.     #[ORM\Column(length255)]
  40.     private ?string $updateUser null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $celular null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $telefono null;
  45.     #[ORM\Column(length255nullabletrue)]
  46.     private ?string $direccionResidencial null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $llamarEnCasoEmergencia null;
  49.     public function getId(): ?int
  50.     {
  51.         return $this->id;
  52.     }
  53.     public function getPersona(): ?TerPersona
  54.     {
  55.         return $this->persona;
  56.     }
  57.     public function setPersona(?TerPersona $persona): static
  58.     {
  59.         $this->persona $persona;
  60.         return $this;
  61.     }
  62.     public function getNombres(): ?string
  63.     {
  64.         return $this->nombres;
  65.     }
  66.     public function setNombres(string $nombres): static
  67.     {
  68.         $this->nombres $nombres;
  69.         return $this;
  70.     }
  71.     public function getGenero(): ?ParGenero
  72.     {
  73.         return $this->genero;
  74.     }
  75.     public function setGenero(?ParGenero $genero): static
  76.     {
  77.         $this->genero $genero;
  78.         return $this;
  79.     }
  80.     public function getParentesco(): ?ParParentesco
  81.     {
  82.         return $this->parentesco;
  83.     }
  84.     public function setParentesco(?ParParentesco $parentesco): static
  85.     {
  86.         $this->parentesco $parentesco;
  87.         return $this;
  88.     }
  89.     public function getOcupacion(): ?string
  90.     {
  91.         return $this->ocupacion;
  92.     }
  93.     public function setOcupacion(string $ocupacion): static
  94.     {
  95.         $this->ocupacion $ocupacion;
  96.         return $this;
  97.     }
  98.     public function getNivelEducativo(): ?ParNivelEducativo
  99.     {
  100.         return $this->nivelEducativo;
  101.     }
  102.     public function setNivelEducativo(?ParNivelEducativo $nivelEducativo): static
  103.     {
  104.         $this->nivelEducativo $nivelEducativo;
  105.         return $this;
  106.     }
  107.     public function getNumeroDocumento(): ?string
  108.     {
  109.         return $this->numeroDocumento;
  110.     }
  111.     public function setNumeroDocumento(string $numeroDocumento): static
  112.     {
  113.         $this->numeroDocumento $numeroDocumento;
  114.         return $this;
  115.     }
  116.     public function getFechaNacimiento(): ?\DateTimeInterface
  117.     {
  118.         return $this->fechaNacimiento;
  119.     }
  120.     public function setFechaNacimiento(\DateTimeInterface $fechaNacimiento): static
  121.     {
  122.         $this->fechaNacimiento $fechaNacimiento;
  123.         return $this;
  124.     }
  125.     public function isSubsidioFamiliar(): ?bool
  126.     {
  127.         return $this->subsidioFamiliar;
  128.     }
  129.     public function setSubsidioFamiliar(?bool $subsidioFamiliar): static
  130.     {
  131.         $this->subsidioFamiliar $subsidioFamiliar;
  132.         return $this;
  133.     }
  134.     public function isConviveActualmente(): ?bool
  135.     {
  136.         return $this->conviveActualmente;
  137.     }
  138.     public function setConviveActualmente(?bool $conviveActualmente): static
  139.     {
  140.         $this->conviveActualmente $conviveActualmente;
  141.         return $this;
  142.     }
  143.     public function getCreateAt(): ?\DateTimeInterface
  144.     {
  145.         return $this->createAt;
  146.     }
  147.     public function setCreateAt(\DateTimeInterface $createAt): static
  148.     {
  149.         $this->createAt $createAt;
  150.         return $this;
  151.     }
  152.     public function getCreateUser(): ?string
  153.     {
  154.         return $this->createUser;
  155.     }
  156.     public function setCreateUser(string $createUser): static
  157.     {
  158.         $this->createUser $createUser;
  159.         return $this;
  160.     }
  161.     public function getUpdateAt(): ?\DateTimeInterface
  162.     {
  163.         return $this->updateAt;
  164.     }
  165.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  166.     {
  167.         $this->updateAt $updateAt;
  168.         return $this;
  169.     }
  170.     public function getUpdateUser(): ?string
  171.     {
  172.         return $this->updateUser;
  173.     }
  174.     public function setUpdateUser(string $updateUser): static
  175.     {
  176.         $this->updateUser $updateUser;
  177.         return $this;
  178.     }
  179.     public function getCelular(): ?string
  180.     {
  181.         return $this->celular;
  182.     }
  183.     public function setCelular(?string $celular): static
  184.     {
  185.         $this->celular $celular;
  186.         return $this;
  187.     }
  188.     public function getTelefono(): ?string
  189.     {
  190.         return $this->telefono;
  191.     }
  192.     public function setTelefono(?string $telefono): static
  193.     {
  194.         $this->telefono $telefono;
  195.         return $this;
  196.     }
  197.     public function getDireccionResidencial(): ?string
  198.     {
  199.         return $this->direccionResidencial;
  200.     }
  201.     public function setDireccionResidencial(?string $direccionResidencial): static
  202.     {
  203.         $this->direccionResidencial $direccionResidencial;
  204.         return $this;
  205.     }
  206.     public function getLlamarEnCasoEmergencia(): ?string
  207.     {
  208.         return $this->llamarEnCasoEmergencia;
  209.     }
  210.     public function setLlamarEnCasoEmergencia(?string $llamarEnCasoEmergencia): static
  211.     {
  212.         $this->llamarEnCasoEmergencia $llamarEnCasoEmergencia;
  213.         return $this;
  214.     }
  215. }