<?phpnamespace App\Entity;use App\Repository\ComDestinoNotificacionBienvenidaRepository;use Doctrine\Common\Collections\ArrayCollection;use Doctrine\Common\Collections\Collection;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: ComDestinoNotificacionBienvenidaRepository::class)]class ComDestinoNotificacionBienvenida{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'comDestinoNotificacionBienvenidas')] private ?TerEmpresaCliente $terEmpresaCliente = null; #[ORM\ManyToMany(targetEntity: ComInformacionContacto::class, inversedBy: 'comDestinoNotificacionBienvenidas')] private Collection $contactoNotificacionBienvenida; #[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; public function __construct() { $this->contactoNotificacionBienvenida = new ArrayCollection(); } public function getTerEmpresaCliente(): ?TerEmpresaCliente { return $this->terEmpresaCliente; } public function setTerEmpresaCliente(?TerEmpresaCliente $terEmpresaCliente): static { $this->terEmpresaCliente = $terEmpresaCliente; return $this; } /** * @return Collection<int, ComInformacionContacto> */ public function getContactoNotificacionBienvenida(): Collection { return $this->contactoNotificacionBienvenida; } public function addContactoNotificacionBienvenida(ComInformacionContacto $contactoNotificacionBienvenida): static { if (!$this->contactoNotificacionBienvenida->contains($contactoNotificacionBienvenida)) { $this->contactoNotificacionBienvenida->add($contactoNotificacionBienvenida); } return $this; } public function removeContactoNotificacionBienvenida(ComInformacionContacto $contactoNotificacionBienvenida): static { $this->contactoNotificacionBienvenida->removeElement($contactoNotificacionBienvenida); 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; }}