src/Entity/RFInventarioDocumentalSST.php line 11

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