src/Entity/RFSolicitudDocumento.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RFSolicitudDocumentoRepository;
  4. use Doctrine\Common\Collections\ArrayCollection;
  5. use Doctrine\Common\Collections\Collection;
  6. use Doctrine\DBAL\Types\Types;
  7. use Doctrine\ORM\Mapping as ORM;
  8. #[ORM\Table(name'rf_solicitud_documento')]
  9. #[ORM\Entity(repositoryClassRFSolicitudDocumentoRepository::class)]
  10. class RFSolicitudDocumento
  11. {
  12.     #[ORM\Id]
  13.     #[ORM\GeneratedValue]
  14.     #[ORM\Column]
  15.     private ?int $id null;
  16.     #[ORM\Column(length255)]
  17.     private ?string $DF null;
  18.     #[ORM\ManyToOne(inversedBy'solicitudDocumento')]
  19.     private ?RFFUID $FUID null;
  20.     #[ORM\Column]
  21.     private ?int $idEntidad null;
  22.     #[ORM\ManyToOne(inversedBy'solicitudDocumentos')]
  23.     private ?ParTipoSolicitud $tipoSolicitud null;
  24.     #[ORM\Column(nullabletrue)]
  25.     private ?bool $validaUbicacion null;
  26.     #[ORM\Column(nullabletrue)]
  27.     private ?bool $requiereEntrega null;
  28.     #[ORM\Column(nullabletrue)]
  29.     private ?bool $confirmaDisposicion null;
  30.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  31.     private ?\DateTimeInterface $fechaNotificacion null;
  32.     #[ORM\ManyToOne(inversedBy'generaSolicitudDocumento')]
  33.     private ?TerPersona $usuarioSolicita null;
  34.     #[ORM\ManyToOne(inversedBy'atiendeSolicitudDocumento')]
  35.     private ?TerPersona $usuarioAtiende null;
  36.     #[ORM\ManyToOne(inversedBy'solicitudDocumento')]
  37.     private ?ParEstado $estado null;
  38.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  39.     private ?\DateTimeInterface $createAt null;
  40.     #[ORM\Column(length50)]
  41.     private ?string $createUser null;
  42.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  43.     private ?\DateTimeInterface $updateAt null;
  44.     #[ORM\Column(length50)]
  45.     private ?string $updateUser null;
  46.     #[ORM\ManyToOne(inversedBy'recibeSolicitudDocumento')]
  47.     private ?TerPersona $usuarioRecibe null;
  48.     #[ORM\Column(length255nullabletrue)]
  49.     private ?string $firmaRecibido null;
  50.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  51.     private ?\DateTimeInterface $fechaRecibido null;
  52.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  53.     private ?\DateTimeInterface $fechaVencimiento null;
  54.     #[ORM\Column(nullabletrue)]
  55.     private ?bool $cambiosDocumento null;
  56.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  57.     private ?string $descripcionCambio null;
  58.     #[ORM\OneToMany(mappedBy'solicitudDocumento'targetEntityRFProrrogaSolicitudDocumento::class)]
  59.     private Collection $prorrogaSolicitudDocumento;
  60.     #[ORM\OneToMany(mappedBy'solicitudDocumento'targetEntityRFCambioCustodiaDocumento::class)]
  61.     private Collection $cambioCustodiaDocumento;
  62.     #[ORM\ManyToOne(inversedBy'entregaSolicitudDocumento')]
  63.     private ?TerPersona $usuarioEntrega null;
  64.     #[ORM\ManyToOne(inversedBy'confirmaEntregaSolicitudDocumento')]
  65.     private ?TerPersona $usuarioConfirmaDevolucion null;
  66.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  67.     private ?string $observacionDevolucion null;
  68.     #[ORM\Column(nullabletrue)]
  69.     private ?bool $novedadRegistrada null;
  70.     #[ORM\Column(nullabletrue)]
  71.     private ?int $foliosEntrega null;
  72.     #[ORM\ManyToOne(inversedBy'devolucionaSolicitudDocumento')]
  73.     private ?TerPersona $usuarioDevoluciona null;
  74.     public function __construct()
  75.     {
  76.         $this->entregaDocumento = new ArrayCollection();
  77.         $this->prorrogaSolicitudDocumento = new ArrayCollection();
  78.         $this->cambioCustodiaDocumento = new ArrayCollection();
  79.     }
  80.     public function getId(): ?int
  81.     {
  82.         return $this->id;
  83.     }
  84.     public function getDF(): ?string
  85.     {
  86.         return $this->DF;
  87.     }
  88.     public function setDF(string $DF): static
  89.     {
  90.         $this->DF $DF;
  91.         return $this;
  92.     }
  93.     public function getFUID(): ?RFFUID
  94.     {
  95.         return $this->FUID;
  96.     }
  97.     public function setFUID(?RFFUID $FUID): static
  98.     {
  99.         $this->FUID $FUID;
  100.         return $this;
  101.     }
  102.     public function getIdEntidad(): ?int
  103.     {
  104.         return $this->idEntidad;
  105.     }
  106.     public function setIdEntidad(int $idEntidad): static
  107.     {
  108.         $this->idEntidad $idEntidad;
  109.         return $this;
  110.     }
  111.     public function getTipoSolicitud(): ?ParTipoSolicitud
  112.     {
  113.         return $this->tipoSolicitud;
  114.     }
  115.     public function setTipoSolicitud(?ParTipoSolicitud $tipoSolicitud): static
  116.     {
  117.         $this->tipoSolicitud $tipoSolicitud;
  118.         return $this;
  119.     }
  120.     public function isValidaUbicacion(): ?bool
  121.     {
  122.         return $this->validaUbicacion;
  123.     }
  124.     public function setValidaUbicacion(?bool $validaUbicacion): static
  125.     {
  126.         $this->validaUbicacion $validaUbicacion;
  127.         return $this;
  128.     }
  129.     public function isRequiereEntrega(): ?bool
  130.     {
  131.         return $this->requiereEntrega;
  132.     }
  133.     public function setRequiereEntrega(?bool $requiereEntrega): static
  134.     {
  135.         $this->requiereEntrega $requiereEntrega;
  136.         return $this;
  137.     }
  138.     public function isConfirmaDisposicion(): ?bool
  139.     {
  140.         return $this->confirmaDisposicion;
  141.     }
  142.     public function setConfirmaDisposicion(?bool $confirmaDisposicion): static
  143.     {
  144.         $this->confirmaDisposicion $confirmaDisposicion;
  145.         return $this;
  146.     }
  147.     public function getFechaNotificacion(): ?\DateTimeInterface
  148.     {
  149.         return $this->fechaNotificacion;
  150.     }
  151.     public function setFechaNotificacion(?\DateTimeInterface $fechaNotificacion): static
  152.     {
  153.         $this->fechaNotificacion $fechaNotificacion;
  154.         return $this;
  155.     }
  156.     public function getUsuarioSolicita(): ?TerPersona
  157.     {
  158.         return $this->usuarioSolicita;
  159.     }
  160.     public function setUsuarioSolicita(?TerPersona $usuarioSolicita): static
  161.     {
  162.         $this->usuarioSolicita $usuarioSolicita;
  163.         return $this;
  164.     }
  165.     public function getUsuarioAtiende(): ?TerPersona
  166.     {
  167.         return $this->usuarioAtiende;
  168.     }
  169.     public function setUsuarioAtiende(?TerPersona $usuarioAtiende): static
  170.     {
  171.         $this->usuarioAtiende $usuarioAtiende;
  172.         return $this;
  173.     }
  174.     public function getEstado(): ?ParEstado
  175.     {
  176.         return $this->estado;
  177.     }
  178.     public function setEstado(?ParEstado $estado): static
  179.     {
  180.         $this->estado $estado;
  181.         return $this;
  182.     }
  183.     public function getCreateAt(): ?\DateTimeInterface
  184.     {
  185.         return $this->createAt;
  186.     }
  187.     public function setCreateAt(\DateTimeInterface $createAt): static
  188.     {
  189.         $this->createAt $createAt;
  190.         return $this;
  191.     }
  192.     public function getCreateUser(): ?string
  193.     {
  194.         return $this->createUser;
  195.     }
  196.     public function setCreateUser(string $createUser): static
  197.     {
  198.         $this->createUser $createUser;
  199.         return $this;
  200.     }
  201.     public function getUpdateAt(): ?\DateTimeInterface
  202.     {
  203.         return $this->updateAt;
  204.     }
  205.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  206.     {
  207.         $this->updateAt $updateAt;
  208.         return $this;
  209.     }
  210.     public function getUpdateUser(): ?string
  211.     {
  212.         return $this->updateUser;
  213.     }
  214.     public function setUpdateUser(string $updateUser): static
  215.     {
  216.         $this->updateUser $updateUser;
  217.         return $this;
  218.     }
  219.     public function getUsuarioRecibe(): ?TerPersona
  220.     {
  221.         return $this->usuarioRecibe;
  222.     }
  223.     public function setUsuarioRecibe(?TerPersona $usuarioRecibe): static
  224.     {
  225.         $this->usuarioRecibe $usuarioRecibe;
  226.         return $this;
  227.     }
  228.     public function getFirmaRecibido(): ?string
  229.     {
  230.         return $this->firmaRecibido;
  231.     }
  232.     public function setFirmaRecibido(?string $firmaRecibido): static
  233.     {
  234.         $this->firmaRecibido $firmaRecibido;
  235.         return $this;
  236.     }
  237.     public function getFechaRecibido(): ?\DateTimeInterface
  238.     {
  239.         return $this->fechaRecibido;
  240.     }
  241.     public function setFechaRecibido(?\DateTimeInterface $fechaRecibido): static
  242.     {
  243.         $this->fechaRecibido $fechaRecibido;
  244.         return $this;
  245.     }
  246.     public function getFechaVencimiento(): ?\DateTimeInterface
  247.     {
  248.         return $this->fechaVencimiento;
  249.     }
  250.     public function setFechaVencimiento(?\DateTimeInterface $fechaVencimiento): static
  251.     {
  252.         $this->fechaVencimiento $fechaVencimiento;
  253.         return $this;
  254.     }
  255.     public function isCambiosDocumento(): ?bool
  256.     {
  257.         return $this->cambiosDocumento;
  258.     }
  259.     public function setCambiosDocumento(?bool $cambiosDocumento): static
  260.     {
  261.         $this->cambiosDocumento $cambiosDocumento;
  262.         return $this;
  263.     }
  264.     public function getDescripcionCambio(): ?string
  265.     {
  266.         return $this->descripcionCambio;
  267.     }
  268.     public function setDescripcionCambio(?string $descripcionCambio): static
  269.     {
  270.         $this->descripcionCambio $descripcionCambio;
  271.         return $this;
  272.     }
  273.     /**
  274.      * @return Collection<int, RFProrrogaSolicitudDocumento>
  275.      */
  276.     public function getProrrogaSolicitudDocumento(): Collection
  277.     {
  278.         return $this->prorrogaSolicitudDocumento;
  279.     }
  280.     public function addProrrogaSolicitudDocumento(RFProrrogaSolicitudDocumento $prorrogaSolicitudDocumento): static
  281.     {
  282.         if (!$this->prorrogaSolicitudDocumento->contains($prorrogaSolicitudDocumento)) {
  283.             $this->prorrogaSolicitudDocumento->add($prorrogaSolicitudDocumento);
  284.             $prorrogaSolicitudDocumento->setSolicitudDocumento($this);
  285.         }
  286.         return $this;
  287.     }
  288.     public function removeProrrogaSolicitudDocumento(RFProrrogaSolicitudDocumento $prorrogaSolicitudDocumento): static
  289.     {
  290.         if ($this->prorrogaSolicitudDocumento->removeElement($prorrogaSolicitudDocumento)) {
  291.             // set the owning side to null (unless already changed)
  292.             if ($prorrogaSolicitudDocumento->getSolicitudDocumento() === $this) {
  293.                 $prorrogaSolicitudDocumento->setSolicitudDocumento(null);
  294.             }
  295.         }
  296.         return $this;
  297.     }
  298.     /**
  299.      * @return Collection<int, RFCambioCustodiaDocumento>
  300.      */
  301.     public function getCambioCustodiaDocumento(): Collection
  302.     {
  303.         return $this->cambioCustodiaDocumento;
  304.     }
  305.     public function addCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
  306.     {
  307.         if (!$this->cambioCustodiaDocumento->contains($cambioCustodiaDocumento)) {
  308.             $this->cambioCustodiaDocumento->add($cambioCustodiaDocumento);
  309.             $cambioCustodiaDocumento->setSolicitudDocumento($this);
  310.         }
  311.         return $this;
  312.     }
  313.     public function removeCambioCustodiaDocumento(RFCambioCustodiaDocumento $cambioCustodiaDocumento): static
  314.     {
  315.         if ($this->cambioCustodiaDocumento->removeElement($cambioCustodiaDocumento)) {
  316.             // set the owning side to null (unless already changed)
  317.             if ($cambioCustodiaDocumento->getSolicitudDocumento() === $this) {
  318.                 $cambioCustodiaDocumento->setSolicitudDocumento(null);
  319.             }
  320.         }
  321.         return $this;
  322.     }
  323.     public function getUsuarioEntrega(): ?TerPersona
  324.     {
  325.         return $this->usuarioEntrega;
  326.     }
  327.     public function setUsuarioEntrega(?TerPersona $usuarioEntrega): static
  328.     {
  329.         $this->usuarioEntrega $usuarioEntrega;
  330.         return $this;
  331.     }
  332.     public function getUsuarioConfirmaDevolucion(): ?TerPersona
  333.     {
  334.         return $this->usuarioConfirmaDevolucion;
  335.     }
  336.     public function setUsuarioConfirmaDevolucion(?TerPersona $usuarioConfirmaDevolucion): static
  337.     {
  338.         $this->usuarioConfirmaDevolucion $usuarioConfirmaDevolucion;
  339.         return $this;
  340.     }
  341.     public function getObservacionDevolucion(): ?string
  342.     {
  343.         return $this->observacionDevolucion;
  344.     }
  345.     public function setObservacionDevolucion(?string $observacionDevolucion): static
  346.     {
  347.         $this->observacionDevolucion $observacionDevolucion;
  348.         return $this;
  349.     }
  350.     public function isNovedadRegistrada(): ?bool
  351.     {
  352.         return $this->novedadRegistrada;
  353.     }
  354.     public function setNovedadRegistrada(?bool $novedadRegistrada): static
  355.     {
  356.         $this->novedadRegistrada $novedadRegistrada;
  357.         return $this;
  358.     }
  359.     public function getFoliosEntrega(): ?int
  360.     {
  361.         return $this->foliosEntrega;
  362.     }
  363.     public function setFoliosEntrega(?int $foliosEntrega): static
  364.     {
  365.         $this->foliosEntrega $foliosEntrega;
  366.         return $this;
  367.     }
  368.     public function getUsuarioDevoluciona(): ?TerPersona
  369.     {
  370.         return $this->usuarioDevoluciona;
  371.     }
  372.     public function setUsuarioDevoluciona(?TerPersona $usuarioDevoluciona): static
  373.     {
  374.         $this->usuarioDevoluciona $usuarioDevoluciona;
  375.         return $this;
  376.     }
  377.   
  378. }