src/Entity/SegControlIngreso.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SegControlIngresoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSegControlIngresoRepository::class)]
  7. class SegControlIngreso
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  14.     private ?\DateTimeInterface $fecha null;
  15.     #[ORM\Column(length100)]
  16.     private ?string $dia null;
  17.     #[ORM\Column]
  18.     private ?int $ano null;
  19.     #[ORM\Column]
  20.     private ?int $semana null;
  21.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  22.     private ?\DateTimeInterface $hora null;
  23.     #[ORM\ManyToOne(inversedBy'controlIngreso')]
  24.     private ?ParProceso $proceso null;
  25.     #[ORM\Column(length50)]
  26.     private ?string $usuario null;
  27.     #[ORM\Column(length150)]
  28.     private ?string $acceso null;
  29.     #[ORM\Column(length100)]
  30.     private ?string $validez null;
  31.     #[ORM\Column(length100)]
  32.     private ?string $registro null;
  33.     #[ORM\Column(length5)]
  34.     private ?string $dias null;
  35.     #[ORM\Column(typeTypes::TIME_MUTABLEnullabletrue)]
  36.     private ?\DateTimeInterface $horaIngreso null;
  37.     #[ORM\Column(typeTypes::TIME_MUTABLEnullabletrue)]
  38.     private ?\DateTimeInterface $horaSalida null;
  39.     #[ORM\Column(nullabletrue)]
  40.     private ?int $horasTrabajadas null;
  41.     #[ORM\Column(length255nullabletrue)]
  42.     private ?string $mayJornada null;
  43.     #[ORM\Column(nullabletrue)]
  44.     private ?int $difTiempo null;
  45.     #[ORM\Column(length100nullabletrue)]
  46.     private ?string $H1 null;
  47.     #[ORM\Column(length100nullabletrue)]
  48.     private ?string $H2 null;
  49.     #[ORM\Column(length100nullabletrue)]
  50.     private ?string $H3 null;
  51.     #[ORM\Column(length100nullabletrue)]
  52.     private ?string $H4 null;
  53.     #[ORM\Column(length50)]
  54.     private ?string $createUser null;
  55.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  56.     private ?\DateTimeInterface $createAt null;
  57.     #[ORM\Column(length50)]
  58.     private ?string $updateUser null;
  59.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  60.     private ?\DateTimeInterface $updateAt null;
  61.     public function getId(): ?int
  62.     {
  63.         return $this->id;
  64.     }
  65.     public function getFecha(): ?\DateTimeInterface
  66.     {
  67.         return $this->fecha;
  68.     }
  69.     public function setFecha(\DateTimeInterface $fecha): static
  70.     {
  71.         $this->fecha $fecha;
  72.         return $this;
  73.     }
  74.     public function getDia(): ?string
  75.     {
  76.         return $this->dia;
  77.     }
  78.     public function setDia(string $dia): static
  79.     {
  80.         $this->dia $dia;
  81.         return $this;
  82.     }
  83.     public function getAno(): ?int
  84.     {
  85.         return $this->ano;
  86.     }
  87.     public function setAno(int $ano): static
  88.     {
  89.         $this->ano $ano;
  90.         return $this;
  91.     }
  92.     public function getSemana(): ?int
  93.     {
  94.         return $this->semana;
  95.     }
  96.     public function setSemana(int $semana): static
  97.     {
  98.         $this->semana $semana;
  99.         return $this;
  100.     }
  101.     public function getHora(): ?\DateTimeInterface
  102.     {
  103.         return $this->hora;
  104.     }
  105.     public function setHora(\DateTimeInterface $hora): static
  106.     {
  107.         $this->hora $hora;
  108.         return $this;
  109.     }
  110.     public function getProceso(): ?ParProceso
  111.     {
  112.         return $this->proceso;
  113.     }
  114.     public function setProceso(?ParProceso $proceso): static
  115.     {
  116.         $this->proceso $proceso;
  117.         return $this;
  118.     }
  119.     public function getUsuario(): ?string
  120.     {
  121.         return $this->usuario;
  122.     }
  123.     public function setUsuario(string $usuario): static
  124.     {
  125.         $this->usuario $usuario;
  126.         return $this;
  127.     }
  128.     public function getAcceso(): ?string
  129.     {
  130.         return $this->acceso;
  131.     }
  132.     public function setAcceso(string $acceso): static
  133.     {
  134.         $this->acceso $acceso;
  135.         return $this;
  136.     }
  137.     public function getValidez(): ?string
  138.     {
  139.         return $this->validez;
  140.     }
  141.     public function setValidez(string $validez): static
  142.     {
  143.         $this->validez $validez;
  144.         return $this;
  145.     }
  146.     public function getRegistro(): ?string
  147.     {
  148.         return $this->registro;
  149.     }
  150.     public function setRegistro(string $registro): static
  151.     {
  152.         $this->registro $registro;
  153.         return $this;
  154.     }
  155.     public function getDias(): ?string
  156.     {
  157.         return $this->dias;
  158.     }
  159.     public function setDias(string $dias): static
  160.     {
  161.         $this->dias $dias;
  162.         return $this;
  163.     }
  164.     public function getHoraIngreso(): ?\DateTimeInterface
  165.     {
  166.         return $this->horaIngreso;
  167.     }
  168.     public function setHoraIngreso(?\DateTimeInterface $horaIngreso): static
  169.     {
  170.         $this->horaIngreso $horaIngreso;
  171.         return $this;
  172.     }
  173.     public function getHoraSalida(): ?\DateTimeInterface
  174.     {
  175.         return $this->horaSalida;
  176.     }
  177.     public function setHoraSalida(?\DateTimeInterface $horaSalida): static
  178.     {
  179.         $this->horaSalida $horaSalida;
  180.         return $this;
  181.     }
  182.     public function getHorasTrabajadas(): ?int
  183.     {
  184.         return $this->horasTrabajadas;
  185.     }
  186.     public function setHorasTrabajadas(?int $horasTrabajadas): static
  187.     {
  188.         $this->horasTrabajadas $horasTrabajadas;
  189.         return $this;
  190.     }
  191.     public function getMayJornada(): ?string
  192.     {
  193.         return $this->mayJornada;
  194.     }
  195.     public function setMayJornada(?string $mayJornada): static
  196.     {
  197.         $this->mayJornada $mayJornada;
  198.         return $this;
  199.     }
  200.     public function getDifTiempo(): ?int
  201.     {
  202.         return $this->difTiempo;
  203.     }
  204.     public function setDifTiempo(?int $difTiempo): static
  205.     {
  206.         $this->difTiempo $difTiempo;
  207.         return $this;
  208.     }
  209.     public function getH1(): ?string
  210.     {
  211.         return $this->H1;
  212.     }
  213.     public function setH1(?string $H1): static
  214.     {
  215.         $this->H1 $H1;
  216.         return $this;
  217.     }
  218.     public function getH2(): ?string
  219.     {
  220.         return $this->H2;
  221.     }
  222.     public function setH2(?string $H2): static
  223.     {
  224.         $this->H2 $H2;
  225.         return $this;
  226.     }
  227.     public function getH3(): ?string
  228.     {
  229.         return $this->H3;
  230.     }
  231.     public function setH3(?string $H3): static
  232.     {
  233.         $this->H3 $H3;
  234.         return $this;
  235.     }
  236.     public function getH4(): ?string
  237.     {
  238.         return $this->H4;
  239.     }
  240.     public function setH4(?string $H4): static
  241.     {
  242.         $this->H4 $H4;
  243.         return $this;
  244.     }
  245.     public function getCreateUser(): ?string
  246.     {
  247.         return $this->createUser;
  248.     }
  249.     public function setCreateUser(string $createUser): static
  250.     {
  251.         $this->createUser $createUser;
  252.         return $this;
  253.     }
  254.     public function getCreateAt(): ?\DateTimeInterface
  255.     {
  256.         return $this->createAt;
  257.     }
  258.     public function setCreateAt(\DateTimeInterface $createAt): static
  259.     {
  260.         $this->createAt $createAt;
  261.         return $this;
  262.     }
  263.     public function getUpdateUser(): ?string
  264.     {
  265.         return $this->updateUser;
  266.     }
  267.     public function setUpdateUser(string $updateUser): static
  268.     {
  269.         $this->updateUser $updateUser;
  270.         return $this;
  271.     }
  272.     public function getUpdateAt(): ?\DateTimeInterface
  273.     {
  274.         return $this->updateAt;
  275.     }
  276.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  277.     {
  278.         $this->updateAt $updateAt;
  279.         return $this;
  280.     }
  281. }