<?php
namespace App\Entity;
use App\Repository\ComDocumentosOperativosRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: ComDocumentosOperativosRepository::class)]
class ComDocumentosOperativos
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $manifestacionSuscrita = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $manifestacionSuscritaServicios = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $tipoMandato = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mandatoGeneral = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mandatoEspecifico = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $mandatoDIAN = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $contratoMandatoComercial = null;
#[ORM\ManyToOne(inversedBy: 'comDocumentosOperativos')]
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: 'comDocumentosOperativos', targetEntity: ComDocumentosOriginales170::class)]
private Collection $comDocumentosOriginales170s;
public function __construct()
{
$this->comDocumentosOriginales170s = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getManifestacionSuscrita(): ?string
{
return $this->manifestacionSuscrita;
}
public function setManifestacionSuscrita(?string $manifestacionSuscrita): static
{
$this->manifestacionSuscrita = $manifestacionSuscrita;
return $this;
}
public function getManifestacionSuscritaServicios(): ?string
{
return $this->manifestacionSuscritaServicios;
}
public function setManifestacionSuscritaServicios(?string $manifestacionSuscritaServicios): static
{
$this->manifestacionSuscritaServicios = $manifestacionSuscritaServicios;
return $this;
}
public function getTipoMandato(): ?string
{
return $this->tipoMandato;
}
public function setTipoMandato(?string $tipoMandato): static
{
$this->tipoMandato = $tipoMandato;
return $this;
}
public function getMandatoGeneral(): ?string
{
return $this->mandatoGeneral;
}
public function setMandatoGeneral(?string $mandatoGeneral): static
{
$this->mandatoGeneral = $mandatoGeneral;
return $this;
}
public function getMandatoEspecifico(): ?string
{
return $this->mandatoEspecifico;
}
public function setMandatoEspecifico(?string $mandatoEspecifico): static
{
$this->mandatoEspecifico = $mandatoEspecifico;
return $this;
}
public function getMandatoDIAN(): ?string
{
return $this->mandatoDIAN;
}
public function setMandatoDIAN(?string $mandatoDIAN): static
{
$this->mandatoDIAN = $mandatoDIAN;
return $this;
}
public function getContratoMandatoComercial(): ?string
{
return $this->contratoMandatoComercial;
}
public function setContratoMandatoComercial(?string $contratoMandatoComercial): static
{
$this->contratoMandatoComercial = $contratoMandatoComercial;
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->setComDocumentosOperativos($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->getComDocumentosOperativos() === $this) {
$comDocumentosOriginales170->setComDocumentosOperativos(null);
}
}
return $this;
}
}