<?phpnamespace App\Entity;use App\Repository\SecMensajeRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SecMensajeRepository::class)]class SecMensaje{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column] private ?int $tipo = null; #[ORM\Column(length: 255)] private ?string $titulo = null; #[ORM\Column(type: Types::TEXT)] private ?string $descripcion = null; #[ORM\ManyToOne(inversedBy: 'mensajes')] private ?ParProceso $proceso = null; #[ORM\ManyToOne(inversedBy: 'mensajes')] private ?TerPersona $colaborador = null; #[ORM\ManyToOne(inversedBy: 'mensajes')] private ?GHPerfilCargo $perfilCargo = null; #[ORM\Column(nullable: true)] private ?bool $leido = null; #[ORM\ManyToOne(inversedBy: 'mensajes')] private ?ParEstado $estado = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 100)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\Column(length: 100)] private ?string $updateUser = null; #[ORM\ManyToOne(inversedBy: 'remitenteMensaje')] private ?TerPersona $remitente = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $fechaProgramada = null; public function getId(): ?int { return $this->id; } public function getTipo(): ?int { return $this->tipo; } public function setTipo(int $tipo): static { $this->tipo = $tipo; return $this; } public function getTitulo(): ?string { return $this->titulo; } public function setTitulo(string $titulo): static { $this->titulo = $titulo; return $this; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(string $descripcion): static { $this->descripcion = $descripcion; return $this; } public function getProceso(): ?ParProceso { return $this->proceso; } public function setProceso(?ParProceso $proceso): static { $this->proceso = $proceso; return $this; } public function getColaborador(): ?TerPersona { return $this->colaborador; } public function setColaborador(?TerPersona $colaborador): static { $this->colaborador = $colaborador; return $this; } public function getPerfilCargo(): ?GHPerfilCargo { return $this->perfilCargo; } public function setPerfilCargo(?GHPerfilCargo $perfilCargo): static { $this->perfilCargo = $perfilCargo; return $this; } public function isLeido(): ?bool { return $this->leido; } public function setLeido(?bool $leido): static { $this->leido = $leido; return $this; } public function getEstado(): ?ParEstado { return $this->estado; } public function setEstado(?ParEstado $estado): static { $this->estado = $estado; 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; } public function getRemitente(): ?TerPersona { return $this->remitente; } public function setRemitente(?TerPersona $remitente): static { $this->remitente = $remitente; return $this; } public function getFechaProgramada(): ?\DateTimeInterface { return $this->fechaProgramada; } public function setFechaProgramada(?\DateTimeInterface $fechaProgramada): static { $this->fechaProgramada = $fechaProgramada; return $this; }}