src/Entity/ComDocumentosOperativos.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ComDocumentosOperativosRepository;
  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(repositoryClassComDocumentosOperativosRepository::class)]
  9. class ComDocumentosOperativos
  10. {
  11.     #[ORM\Id]
  12.     #[ORM\GeneratedValue]
  13.     #[ORM\Column]
  14.     private ?int $id null;
  15.     #[ORM\Column(length255nullabletrue)]
  16.     private ?string $manifestacionSuscrita null;
  17.     #[ORM\Column(length255nullabletrue)]
  18.     private ?string $manifestacionSuscritaServicios null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $tipoMandato null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $mandatoGeneral null;
  23.     #[ORM\Column(length255nullabletrue)]
  24.     private ?string $mandatoEspecifico null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $mandatoDIAN null;
  27.     #[ORM\Column(length255nullabletrue)]
  28.     private ?string $contratoMandatoComercial null;
  29.     #[ORM\ManyToOne(inversedBy'comDocumentosOperativos')]
  30.     private ?ComCircular170YPoderes $comCircular170 null;
  31.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  32.     private ?\DateTimeInterface $createAt null;
  33.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  34.     private ?\DateTimeInterface $updateAt null;
  35.     #[ORM\Column(length255nullabletrue)]
  36.     private ?string $createUser null;
  37.     #[ORM\Column(length255nullabletrue)]
  38.     private ?string $updateUser null;
  39.     #[ORM\OneToMany(mappedBy'comDocumentosOperativos'targetEntityComDocumentosOriginales170::class)]
  40.     private Collection $comDocumentosOriginales170s;
  41.     public function __construct()
  42.     {
  43.         $this->comDocumentosOriginales170s = new ArrayCollection();
  44.     }
  45.     public function getId(): ?int
  46.     {
  47.         return $this->id;
  48.     }
  49.     public function getManifestacionSuscrita(): ?string
  50.     {
  51.         return $this->manifestacionSuscrita;
  52.     }
  53.     public function setManifestacionSuscrita(?string $manifestacionSuscrita): static
  54.     {
  55.         $this->manifestacionSuscrita $manifestacionSuscrita;
  56.         return $this;
  57.     }
  58.     public function getManifestacionSuscritaServicios(): ?string
  59.     {
  60.         return $this->manifestacionSuscritaServicios;
  61.     }
  62.     public function setManifestacionSuscritaServicios(?string $manifestacionSuscritaServicios): static
  63.     {
  64.         $this->manifestacionSuscritaServicios $manifestacionSuscritaServicios;
  65.         return $this;
  66.     }
  67.     public function getTipoMandato(): ?string
  68.     {
  69.         return $this->tipoMandato;
  70.     }
  71.     public function setTipoMandato(?string $tipoMandato): static
  72.     {
  73.         $this->tipoMandato $tipoMandato;
  74.         return $this;
  75.     }
  76.     public function getMandatoGeneral(): ?string
  77.     {
  78.         return $this->mandatoGeneral;
  79.     }
  80.     public function setMandatoGeneral(?string $mandatoGeneral): static
  81.     {
  82.         $this->mandatoGeneral $mandatoGeneral;
  83.         return $this;
  84.     }
  85.     public function getMandatoEspecifico(): ?string
  86.     {
  87.         return $this->mandatoEspecifico;
  88.     }
  89.     public function setMandatoEspecifico(?string $mandatoEspecifico): static
  90.     {
  91.         $this->mandatoEspecifico $mandatoEspecifico;
  92.         return $this;
  93.     }
  94.     public function getMandatoDIAN(): ?string
  95.     {
  96.         return $this->mandatoDIAN;
  97.     }
  98.     public function setMandatoDIAN(?string $mandatoDIAN): static
  99.     {
  100.         $this->mandatoDIAN $mandatoDIAN;
  101.         return $this;
  102.     }
  103.     public function getContratoMandatoComercial(): ?string
  104.     {
  105.         return $this->contratoMandatoComercial;
  106.     }
  107.     public function setContratoMandatoComercial(?string $contratoMandatoComercial): static
  108.     {
  109.         $this->contratoMandatoComercial $contratoMandatoComercial;
  110.         return $this;
  111.     }
  112.     public function getComCircular170(): ?ComCircular170YPoderes
  113.     {
  114.         return $this->comCircular170;
  115.     }
  116.     public function setComCircular170(?ComCircular170YPoderes $comCircular170): static
  117.     {
  118.         $this->comCircular170 $comCircular170;
  119.         return $this;
  120.     }
  121.     public function getCreateAt(): ?\DateTimeInterface
  122.     {
  123.         return $this->createAt;
  124.     }
  125.     public function setCreateAt(?\DateTimeInterface $createAt): static
  126.     {
  127.         $this->createAt $createAt;
  128.         return $this;
  129.     }
  130.     public function getUpdateAt(): ?\DateTimeInterface
  131.     {
  132.         return $this->updateAt;
  133.     }
  134.     public function setUpdateAt(?\DateTimeInterface $updateAt): static
  135.     {
  136.         $this->updateAt $updateAt;
  137.         return $this;
  138.     }
  139.     public function getCreateUser(): ?string
  140.     {
  141.         return $this->createUser;
  142.     }
  143.     public function setCreateUser(?string $createUser): static
  144.     {
  145.         $this->createUser $createUser;
  146.         return $this;
  147.     }
  148.     public function getUpdateUser(): ?string
  149.     {
  150.         return $this->updateUser;
  151.     }
  152.     public function setUpdateUser(?string $updateUser): static
  153.     {
  154.         $this->updateUser $updateUser;
  155.         return $this;
  156.     }
  157.     /**
  158.      * @return Collection<int, ComDocumentosOriginales170>
  159.      */
  160.     public function getComDocumentosOriginales170s(): Collection
  161.     {
  162.         return $this->comDocumentosOriginales170s;
  163.     }
  164.     public function addComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
  165.     {
  166.         if (!$this->comDocumentosOriginales170s->contains($comDocumentosOriginales170)) {
  167.             $this->comDocumentosOriginales170s->add($comDocumentosOriginales170);
  168.             $comDocumentosOriginales170->setComDocumentosOperativos($this);
  169.         }
  170.         return $this;
  171.     }
  172.     public function removeComDocumentosOriginales170(ComDocumentosOriginales170 $comDocumentosOriginales170): static
  173.     {
  174.         if ($this->comDocumentosOriginales170s->removeElement($comDocumentosOriginales170)) {
  175.             // set the owning side to null (unless already changed)
  176.             if ($comDocumentosOriginales170->getComDocumentosOperativos() === $this) {
  177.                 $comDocumentosOriginales170->setComDocumentosOperativos(null);
  178.             }
  179.         }
  180.         return $this;
  181.     }
  182. }