<?php
namespace App\Entity;
use App\Repository\ComDocumentosSoporteVinculacionRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ComDocumentosSoporteVinculacionRepository::class)]
class ComDocumentosSoporteVinculacion
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rutEmpresa = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $rutRepresentanteLegal = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $certificadoExistencia = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $documentoIdentificacion = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $estadosFinancieros = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $certificadoBancario = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $certificadoComercial = null;
#[ORM\ManyToOne(inversedBy: 'comDocumentosSoporteVinculacions')]
private ?ParEstado $estadoSeccion = null;
#[ORM\ManyToOne(inversedBy: 'comDocumentosSoporteVinculacions')]
private ?ComCircular170YPoderes $comCircular170 = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $createAt = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)]
private ?\DateTimeInterface $updateAt = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $createUser = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $updateUser = null;
#[ORM\OneToMany(mappedBy: 'comDocumentosSoporteVinculacion', targetEntity: ComDocumentosOriginales170::class)]
private Collection $comDocumentosOriginales170s;
public function __construct()
{
$this->comDocumentosOriginales170s = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getRutEmpresa(): ?string
{
return $this->rutEmpresa;
}
public function setRutEmpresa(?string $rutEmpresa): static
{
$this->rutEmpresa = $rutEmpresa;
return $this;
}
public function getRutRepresentanteLegal(): ?string
{
return $this->rutRepresentanteLegal;
}
public function setRutRepresentanteLegal(?string $rutRepresentanteLegal): static
{
$this->rutRepresentanteLegal = $rutRepresentanteLegal;
return $this;
}
public function getCertificadoExistencia(): ?string
{
return $this->certificadoExistencia;
}
public function setCertificadoExistencia(?string $certificadoExistencia): static
{
$this->certificadoExistencia = $certificadoExistencia;
return $this;
}
public function getDocumentoIdentificacion(): ?string
{
return $this->documentoIdentificacion;
}
public function setDocumentoIdentificacion(?string $documentoIdentificacion): static
{
$this->documentoIdentificacion = $documentoIdentificacion;
return $this;
}
public function getEstadosFinancieros(): ?string
{
return $this->estadosFinancieros;
}
public function setEstadosFinancieros(?string $estadosFinancieros): static
{
$this->estadosFinancieros = $estadosFinancieros;
return $this;
}
public function getCertificadoBancario(): ?string
{
return $this->certificadoBancario;
}
public function setCertificadoBancario(?string $certificadoBancario): static
{
$this->certificadoBancario = $certificadoBancario;
return $this;
}
public function getCertificadoComercial(): ?string
{
return $this->certificadoComercial;
}
public function setCertificadoComercial(?string $certificadoComercial): static
{
$this->certificadoComercial = $certificadoComercial;
return $this;
}
public function getEstadoSeccion(): ?ParEstado
{
return $this->estadoSeccion;
}
public function setEstadoSeccion(?ParEstado $estadoSeccion): static
{
$this->estadoSeccion = $estadoSeccion;
return $this;
}
public function getComCircular170(): ?ComCircular170YPoderes
{
return $this->comCircular170;
}
public function setComCircular170(?ComCircular170YPoderes $comCircular170): static
{
$this->comCircular170 = $comCircular170;
return $this;
}
public function getCreateAt(): ?\DateTimeInterface
{
return $this->createAt;
}
public function setCreateAt(?\DateTimeInterface $createAt): static
{
$this->createAt = $createAt;
return $this;
}
public function getUpdateAt(): ?\DateTimeInterface
{
return $this->updateAt;
}
public function setUpdateAt(?\DateTimeInterface $updateAt): static
{
$this->updateAt = $updateAt;
return $this;
}
public function getCreateUser(): ?string
{
return $this->createUser;
}
public function setCreateUser(?string $createUser): static
{
$this->createUser = $createUser;
return $this;
}
public function getUpdateUser(): ?string
{
return $this->updateUser;
}
public function setUpdateUser(?string $updateUser): static
{
$this->updateUser = $updateUser;
return $this;
}
/**
* @return Collection<int, ComDocumentosOriginales170>
*/
public function getComDocumentosOriginales170s(): Collection
{
return $this->comDocumentosOriginales170s;
}
public function addComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
{
if (!$this->comDocumentosOriginales170s->contains($comDocumentosOriginales170)) {
$this->comDocumentosOriginales170s->add($comDocumentosOriginales170);
$comDocumentosOriginales170->setComDocumentosSoporteVinculacion($this);
}
return $this;
}
public function removeComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
{
if ($this->comDocumentosOriginales170s->removeElement($comDocumentosOriginales170)) {
// set the owning side to null (unless already changed)
if ($comDocumentosOriginales170->getComDocumentosSoporteVinculacion() === $this) {
$comDocumentosOriginales170->setComDocumentosSoporteVinculacion(null);
}
}
return $this;
}
}