src/Entity/RFInventarioDocumentalGesHum.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RFInventarioDocumentalGesHumRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'rf_inventario_documental_ges_hum')]
  7. #[ORM\Entity(repositoryClassRFInventarioDocumentalGesHumRepository::class)]
  8. class RFInventarioDocumentalGesHum {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length100)]
  14.     private ?string $numeroDocumento null;
  15.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  16.     private ?TerPersona $persona null;
  17.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  18.     private ?TerSedeEmpresa $sede null;
  19.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  20.     private ?\DateTimeInterface $fechaIngreso null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullable:true)]
  22.     private ?\DateTimeInterface $fechaRetiro null;
  23.     #[ORM\Column]
  24.     private ?float $tomo null;
  25.     #[ORM\Column(typeTypes::JSONnullabletrue)]
  26.     private array $folio = [];
  27.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  28.     private ?RFFUID $FUID null;
  29.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  30.     private ?ParEstado $estado null;
  31.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  32.     private ?\DateTimeInterface $createAt null;
  33.     #[ORM\Column(length50)]
  34.     private ?string $createUser null;
  35.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  36.     private ?\DateTimeInterface $updateAt null;
  37.     #[ORM\Column(length50)]
  38.     private ?string $updateUser null;
  39.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  40.     private ?ParTipoUbicacion $tipoUbicacion null;
  41.     #[ORM\Column(length100nullabletrue)]
  42.     private ?string $numeroPosicion null;
  43.     #[ORM\Column(length255nullabletrue)]
  44.     private ?string $archivo null;
  45.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  46.     private ?DocDocumento $documento null;
  47.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHumDisponibilidad')]
  48.     private ?ParEstado $disponibilidad null;
  49.     #[ORM\ManyToOne(inversedBy'inventarioDocumentalGesHum')]
  50.     private ?TerEmpresa $empresa null;
  51.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  52.     private ?\DateTimeInterface $fechaVencimiento null;
  53.     public function getId(): ?int {
  54.         return $this->id;
  55.     }
  56.     public function getNumeroDocumento(): ?string {
  57.         return $this->numeroDocumento;
  58.     }
  59.     public function setNumeroDocumento(string $numeroDocumento): static {
  60.         $this->numeroDocumento $numeroDocumento;
  61.         return $this;
  62.     }
  63.     public function getPersona(): ?TerPersona {
  64.         return $this->persona;
  65.     }
  66.     public function setPersona(?TerPersona $persona): static {
  67.         $this->persona $persona;
  68.         return $this;
  69.     }
  70.     public function getSede(): ?TerSedeEmpresa {
  71.         return $this->sede;
  72.     }
  73.     public function setSede(?TerSedeEmpresa $sede): static {
  74.         $this->sede $sede;
  75.         return $this;
  76.     }
  77.     public function getFechaIngreso(): ?\DateTimeInterface {
  78.         return $this->fechaIngreso;
  79.     }
  80.     public function setFechaIngreso(\DateTimeInterface $fechaIngreso): static {
  81.         $this->fechaIngreso $fechaIngreso;
  82.         return $this;
  83.     }
  84.     public function getFechaRetiro(): ?\DateTimeInterface {
  85.         return $this->fechaRetiro;
  86.     }
  87.     public function setFechaRetiro(\DateTimeInterface $fechaRetiro): static {
  88.         $this->fechaRetiro $fechaRetiro;
  89.         return $this;
  90.     }
  91.     public function getTomo(): ?float {
  92.         return $this->tomo;
  93.     }
  94.     public function setTomo(float $tomo): static {
  95.         $this->tomo $tomo;
  96.         return $this;
  97.     }
  98.     public function getFolio(): array
  99.     {
  100.         return $this->folio ?? [];
  101.     }
  102.     public function setFolio(array $folio): static
  103.     {
  104.         $this->folio $folio;
  105.         return $this;
  106.     }
  107.     public function getFUID(): ?RFFUID {
  108.         return $this->FUID;
  109.     }
  110.     public function setFUID(?RFFUID $FUID): static {
  111.         $this->FUID $FUID;
  112.         return $this;
  113.     }
  114.     public function getEstado(): ?ParEstado {
  115.         return $this->estado;
  116.     }
  117.     public function setEstado(?ParEstado $estado): static {
  118.         $this->estado $estado;
  119.         return $this;
  120.     }
  121.     public function getCreateAt(): ?\DateTimeInterface {
  122.         return $this->createAt;
  123.     }
  124.     public function setCreateAt(\DateTimeInterface $createAt): static {
  125.         $this->createAt $createAt;
  126.         return $this;
  127.     }
  128.     public function getCreateUser(): ?string {
  129.         return $this->createUser;
  130.     }
  131.     public function setCreateUser(string $createUser): static {
  132.         $this->createUser $createUser;
  133.         return $this;
  134.     }
  135.     public function getUpdateAt(): ?\DateTimeInterface {
  136.         return $this->updateAt;
  137.     }
  138.     public function setUpdateAt(\DateTimeInterface $updateAt): static {
  139.         $this->updateAt $updateAt;
  140.         return $this;
  141.     }
  142.     public function getUpdateUser(): ?string {
  143.         return $this->updateUser;
  144.     }
  145.     public function setUpdateUser(string $updateUser): static {
  146.         $this->updateUser $updateUser;
  147.         return $this;
  148.     }
  149.     public function getTipoUbicacion(): ?ParTipoUbicacion {
  150.         return $this->tipoUbicacion;
  151.     }
  152.     public function setTipoUbicacion(?ParTipoUbicacion $tipoUbicacion): static {
  153.         $this->tipoUbicacion $tipoUbicacion;
  154.         return $this;
  155.     }
  156.     public function getNumeroPosicion(): ?string {
  157.         return $this->numeroPosicion;
  158.     }
  159.     public function setNumeroPosicion(?string $numeroPosicion): static {
  160.         $this->numeroPosicion $numeroPosicion;
  161.         return $this;
  162.     }
  163.     public function getArchivo(): ?string {
  164.         return $this->archivo;
  165.     }
  166.     public function setArchivo(?string $archivo): static {
  167.         $this->archivo $archivo;
  168.         return $this;
  169.     }
  170.     public function getDocumento(): ?DocDocumento {
  171.         return $this->documento;
  172.     }
  173.     public function setDocumento(?DocDocumento $documento): static {
  174.         $this->documento $documento;
  175.         return $this;
  176.     }
  177.     public function getDisponibilidad(): ?ParEstado {
  178.         return $this->disponibilidad;
  179.     }
  180.     public function setDisponibilidad(?ParEstado $disponibilidad): static {
  181.         $this->disponibilidad $disponibilidad;
  182.         return $this;
  183.     }
  184.     public function getEmpresa(): ?TerEmpresa {
  185.         return $this->empresa;
  186.     }
  187.     public function setEmpresa(?TerEmpresa $empresa): static {
  188.         $this->empresa $empresa;
  189.         return $this;
  190.     }
  191.     
  192.       public function getFechaVencimiento(): ?\DateTimeInterface
  193.     {
  194.         return $this->fechaVencimiento;
  195.     }
  196.     public function setFechaVencimiento(?\DateTimeInterface $fechaVencimiento): static
  197.     {
  198.         $this->fechaVencimiento $fechaVencimiento;
  199.         return $this;
  200.     }
  201. }