src/Entity/ComDocumentosSoporteVinculacion.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComDocumentosSoporteVinculacionRepository;
  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(repositoryClassComDocumentosSoporteVinculacionRepository::class)]
  9. class ComDocumentosSoporteVinculacion
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $rutEmpresa null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $rutRepresentanteLegal null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $certificadoExistencia null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $documentoIdentificacion null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $estadosFinancieros null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $certificadoBancario null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $certificadoComercial null;
  29.     #[ORM\ManyToOne(inversedBy'comDocumentosSoporteVinculacions')]
  30.     private ?ParEstado $estadoSeccion null;
  31.     #[ORM\ManyToOne(inversedBy'comDocumentosSoporteVinculacions')]
  32.     private ?ComCircular170YPoderes $comCircular170 null;
  33.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  34.     private ?\DateTimeInterface $createAt null;
  35.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  36.     private ?\DateTimeInterface $updateAt null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $createUser null;
  39.     #[ORM\Column(length255nullabletrue)]
  40.     private ?string $updateUser null;
  41.     #[ORM\OneToMany(mappedBy'comDocumentosSoporteVinculacion'targetEntityComDocumentosOriginales170::class)]
  42.     private Collection $comDocumentosOriginales170s;
  43.     public function __construct()
  44.     {
  45.         $this->comDocumentosOriginales170s = new ArrayCollection();
  46.     }
  47.     public function getId(): ?int
  48.     {
  49.         return $this->id;
  50.     }
  51.     public function getRutEmpresa(): ?string
  52.     {
  53.         return $this->rutEmpresa;
  54.     }
  55.     public function setRutEmpresa(?string $rutEmpresa): static
  56.     {
  57.         $this->rutEmpresa $rutEmpresa;
  58.         return $this;
  59.     }
  60.     public function getRutRepresentanteLegal(): ?string
  61.     {
  62.         return $this->rutRepresentanteLegal;
  63.     }
  64.     public function setRutRepresentanteLegal(?string $rutRepresentanteLegal): static
  65.     {
  66.         $this->rutRepresentanteLegal $rutRepresentanteLegal;
  67.         return $this;
  68.     }
  69.     public function getCertificadoExistencia(): ?string
  70.     {
  71.         return $this->certificadoExistencia;
  72.     }
  73.     public function setCertificadoExistencia(?string $certificadoExistencia): static
  74.     {
  75.         $this->certificadoExistencia $certificadoExistencia;
  76.         return $this;
  77.     }
  78.     public function getDocumentoIdentificacion(): ?string
  79.     {
  80.         return $this->documentoIdentificacion;
  81.     }
  82.     public function setDocumentoIdentificacion(?string $documentoIdentificacion): static
  83.     {
  84.         $this->documentoIdentificacion $documentoIdentificacion;
  85.         return $this;
  86.     }
  87.     public function getEstadosFinancieros(): ?string
  88.     {
  89.         return $this->estadosFinancieros;
  90.     }
  91.     public function setEstadosFinancieros(?string $estadosFinancieros): static
  92.     {
  93.         $this->estadosFinancieros $estadosFinancieros;
  94.         return $this;
  95.     }
  96.     public function getCertificadoBancario(): ?string
  97.     {
  98.         return $this->certificadoBancario;
  99.     }
  100.     public function setCertificadoBancario(?string $certificadoBancario): static
  101.     {
  102.         $this->certificadoBancario $certificadoBancario;
  103.         return $this;
  104.     }
  105.     public function getCertificadoComercial(): ?string
  106.     {
  107.         return $this->certificadoComercial;
  108.     }
  109.     public function setCertificadoComercial(?string $certificadoComercial): static
  110.     {
  111.         $this->certificadoComercial $certificadoComercial;
  112.         return $this;
  113.     }
  114.     public function getEstadoSeccion(): ?ParEstado
  115.     {
  116.         return $this->estadoSeccion;
  117.     }
  118.     public function setEstadoSeccion(?ParEstado $estadoSeccion): static
  119.     {
  120.         $this->estadoSeccion $estadoSeccion;
  121.         return $this;
  122.     }
  123.     public function getComCircular170(): ?ComCircular170YPoderes
  124.     {
  125.         return $this->comCircular170;
  126.     }
  127.     public function setComCircular170(?ComCircular170YPoderes $comCircular170): static
  128.     {
  129.         $this->comCircular170 $comCircular170;
  130.         return $this;
  131.     }
  132.     public function getCreateAt(): ?\DateTimeInterface
  133.     {
  134.         return $this->createAt;
  135.     }
  136.     public function setCreateAt(?\DateTimeInterface $createAt): static
  137.     {
  138.         $this->createAt $createAt;
  139.         return $this;
  140.     }
  141.     public function getUpdateAt(): ?\DateTimeInterface
  142.     {
  143.         return $this->updateAt;
  144.     }
  145.     public function setUpdateAt(?\DateTimeInterface $updateAt): static
  146.     {
  147.         $this->updateAt $updateAt;
  148.         return $this;
  149.     }
  150.     public function getCreateUser(): ?string
  151.     {
  152.         return $this->createUser;
  153.     }
  154.     public function setCreateUser(?string $createUser): static
  155.     {
  156.         $this->createUser $createUser;
  157.         return $this;
  158.     }
  159.     public function getUpdateUser(): ?string
  160.     {
  161.         return $this->updateUser;
  162.     }
  163.     public function setUpdateUser(?string $updateUser): static
  164.     {
  165.         $this->updateUser $updateUser;
  166.         return $this;
  167.     }
  168.     /**
  169.      * @return Collection<int, ComDocumentosOriginales170>
  170.      */
  171.     public function getComDocumentosOriginales170s(): Collection
  172.     {
  173.         return $this->comDocumentosOriginales170s;
  174.     }
  175.     public function addComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
  176.     {
  177.         if (!$this->comDocumentosOriginales170s->contains($comDocumentosOriginales170)) {
  178.             $this->comDocumentosOriginales170s->add($comDocumentosOriginales170);
  179.             $comDocumentosOriginales170->setComDocumentosSoporteVinculacion($this);
  180.         }
  181.         return $this;
  182.     }
  183.     public function removeComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
  184.     {
  185.         if ($this->comDocumentosOriginales170s->removeElement($comDocumentosOriginales170)) {
  186.             // set the owning side to null (unless already changed)
  187.             if ($comDocumentosOriginales170->getComDocumentosSoporteVinculacion() === $this) {
  188.                 $comDocumentosOriginales170->setComDocumentosSoporteVinculacion(null);
  189.             }
  190.         }
  191.         return $this;
  192.     }
  193. }