src/Entity/SegHomeOffice.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SegHomeOfficeRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSegHomeOfficeRepository::class)]
  7. class SegHomeOffice
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\ManyToOne(inversedBy'homeOffice')]
  14.     private ?TerPersona $usuario null;
  15.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  16.     private ?\DateTimeInterface $inicioConexion null;
  17.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  18.     private ?\DateTimeInterface $finConexion null;
  19.     #[ORM\Column(nullabletrue)]
  20.     private ?int $tipoDesconexion null;
  21.     #[ORM\Column(length50)]
  22.     private ?string $createUser null;
  23.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  24.     private ?\DateTimeInterface $createAt null;
  25.     #[ORM\Column(length50)]
  26.     private ?string $updateUser null;
  27.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  28.     private ?\DateTimeInterface $updateAt null;
  29.     #[ORM\ManyToOne(inversedBy'homeOffice')]
  30.     private ?ParHorario $horario null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $tiempoTotal null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $diaConexion null;
  35.     private ?int $intervalo null;
  36.     #[ORM\Column(type'boolean'nullabletrue)]
  37.     private ?bool $notificado false;
  38.     public function getId(): ?int
  39.     {
  40.         return $this->id;
  41.     }
  42.     public function getUsuario(): ?TerPersona
  43.     {
  44.         return $this->usuario;
  45.     }
  46.     public function setUsuario(?TerPersona $usuario): static
  47.     {
  48.         $this->usuario $usuario;
  49.         return $this;
  50.     }
  51.     public function getInicioConexion(): ?\DateTimeInterface
  52.     {
  53.         return $this->inicioConexion;
  54.     }
  55.     public function setInicioConexion(\DateTimeInterface $inicioConexion): static
  56.     {
  57.         $this->inicioConexion $inicioConexion;
  58.         return $this;
  59.     }
  60.     public function getFinConexion(): ?\DateTimeInterface
  61.     {
  62.         return $this->finConexion;
  63.     }
  64.     public function setFinConexion(?\DateTimeInterface $finConexion): static
  65.     {
  66.         $this->finConexion $finConexion;
  67.         return $this;
  68.     }
  69.     public function getTipoDesconexion(): ?int
  70.     {
  71.         return $this->tipoDesconexion;
  72.     }
  73.     public function setTipoDesconexion(?int $tipoDesconexion): static
  74.     {
  75.         $this->tipoDesconexion $tipoDesconexion;
  76.         return $this;
  77.     }
  78.     public function getCreateUser(): ?string
  79.     {
  80.         return $this->createUser;
  81.     }
  82.     public function setCreateUser(string $createUser): static
  83.     {
  84.         $this->createUser $createUser;
  85.         return $this;
  86.     }
  87.     public function getCreateAt(): ?\DateTimeInterface
  88.     {
  89.         return $this->createAt;
  90.     }
  91.     public function setCreateAt(\DateTimeInterface $createAt): static
  92.     {
  93.         $this->createAt $createAt;
  94.         return $this;
  95.     }
  96.     public function getUpdateUser(): ?string
  97.     {
  98.         return $this->updateUser;
  99.     }
  100.     public function setUpdateUser(string $updateUser): static
  101.     {
  102.         $this->updateUser $updateUser;
  103.         return $this;
  104.     }
  105.     public function getUpdateAt(): ?\DateTimeInterface
  106.     {
  107.         return $this->updateAt;
  108.     }
  109.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  110.     {
  111.         $this->updateAt $updateAt;
  112.         return $this;
  113.     }
  114.     public function getHorario(): ?ParHorario
  115.     {
  116.         return $this->horario;
  117.     }
  118.     public function setHorario(?ParHorario $horario): static
  119.     {
  120.         $this->horario $horario;
  121.         return $this;
  122.     }
  123.     public function getTiempoTotal(): ?string
  124.     {
  125.         return $this->tiempoTotal;
  126.     }
  127.     public function setTiempoTotal(?string $tiempoTotal): void
  128.     {
  129.         $this->tiempoTotal $tiempoTotal;
  130.     }
  131.     public function getDiaConexion(): ?string
  132.     {
  133.         return $this->diaConexion;
  134.     }
  135.     public function setDiaConexion(?string $diaConexion): static
  136.     {
  137.         $this->diaConexion $diaConexion;
  138.         return $this;
  139.     }
  140.     public function getIntervalo(): ?int
  141.     {
  142.         return $this->intervalo;
  143.     }
  144.     public function setIntervalo(?int $intervalo): static
  145.     {
  146.         $this->intervalo $intervalo;
  147.         return $this;
  148.     }
  149.     public function isNotificado(): ?bool
  150.     {
  151.         return $this->notificado;
  152.     }
  153.     public function setNotificado(?bool $notificado): self
  154.     {
  155.         $this->notificado $notificado;
  156.         return $this;
  157.     }
  158. }