src/Entity/JurOperacionSospechosa.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\JurOperacionSospechosaRepository;
  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\Entity(repositoryClassJurOperacionSospechosaRepository::class)]
  9. class JurOperacionSospechosa
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(typeTypes::TEXTnullable:true)]
  16.     private ?string $observacion null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  18.     private ?\DateTimeInterface $createAt null;
  19.     #[ORM\Column(length50)]
  20.     private ?string $createUser null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $updateAt null;
  23.     #[ORM\Column(length50)]
  24.     private ?string $updateUser null;
  25.     #[ORM\ManyToMany(targetEntityParMotivoJuridico::class, inversedBy'operacionSospechosa')]
  26.     private Collection $motivoJuridico;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $matrizAutenticacion null;
  29.     #[ORM\Column(nullabletrue)]
  30.     private ?bool $reporteUIAF null;
  31.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  32.     private ?\DateTimeInterface $fechaReporteUIAF null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $evidenciaReporteUIAF null;
  35.     #[ORM\OneToMany(mappedBy'operacionSospechosa'targetEntityJurOperacionSospechosaEvidencia::class)]
  36.     private Collection $operacionSospechosaEvidencia;
  37.     #[ORM\ManyToOne(inversedBy'operacionesSospechosas')]
  38.     private ?TerEmpresa $empresa null;
  39.     #[ORM\Column(nullabletrue)]
  40.     private ?int $mes null;
  41.     #[ORM\ManyToOne(inversedBy'operacionSospechosa')]
  42.     private ?RFInventarioDocumentalComex $do null;
  43.     #[ORM\ManyToOne(inversedBy'operacionSospechosa')]
  44.     private ?TerEmpresaCliente $empresaCliente null;
  45.     #[ORM\Column(length50nullabletrue)]
  46.     private ?string $OT null;
  47.     #[ORM\ManyToOne(inversedBy'operacionesSospechosas')]
  48.     private ?TerProveedor $proveedor null;
  49.     #[ORM\ManyToOne]
  50.     private ?TerPersona $colaborador null;
  51.     #[ORM\Column(length255nullabletrue)]
  52.     private ?string $DOString null;
  53.     public function __construct()
  54.     {
  55.         $this->motivoJuridico = new ArrayCollection();
  56.         $this->operacionSospechosaEvidencia = new ArrayCollection();
  57.     }
  58.     public function getId(): ?int
  59.     {
  60.         return $this->id;
  61.     }
  62.     
  63.     public function getObservacion(): ?string
  64.     {
  65.         return $this->observacion;
  66.     }
  67.     public function setObservacion(string $observacion): static
  68.     {
  69.         $this->observacion $observacion;
  70.         return $this;
  71.     }
  72.     public function getCreateAt(): ?\DateTimeInterface
  73.     {
  74.         return $this->createAt;
  75.     }
  76.     public function setCreateAt(\DateTimeInterface $createAt): static
  77.     {
  78.         $this->createAt $createAt;
  79.         return $this;
  80.     }
  81.     public function getCreateUser(): ?string
  82.     {
  83.         return $this->createUser;
  84.     }
  85.     public function setCreateUser(string $createUser): static
  86.     {
  87.         $this->createUser $createUser;
  88.         return $this;
  89.     }
  90.     public function getUpdateAt(): ?\DateTimeInterface
  91.     {
  92.         return $this->updateAt;
  93.     }
  94.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  95.     {
  96.         $this->updateAt $updateAt;
  97.         return $this;
  98.     }
  99.     public function getUpdateUser(): ?string
  100.     {
  101.         return $this->updateUser;
  102.     }
  103.     public function setUpdateUser(string $updateUser): static
  104.     {
  105.         $this->updateUser $updateUser;
  106.         return $this;
  107.     }
  108.     /**
  109.      * @return Collection<int, ParMotivoJuridico>
  110.      */
  111.     public function getMotivoJuridico(): Collection
  112.     {
  113.         return $this->motivoJuridico;
  114.     }
  115.     public function addMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
  116.     {
  117.         if (!$this->motivoJuridico->contains($motivoJuridico)) {
  118.             $this->motivoJuridico->add($motivoJuridico);
  119.         }
  120.         return $this;
  121.     }
  122.     public function removeMotivoJuridico(ParMotivoJuridico $motivoJuridico): static
  123.     {
  124.         $this->motivoJuridico->removeElement($motivoJuridico);
  125.         return $this;
  126.     }
  127.     public function getMatrizAutenticacion(): ?string
  128.     {
  129.         return $this->matrizAutenticacion;
  130.     }
  131.     public function setMatrizAutenticacion(?string $matrizAutenticacion): static
  132.     {
  133.         $this->matrizAutenticacion $matrizAutenticacion;
  134.         return $this;
  135.     }
  136.     public function isReporteUIAF(): ?bool
  137.     {
  138.         return $this->reporteUIAF;
  139.     }
  140.     public function setReporteUIAF(?bool $reporteUIAF): static
  141.     {
  142.         $this->reporteUIAF $reporteUIAF;
  143.         return $this;
  144.     }
  145.     public function getFechaReporteUIAF(): ?\DateTimeInterface
  146.     {
  147.         return $this->fechaReporteUIAF;
  148.     }
  149.     public function setFechaReporteUIAF(?\DateTimeInterface $fechaReporteUIAF): static
  150.     {
  151.         $this->fechaReporteUIAF $fechaReporteUIAF;
  152.         return $this;
  153.     }
  154.     public function getEvidenciaReporteUIAF(): ?string
  155.     {
  156.         return $this->evidenciaReporteUIAF;
  157.     }
  158.     public function setEvidenciaReporteUIAF(?string $evidenciaReporteUIAF): static
  159.     {
  160.         $this->evidenciaReporteUIAF $evidenciaReporteUIAF;
  161.         return $this;
  162.     }
  163.     /**
  164.      * @return Collection<int, JurOperacionSospechosaEvidencia>
  165.      */
  166.     public function getOperacionSospechosaEvidencia(): Collection
  167.     {
  168.         return $this->operacionSospechosaEvidencia;
  169.     }
  170.     public function addOperacionSospechosaEvidencium(JurOperacionSospechosaEvidencia $operacionSospechosaEvidencium): static
  171.     {
  172.         if (!$this->operacionSospechosaEvidencia->contains($operacionSospechosaEvidencium)) {
  173.             $this->operacionSospechosaEvidencia->add($operacionSospechosaEvidencium);
  174.             $operacionSospechosaEvidencium->setOperacionSospechosa($this);
  175.         }
  176.         return $this;
  177.     }
  178.     public function removeOperacionSospechosaEvidencium(JurOperacionSospechosaEvidencia $operacionSospechosaEvidencium): static
  179.     {
  180.         if ($this->operacionSospechosaEvidencia->removeElement($operacionSospechosaEvidencium)) {
  181.             // set the owning side to null (unless already changed)
  182.             if ($operacionSospechosaEvidencium->getOperacionSospechosa() === $this) {
  183.                 $operacionSospechosaEvidencium->setOperacionSospechosa(null);
  184.             }
  185.         }
  186.         return $this;
  187.     }
  188.     public function getEmpresa(): ?TerEmpresa
  189.     {
  190.         return $this->empresa;
  191.     }
  192.     public function setEmpresa(?TerEmpresa $empresa): static
  193.     {
  194.         $this->empresa $empresa;
  195.         return $this;
  196.     }
  197.     public function getMes(): ?int
  198.     {
  199.         return $this->mes;
  200.     }
  201.     public function setMes(?int $mes): static
  202.     {
  203.         $this->mes $mes;
  204.         return $this;
  205.     }
  206.     public function getDo(): ?RFInventarioDocumentalComex
  207.     {
  208.         return $this->do;
  209.     }
  210.     public function setDo(?RFInventarioDocumentalComex $do): static
  211.     {
  212.         $this->do $do;
  213.         return $this;
  214.     }
  215.     public function getEmpresaCliente(): ?TerEmpresaCliente
  216.     {
  217.         return $this->empresaCliente;
  218.     }
  219.     public function setEmpresaCliente(?TerEmpresaCliente $empresaCliente): static
  220.     {
  221.         $this->empresaCliente $empresaCliente;
  222.         return $this;
  223.     }
  224.     public function getOT(): ?string
  225.     {
  226.         return $this->OT;
  227.     }
  228.     public function setOT(?string $OT): static
  229.     {
  230.         $this->OT $OT;
  231.         return $this;
  232.     }
  233.     public function getProveedor(): ?TerProveedor
  234.     {
  235.         return $this->proveedor;
  236.     }
  237.     public function setProveedor(?TerProveedor $proveedor): static
  238.     {
  239.         $this->proveedor $proveedor;
  240.         return $this;
  241.     }
  242.     public function getColaborador(): ?TerPersona
  243.     {
  244.         return $this->colaborador;
  245.     }
  246.     public function setColaborador(?TerPersona $colaborador): static
  247.     {
  248.         $this->colaborador $colaborador;
  249.         return $this;
  250.     }
  251.     public function getDOString(): ?string
  252.     {
  253.         return $this->DOString;
  254.     }
  255.     public function setDOString(?string $DOString): static
  256.     {
  257.         $this->DOString $DOString;
  258.         return $this;
  259.     }
  260. }