src/Entity/GHRegistroOpain.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\GHRegistroOpainRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'gh_registro_opain')]
  7. #[ORM\Entity(repositoryClassGHRegistroOpainRepository::class)]
  8. class GHRegistroOpain
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  15.     private ?\DateTimeInterface $fechaAprobacion null;
  16.     #[ORM\Column(typeTypes::DATE_MUTABLE)]
  17.     private ?\DateTimeInterface $fechaVencimiento null;
  18.     #[ORM\Column(length255)]
  19.     private ?string $numeroCarnet null;
  20.     #[ORM\Column(length255)]
  21.     private ?string $evidenciaCarnet null;
  22.     #[ORM\ManyToOne(inversedBy'registroOpains')]
  23.     private ?ParEstado $estado null;
  24.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  25.     private ?\DateTimeInterface $fechaRenovacion null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $numeroCarnetNuevo null;
  28.     #[ORM\Column(length255nullabletrue)]
  29.     private ?string $evidenciaRenovacion null;
  30.     #[ORM\Column(length255nullabletrue)]
  31.     private ?string $devolucionCarnet null;
  32.     #[ORM\ManyToOne(inversedBy'renovacionRegistroOpains')]
  33.     private ?ParEstado $estadoRenovacion null;
  34.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  35.     private ?\DateTimeInterface $createAt null;
  36.     #[ORM\Column(length50)]
  37.     private ?string $createUser null;
  38.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  39.     private ?\DateTimeInterface $updateAt null;
  40.     #[ORM\Column(length50)]
  41.     private ?string $updateUser null;
  42.     #[ORM\ManyToOne(inversedBy'registrosOpain')]
  43.     private ?TerPersona $persona null;
  44.     #[ORM\ManyToOne(inversedBy'registrosOpain')]
  45.     private ?ParProceso $proceso null;
  46.     public function getId(): ?int
  47.     {
  48.         return $this->id;
  49.     }
  50.     public function getFechaAprobacion(): ?\DateTimeInterface
  51.     {
  52.         return $this->fechaAprobacion;
  53.     }
  54.     public function setFechaAprobacion(\DateTimeInterface $fechaAprobacion): static
  55.     {
  56.         $this->fechaAprobacion $fechaAprobacion;
  57.         return $this;
  58.     }
  59.     public function getFechaVencimiento(): ?\DateTimeInterface
  60.     {
  61.         return $this->fechaVencimiento;
  62.     }
  63.     public function setFechaVencimiento(\DateTimeInterface $fechaVencimiento): static
  64.     {
  65.         $this->fechaVencimiento $fechaVencimiento;
  66.         return $this;
  67.     }
  68.     public function getNumeroCarnet(): ?string
  69.     {
  70.         return $this->numeroCarnet;
  71.     }
  72.     public function setNumeroCarnet(string $numeroCarnet): static
  73.     {
  74.         $this->numeroCarnet $numeroCarnet;
  75.         return $this;
  76.     }
  77.     public function getEvidenciaCarnet(): ?string
  78.     {
  79.         return $this->evidenciaCarnet;
  80.     }
  81.     public function setEvidenciaCarnet(string $evidenciaCarnet): static
  82.     {
  83.         $this->evidenciaCarnet $evidenciaCarnet;
  84.         return $this;
  85.     }
  86.     public function getEstado(): ?ParEstado
  87.     {
  88.         return $this->estado;
  89.     }
  90.     public function setEstado(?ParEstado $estado): static
  91.     {
  92.         $this->estado $estado;
  93.         return $this;
  94.     }
  95.     public function getFechaRenovacion(): ?\DateTimeInterface
  96.     {
  97.         return $this->fechaRenovacion;
  98.     }
  99.     public function setFechaRenovacion(?\DateTimeInterface $fechaRenovacion): static
  100.     {
  101.         $this->fechaRenovacion $fechaRenovacion;
  102.         return $this;
  103.     }
  104.     public function getNumeroCarnetNuevo(): ?string
  105.     {
  106.         return $this->numeroCarnetNuevo;
  107.     }
  108.     public function setNumeroCarnetNuevo(?string $numeroCarnetNuevo): static
  109.     {
  110.         $this->numeroCarnetNuevo $numeroCarnetNuevo;
  111.         return $this;
  112.     }
  113.     public function getEvidenciaRenovacion(): ?string
  114.     {
  115.         return $this->evidenciaRenovacion;
  116.     }
  117.     public function setEvidenciaRenovacion(?string $evidenciaRenovacion): static
  118.     {
  119.         $this->evidenciaRenovacion $evidenciaRenovacion;
  120.         return $this;
  121.     }
  122.     public function getDevolucionCarnet(): ?string
  123.     {
  124.         return $this->devolucionCarnet;
  125.     }
  126.     public function setDevolucionCarnet(?string $devolucionCarnet): static
  127.     {
  128.         $this->devolucionCarnet $devolucionCarnet;
  129.         return $this;
  130.     }
  131.     public function getEstadoRenovacion(): ?ParEstado
  132.     {
  133.         return $this->estadoRenovacion;
  134.     }
  135.     public function setEstadoRenovacion(?ParEstado $estadoRenovacion): static
  136.     {
  137.         $this->estadoRenovacion $estadoRenovacion;
  138.         return $this;
  139.     }
  140.     public function getCreateAt(): ?\DateTimeInterface
  141.     {
  142.         return $this->createAt;
  143.     }
  144.     public function setCreateAt(\DateTimeInterface $createAt): static
  145.     {
  146.         $this->createAt $createAt;
  147.         return $this;
  148.     }
  149.     public function getCreateUser(): ?string
  150.     {
  151.         return $this->createUser;
  152.     }
  153.     public function setCreateUser(string $createUser): static
  154.     {
  155.         $this->createUser $createUser;
  156.         return $this;
  157.     }
  158.     public function getUpdateAt(): ?\DateTimeInterface
  159.     {
  160.         return $this->updateAt;
  161.     }
  162.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  163.     {
  164.         $this->updateAt $updateAt;
  165.         return $this;
  166.     }
  167.     public function getUpdateUser(): ?string
  168.     {
  169.         return $this->updateUser;
  170.     }
  171.     public function setUpdateUser(string $updateUser): static
  172.     {
  173.         $this->updateUser $updateUser;
  174.         return $this;
  175.     }
  176.     public function getPersona(): ?TerPersona
  177.     {
  178.         return $this->persona;
  179.     }
  180.     public function setPersona(?TerPersona $persona): static
  181.     {
  182.         $this->persona $persona;
  183.         return $this;
  184.     }
  185.     public function getProceso(): ?ParProceso
  186.     {
  187.         return $this->proceso;
  188.     }
  189.     public function setProceso(?ParProceso $proceso): static
  190.     {
  191.         $this->proceso $proceso;
  192.         return $this;
  193.     }
  194. }