<?phpnamespace App\Entity;use App\Repository\ComEncuestaSactisfaccionRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ComEncuestaSactisfaccionRepository::class)]class ComEncuestaSactisfaccion{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(length: 100)] private ?string $titulo = null; #[ORM\Column] private ?int $ano = null; #[ORM\ManyToOne(inversedBy: 'comEncuestaSactisfaccions')] private ?TerEmpresa $empresa = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $fechaInicio = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $fechaFin = null; #[ORM\Column(length: 100)] private ?string $linkFormulario = null; #[ORM\Column] private ?int $cantidadClientesAAI = null; #[ORM\Column] private ?int $cantidadaClientesLOG = null; #[ORM\Column] private ?int $cantidadClientesSVF = 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(length: 255)] private ?string $updateUser = null; #[ORM\OneToMany(mappedBy: 'comEncuestaSactisfaccion', targetEntity: ComCarguePreguntas::class)] private Collection $carguePreguntas; #[ORM\OneToMany(mappedBy: 'comEncuestaSactisfaccion', targetEntity: ComClientesSeleccionados::class)] private Collection $clientesSeleccionados; #[ORM\ManyToOne(inversedBy: 'comEncuestaSactisfaccions')] private ?ParEstado $estado = null; #[ORM\OneToMany(mappedBy: 'encuesta', targetEntity: ComCargarInformeDefinitivo::class)] private Collection $comCargarInformeDefinitivos; #[ORM\Column(nullable: true)] private ?bool $estadoNotiInterna = null; public function __construct() { $this->carguePreguntas = new ArrayCollection(); $this->clientesSeleccionados = new ArrayCollection(); $this->comCargarInformeDefinitivos = new ArrayCollection(); } public function getId(): ?int { return $this->id; } public function getTitulo(): ?string { return $this->titulo; } public function setTitulo(string $titulo): static { $this->titulo = $titulo; return $this; } public function getAno(): ?int { return $this->ano; } public function setAno(int $ano): static { $this->ano = $ano; return $this; } public function getEmpresa(): ?TerEmpresa { return $this->empresa; } public function setEmpresa(?TerEmpresa $empresa): static { $this->empresa = $empresa; return $this; } public function getFechaInicio(): ?\DateTimeInterface { return $this->fechaInicio; } public function setFechaInicio(\DateTimeInterface $fechaInicio): static { $this->fechaInicio = $fechaInicio; return $this; } public function getFechaFin(): ?\DateTimeInterface { return $this->fechaFin; } public function setFechaFin(\DateTimeInterface $fechaFin): static { $this->fechaFin = $fechaFin; return $this; } public function getLinkFormulario(): ?string { return $this->linkFormulario; } public function setLinkFormulario(string $linkFormulario): static { $this->linkFormulario = $linkFormulario; return $this; } public function getCantidadClientesAAI(): ?int { return $this->cantidadClientesAAI; } public function setCantidadClientesAAI(int $cantidadClientesAAI): static { $this->cantidadClientesAAI = $cantidadClientesAAI; return $this; } public function getCantidadaClientesLOG(): ?int { return $this->cantidadaClientesLOG; } public function setCantidadaClientesLOG(int $cantidadaClientesLOG): static { $this->cantidadaClientesLOG = $cantidadaClientesLOG; return $this; } public function getCantidadClientesSVF(): ?int { return $this->cantidadClientesSVF; } public function setCantidadClientesSVF(int $cantidadClientesSVF): static { $this->cantidadClientesSVF = $cantidadClientesSVF; return $this; } 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 getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } /** * @return Collection<int, ComCarguePreguntas> */ public function getCarguePreguntas(): Collection { return $this->carguePreguntas; } public function addCarguePregunta(ComCarguePreguntas $carguePregunta): static { if (!$this->carguePreguntas->contains($carguePregunta)) { $this->carguePreguntas->add($carguePregunta); $carguePregunta->setComEncuestaSactisfaccion($this); } return $this; } public function removeCarguePregunta(ComCarguePreguntas $carguePregunta): static { if ($this->carguePreguntas->removeElement($carguePregunta)) { // set the owning side to null (unless already changed) if ($carguePregunta->getComEncuestaSactisfaccion() === $this) { $carguePregunta->setComEncuestaSactisfaccion(null); } } return $this; } /** * @return Collection<int, ComClientesSeleccionados> */ public function getClientesSeleccionados(): Collection { return $this->clientesSeleccionados; } public function addClientesSeleccionado(ComClientesSeleccionados $clientesSeleccionado): static { if (!$this->clientesSeleccionados->contains($clientesSeleccionado)) { $this->clientesSeleccionados->add($clientesSeleccionado); $clientesSeleccionado->setComEncuestaSactisfaccion($this); } return $this; } public function removeClientesSeleccionado(ComClientesSeleccionados $clientesSeleccionado): static { if ($this->clientesSeleccionados->removeElement($clientesSeleccionado)) { // set the owning side to null (unless already changed) if ($clientesSeleccionado->getComEncuestaSactisfaccion() === $this) { $clientesSeleccionado->setComEncuestaSactisfaccion(null); } } return $this; } public function getEstado(): ?ParEstado { return $this->estado; } public function setEstado(?ParEstado $estado): static { $this->estado = $estado; return $this; } /** * @return Collection<int, ComCargarInformeDefinitivo> */ public function getComCargarInformeDefinitivos(): Collection { return $this->comCargarInformeDefinitivos; } public function addComCargarInformeDefinitivo(ComCargarInformeDefinitivo $comCargarInformeDefinitivo): static { if (!$this->comCargarInformeDefinitivos->contains($comCargarInformeDefinitivo)) { $this->comCargarInformeDefinitivos->add($comCargarInformeDefinitivo); $comCargarInformeDefinitivo->setEncuesta($this); } return $this; } public function removeComCargarInformeDefinitivo(ComCargarInformeDefinitivo $comCargarInformeDefinitivo): static { if ($this->comCargarInformeDefinitivos->removeElement($comCargarInformeDefinitivo)) { // set the owning side to null (unless already changed) if ($comCargarInformeDefinitivo->getEncuesta() === $this) { $comCargarInformeDefinitivo->setEncuesta(null); } } return $this; } public function isEstadoNotiInterna(): ?bool { return $this->estadoNotiInterna; } public function setEstadoNotiInterna(?bool $estadoNotiInterna): static { $this->estadoNotiInterna = $estadoNotiInterna; return $this; }}