<?phpnamespace App\Entity;use App\Repository\SegHomeOfficeRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: SegHomeOfficeRepository::class)]class SegHomeOffice{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\ManyToOne(inversedBy: 'homeOffice')] private ?TerPersona $usuario = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $inicioConexion = null; #[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: true)] private ?\DateTimeInterface $finConexion = null; #[ORM\Column(nullable: true)] private ?int $tipoDesconexion = null; #[ORM\Column(length: 50)] private ?string $createUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $createAt = null; #[ORM\Column(length: 50)] private ?string $updateUser = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updateAt = null; #[ORM\ManyToOne(inversedBy: 'homeOffice')] private ?ParHorario $horario = null; #[ORM\Column(length: 255, nullable: true)] private ?string $tiempoTotal = null; #[ORM\Column(length: 255, nullable: true)] private ?string $diaConexion = null; private ?int $intervalo = null; #[ORM\Column(type: 'boolean', nullable: true)] private ?bool $notificado = false; public function getId(): ?int { return $this->id; } public function getUsuario(): ?TerPersona { return $this->usuario; } public function setUsuario(?TerPersona $usuario): static { $this->usuario = $usuario; return $this; } public function getInicioConexion(): ?\DateTimeInterface { return $this->inicioConexion; } public function setInicioConexion(\DateTimeInterface $inicioConexion): static { $this->inicioConexion = $inicioConexion; return $this; } public function getFinConexion(): ?\DateTimeInterface { return $this->finConexion; } public function setFinConexion(?\DateTimeInterface $finConexion): static { $this->finConexion = $finConexion; return $this; } public function getTipoDesconexion(): ?int { return $this->tipoDesconexion; } public function setTipoDesconexion(?int $tipoDesconexion): static { $this->tipoDesconexion = $tipoDesconexion; return $this; } public function getCreateUser(): ?string { return $this->createUser; } public function setCreateUser(string $createUser): static { $this->createUser = $createUser; return $this; } public function getCreateAt(): ?\DateTimeInterface { return $this->createAt; } public function setCreateAt(\DateTimeInterface $createAt): static { $this->createAt = $createAt; return $this; } public function getUpdateUser(): ?string { return $this->updateUser; } public function setUpdateUser(string $updateUser): static { $this->updateUser = $updateUser; return $this; } public function getUpdateAt(): ?\DateTimeInterface { return $this->updateAt; } public function setUpdateAt(\DateTimeInterface $updateAt): static { $this->updateAt = $updateAt; return $this; } public function getHorario(): ?ParHorario { return $this->horario; } public function setHorario(?ParHorario $horario): static { $this->horario = $horario; return $this; } public function getTiempoTotal(): ?string { return $this->tiempoTotal; } public function setTiempoTotal(?string $tiempoTotal): void { $this->tiempoTotal = $tiempoTotal; } public function getDiaConexion(): ?string { return $this->diaConexion; } public function setDiaConexion(?string $diaConexion): static { $this->diaConexion = $diaConexion; return $this; } public function getIntervalo(): ?int { return $this->intervalo; } public function setIntervalo(?int $intervalo): static { $this->intervalo = $intervalo; return $this; } public function isNotificado(): ?bool { return $this->notificado; } public function setNotificado(?bool $notificado): self { $this->notificado = $notificado; return $this; }}