src/Entity/GHVisitaDomiciliaria.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHVisitaDomiciliariaRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_visita_domiciliaria')]
  7. #[ORM\Entity(repositoryClassGHVisitaDomiciliariaRepository::class)]
  8. class GHVisitaDomiciliaria {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  14.     private ?string $motivoRechazo null;
  15.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  16.     private ?string $informeVisita null;
  17.     #[ORM\Column(nullabletrue)]
  18.     private ?bool $aprobado null;
  19.     #[ORM\ManyToOne(inversedBy'visitaDomiciliaria')]
  20.     private ?GHCandidato $candidato null;
  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'visitaDomiciliaria')]
  30.     private ?ParResultadoVisita $resultado null;
  31.     #[ORM\ManyToOne(inversedBy'visitaDomiciliaria')]
  32.     private ?ParEstado $estado null;
  33.     public function getCreateAt(): ?\DateTime {
  34.         return $this->createAt;
  35.     }
  36.     public function setCreateAt(\DateTime $createAt): static {
  37.         $this->createAt $createAt;
  38.         return $this;
  39.     }
  40.     public function getUpdateAt(): ?\DateTime {
  41.         return $this->updateAt;
  42.     }
  43.     public function setUpdateAt(\DateTime $updateAt): static {
  44.         $this->updateAt $updateAt;
  45.         return $this;
  46.     }
  47.     public function getCreateUser(): ?string {
  48.         return $this->createUser;
  49.     }
  50.     public function setCreateUser(string $createUser): static {
  51.         $this->createUser $createUser;
  52.         return $this;
  53.     }
  54.     public function getUpdateUser(): ?string {
  55.         return $this->updateUser;
  56.     }
  57.     public function setUpdateUser(string $updateUser): static {
  58.         $this->updateUser $updateUser;
  59.         return $this;
  60.     }
  61.     public function getId(): ?int {
  62.         return $this->id;
  63.     }
  64.     public function getMotivoRechazo(): ?string {
  65.         return $this->motivoRechazo;
  66.     }
  67.     public function getInformeVisita(): ?string {
  68.         return $this->informeVisita;
  69.     }
  70.     public function setMotivoRechazo(?string $motivoRechazo): void {
  71.         $this->motivoRechazo $motivoRechazo;
  72.     }
  73.     public function setInformeVisita(?string $informeVisita): void {
  74.         $this->informeVisita $informeVisita;
  75.     }
  76.     public function isAprobado(): ?bool {
  77.         return $this->aprobado;
  78.     }
  79.     public function setAprobado(bool $aprobado): static {
  80.         $this->aprobado $aprobado;
  81.         return $this;
  82.     }
  83.     public function getCandidato(): ?GHCandidato {
  84.         return $this->candidato;
  85.     }
  86.     public function setCandidato(?GHCandidato $candidato): static {
  87.         $this->candidato $candidato;
  88.         return $this;
  89.     }
  90.     public function getResultado(): ?ParResultadoVisita
  91.     {
  92.         return $this->resultado;
  93.     }
  94.     public function setResultado(?ParResultadoVisita $resultado): static
  95.     {
  96.         $this->resultado $resultado;
  97.         return $this;
  98.     }
  99.     public function getEstado(): ?ParEstado
  100.     {
  101.         return $this->estado;
  102.     }
  103.     public function setEstado(?ParEstado $estado): static
  104.     {
  105.         $this->estado $estado;
  106.         return $this;
  107.     }
  108. }