<?phpnamespace App\Entity;use App\Repository\ComProtocoloExportacionRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ComProtocoloExportacionRepository::class)]class ComProtocoloExportacion{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 255)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $producto = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $pais = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $terminoNegociacion = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $observacionesProtocoloExportacion = null; #[ORM\ManyToOne(inversedBy: 'comProtocoloExportacions')] private ?TerEmpresaCliente $cliente = null; #[ORM\Column(length: 255)] private ?string $updateUser = null; #[ORM\OneToMany(mappedBy: 'ComProtocoloExportacion', targetEntity: ComGenerarProtocoloExportacion::class)] private Collection $comGenerarProtocoloExportacions; public function __construct() { $this->comGenerarProtocoloExportacions = new ArrayCollection(); } #[ORM\ManyToOne(inversedBy: 'comProtocoloExportacions')] private ?ParEstado $estado = null; #[ORM\ManyToOne(inversedBy: 'comProtocoloExportacionConcepto')] private ?ParEstado $concepto = null; #[ORM\Column(type: Types::TEXT, nullable: true)] private ?string $observacionesRevisionProtocolo = null; public function getId(): ?int { return $this->id; } public function getCreateAt(): ?\DateTimeInterface { return $this->createAt; } public function setCreateAt(\DateTimeInterface $createAt): static { $this->createAt = $createAt; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getUpdateAt(): ?\DateTimeInterface { return $this->updateAt; } public function setUpdateAt(\DateTimeInterface $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getProducto(): ?string { return $this->producto; } public function setProducto(?string $producto): static { $this->producto = $producto; return $this; } public function getPais(): ?string { return $this->pais; } public function setPais(?string $pais): static { $this->pais = $pais; return $this; } public function getTerminoNegociacion(): ?string { return $this->terminoNegociacion; } public function setTerminoNegociacion(?string $terminoNegociacion): static { $this->terminoNegociacion = $terminoNegociacion; return $this; } public function getObservacionesProtocoloExportacion(): ?string { return $this->observacionesProtocoloExportacion; } public function setObservacionesProtocoloExportacion(?string $observacionesProtocoloExportacion): static { $this->observacionesProtocoloExportacion = $observacionesProtocoloExportacion; return $this; } public function getCliente(): ?TerEmpresaCliente { return $this->cliente; } public function setCliente(?TerEmpresaCliente $cliente): static { $this->cliente = $cliente; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } /** * @return Collection<int, ComGenerarProtocoloExportacion> */ public function getComGenerarProtocoloExportacions(): Collection { return $this->comGenerarProtocoloExportacions; } public function addComGenerarProtocoloExportacion(ComGenerarProtocoloExportacion $comGenerarProtocoloExportacion): static { if (!$this->comGenerarProtocoloExportacions->contains($comGenerarProtocoloExportacion)) { $this->comGenerarProtocoloExportacions->add($comGenerarProtocoloExportacion); $comGenerarProtocoloExportacion->setComProtocoloExportacion($this); } return $this; } public function removeComGenerarProtocoloExportacion(ComGenerarProtocoloExportacion $comGenerarProtocoloExportacion): static { if ($this->comGenerarProtocoloExportacions->removeElement($comGenerarProtocoloExportacion)) { // set the owning side to null (unless already changed) if ($comGenerarProtocoloExportacion->getComProtocoloExportacion() === $this) { $comGenerarProtocoloExportacion->setComProtocoloExportacion(null); } } return $this; } public function getEstado(): ?ParEstado { return $this->estado; } public function setEstado(?ParEstado $estado): static { $this->estado = $estado; return $this; } public function getConcepto(): ?ParEstado { return $this->concepto; } public function setConcepto(?ParEstado $concepto): static { $this->concepto = $concepto; return $this; } public function getObservacionesRevisionProtocolo(): ?string { return $this->observacionesRevisionProtocolo; } public function setObservacionesRevisionProtocolo(?string $observacionesRevisionProtocolo): static { $this->observacionesRevisionProtocolo = $observacionesRevisionProtocolo; return $this; }}