src/Entity/RFCambioCustodiaDocumento.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RFCambioCustodiaDocumentoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'rf_cambio_custodia')]
  7. #[ORM\Entity(repositoryClassRFCambioCustodiaDocumentoRepository::class)]
  8. class RFCambioCustodiaDocumento
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne(inversedBy'cambioCustodiaDocumento')]
  15.     #[ORM\JoinColumn(nullablefalse)]
  16.     private ?RFSolicitudDocumento $solicitudDocumento null;
  17.     #[ORM\ManyToOne(inversedBy'responsableCambioCustodia')]
  18.     private ?TerPersona $nuevoUsuarioResponsable null;
  19.     #[ORM\ManyToOne(inversedBy'cambioCustodiaDocumento')]
  20.     private ?ParProceso $proceso null;
  21.     #[ORM\ManyToOne(inversedBy'cambioCustodiaDocumento')]
  22.     private ?TerSedeEmpresa $sede null;
  23.     #[ORM\Column(typeTypes::TEXT)]
  24.     private ?string $motivoCambio null;
  25.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  26.     private ?\DateTimeInterface $createAt null;
  27.     #[ORM\Column(length50)]
  28.     private ?string $createUser null;
  29.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  30.     private ?\DateTimeInterface $updateAt null;
  31.     #[ORM\Column(length50)]
  32.     private ?string $updateUser null;
  33.     #[ORM\ManyToOne(inversedBy'solicitaCambioCustodiaDocumento')]
  34.     private ?TerPersona $usuarioSolicita null;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getSolicitudDocumento(): ?RFSolicitudDocumento
  40.     {
  41.         return $this->solicitudDocumento;
  42.     }
  43.     public function setSolicitudDocumento(?RFSolicitudDocumento $solicitudDocumento): static
  44.     {
  45.         $this->solicitudDocumento $solicitudDocumento;
  46.         return $this;
  47.     }
  48.     public function getNuevoUsuarioResponsable(): ?TerPersona
  49.     {
  50.         return $this->nuevoUsuarioResponsable;
  51.     }
  52.     public function setNuevoUsuarioResponsable(?TerPersona $nuevoUsuarioResponsable): static
  53.     {
  54.         $this->nuevoUsuarioResponsable $nuevoUsuarioResponsable;
  55.         return $this;
  56.     }
  57.     public function getProceso(): ?ParProceso
  58.     {
  59.         return $this->proceso;
  60.     }
  61.     public function setProceso(?ParProceso $proceso): static
  62.     {
  63.         $this->proceso $proceso;
  64.         return $this;
  65.     }
  66.     public function getSede(): ?TerSedeEmpresa
  67.     {
  68.         return $this->sede;
  69.     }
  70.     public function setSede(?TerSedeEmpresa $sede): static
  71.     {
  72.         $this->sede $sede;
  73.         return $this;
  74.     }
  75.     public function getMotivoCambio(): ?string
  76.     {
  77.         return $this->motivoCambio;
  78.     }
  79.     public function setMotivoCambio(string $motivoCambio): static
  80.     {
  81.         $this->motivoCambio $motivoCambio;
  82.         return $this;
  83.     }
  84.     public function getCreateAt(): ?\DateTimeInterface
  85.     {
  86.         return $this->createAt;
  87.     }
  88.     public function setCreateAt(\DateTimeInterface $createAt): static
  89.     {
  90.         $this->createAt $createAt;
  91.         return $this;
  92.     }
  93.     public function getCreateUser(): ?string
  94.     {
  95.         return $this->createUser;
  96.     }
  97.     public function setCreateUser(string $createUser): static
  98.     {
  99.         $this->createUser $createUser;
  100.         return $this;
  101.     }
  102.     public function getUpdateAt(): ?\DateTimeInterface
  103.     {
  104.         return $this->updateAt;
  105.     }
  106.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  107.     {
  108.         $this->updateAt $updateAt;
  109.         return $this;
  110.     }
  111.     public function getUpdateUser(): ?string
  112.     {
  113.         return $this->updateUser;
  114.     }
  115.     public function setUpdateUser(string $updateUser): static
  116.     {
  117.         $this->updateUser $updateUser;
  118.         return $this;
  119.     }
  120.     public function getUsuarioSolicita(): ?TerPersona
  121.     {
  122.         return $this->usuarioSolicita;
  123.     }
  124.     public function setUsuarioSolicita(?TerPersona $usuarioSolicita): static
  125.     {
  126.         $this->usuarioSolicita $usuarioSolicita;
  127.         return $this;
  128.     }
  129. }