src/Entity/RFPrecintoRegistro.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\RFPrecintoRegistroRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Table(name'rf_precinto_registro')]
  7. #[ORM\Entity(repositoryClassRFPrecintoRegistroRepository::class)]
  8. class RFPrecintoRegistro
  9. {
  10.     #[ORM\Id]
  11.     #[ORM\GeneratedValue]
  12.     #[ORM\Column]
  13.     private ?int $id null;
  14.     #[ORM\ManyToOne(inversedBy'precintoRegistro')]
  15.     private ?RFPrecintoCodigo $precintoCodigo null;
  16.     #[ORM\Column(nullabletrue)]
  17.     private ?bool $novedad null;
  18.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  19.     private ?\DateTimeInterface $fechaInstalacion null;
  20.     #[ORM\ManyToOne(inversedBy'entregaPrecintoRegistro')]
  21.     private ?TerPersona $usuarioEntrega null;
  22.     #[ORM\ManyToOne(inversedBy'precintoRegistro')]
  23.     private ?TerEmpresaCliente $cliente null;
  24.     #[ORM\Column(length255nullabletrue)]
  25.     private ?string $DT null;
  26.     #[ORM\Column(length255nullabletrue)]
  27.     private ?string $PlacaVehiculo null;
  28.     #[ORM\ManyToOne(inversedBy'instalaPrecintoRegistro')]
  29.     private ?TerPersona $usuarioInstala null;
  30.     #[ORM\ManyToOne(inversedBy'precintoRegistro')]
  31.     private ?ParActividadPrecinto $actividad null;
  32.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  33.     private ?string $observaciones null;
  34.     #[ORM\ManyToOne(inversedBy'precintoRegistro')]
  35.     private ?ParTipoNovedadPrecinto $tipoNovedad null;
  36.     #[ORM\Column(length255nullabletrue)]
  37.     private ?string $soporteNovedad null;
  38.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  39.     private ?string $observacionNovedad null;
  40.     #[ORM\Column(nullabletrue)]
  41.     private ?bool $recibidoNovedad null;
  42.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  43.     private ?\DateTimeInterface $createAt null;
  44.     #[ORM\Column(length50)]
  45.     private ?string $createUser null;
  46.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  47.     private ?\DateTimeInterface $updateAt null;
  48.     #[ORM\Column(length50)]
  49.     private ?string $updateUser null;
  50.     public function getId(): ?int
  51.     {
  52.         return $this->id;
  53.     }
  54.     public function getPrecintoCodigo(): ?RFPrecintoCodigo
  55.     {
  56.         return $this->precintoCodigo;
  57.     }
  58.     public function setPrecintoCodigo(?RFPrecintoCodigo $precintoCodigo): static
  59.     {
  60.         $this->precintoCodigo $precintoCodigo;
  61.         return $this;
  62.     }
  63.     public function isNovedad(): ?bool
  64.     {
  65.         return $this->novedad;
  66.     }
  67.     public function setNovedad(?bool $novedad): static
  68.     {
  69.         $this->novedad $novedad;
  70.         return $this;
  71.     }
  72.     public function getFechaInstalacion(): ?\DateTimeInterface
  73.     {
  74.         return $this->fechaInstalacion;
  75.     }
  76.     public function setFechaInstalacion(\DateTimeInterface $fechaInstalacion): static
  77.     {
  78.         $this->fechaInstalacion $fechaInstalacion;
  79.         return $this;
  80.     }
  81.     public function getUsuarioEntrega(): ?TerPersona
  82.     {
  83.         return $this->usuarioEntrega;
  84.     }
  85.     public function setUsuarioEntrega(?TerPersona $usuarioEntrega): static
  86.     {
  87.         $this->usuarioEntrega $usuarioEntrega;
  88.         return $this;
  89.     }
  90.     public function getCliente(): ?TerEmpresaCliente
  91.     {
  92.         return $this->cliente;
  93.     }
  94.     public function setCliente(?TerEmpresaCliente $cliente): static
  95.     {
  96.         $this->cliente $cliente;
  97.         return $this;
  98.     }
  99.     public function getDT(): ?string
  100.     {
  101.         return $this->DT;
  102.     }
  103.     public function setDT(string $DT): static
  104.     {
  105.         $this->DT $DT;
  106.         return $this;
  107.     }
  108.     public function getPlacaVehiculo(): ?string
  109.     {
  110.         return $this->PlacaVehiculo;
  111.     }
  112.     public function setPlacaVehiculo(string $PlacaVehiculo): static
  113.     {
  114.         $this->PlacaVehiculo $PlacaVehiculo;
  115.         return $this;
  116.     }
  117.     public function getUsuarioInstala(): ?TerPersona
  118.     {
  119.         return $this->usuarioInstala;
  120.     }
  121.     public function setUsuarioInstala(?TerPersona $usuarioInstala): static
  122.     {
  123.         $this->usuarioInstala $usuarioInstala;
  124.         return $this;
  125.     }
  126.     public function getActividad(): ?ParActividadPrecinto
  127.     {
  128.         return $this->actividad;
  129.     }
  130.     public function setActividad(?ParActividadPrecinto $actividad): static
  131.     {
  132.         $this->actividad $actividad;
  133.         return $this;
  134.     }
  135.     public function getObservaciones(): ?string
  136.     {
  137.         return $this->observaciones;
  138.     }
  139.     public function setObservaciones(?string $observaciones): static
  140.     {
  141.         $this->observaciones $observaciones;
  142.         return $this;
  143.     }
  144.     public function getTipoNovedad(): ?ParTipoNovedadPrecinto
  145.     {
  146.         return $this->tipoNovedad;
  147.     }
  148.     public function setTipoNovedad(?ParTipoNovedadPrecinto $tipoNovedad): static
  149.     {
  150.         $this->tipoNovedad $tipoNovedad;
  151.         return $this;
  152.     }
  153.     public function getSoporteNovedad(): ?string
  154.     {
  155.         return $this->soporteNovedad;
  156.     }
  157.     public function setSoporteNovedad(?string $soporteNovedad): static
  158.     {
  159.         $this->soporteNovedad $soporteNovedad;
  160.         return $this;
  161.     }
  162.     public function getObservacionNovedad(): ?string
  163.     {
  164.         return $this->observacionNovedad;
  165.     }
  166.     public function setObservacionNovedad(?string $observacionNovedad): static
  167.     {
  168.         $this->observacionNovedad $observacionNovedad;
  169.         return $this;
  170.     }
  171.     public function isRecibidoNovedad(): ?bool
  172.     {
  173.         return $this->recibidoNovedad;
  174.     }
  175.     public function setRecibidoNovedad(?bool $recibidoNovedad): static
  176.     {
  177.         $this->recibidoNovedad $recibidoNovedad;
  178.         return $this;
  179.     }
  180.     public function getCreateAt(): ?\DateTimeInterface
  181.     {
  182.         return $this->createAt;
  183.     }
  184.     public function setCreateAt(\DateTimeInterface $createAt): static
  185.     {
  186.         $this->createAt $createAt;
  187.         return $this;
  188.     }
  189.     public function getCreateUser(): ?string
  190.     {
  191.         return $this->createUser;
  192.     }
  193.     public function setCreateUser(string $createUser): static
  194.     {
  195.         $this->createUser $createUser;
  196.         return $this;
  197.     }
  198.     public function getUpdateAt(): ?\DateTimeInterface
  199.     {
  200.         return $this->updateAt;
  201.     }
  202.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  203.     {
  204.         $this->updateAt $updateAt;
  205.         return $this;
  206.     }
  207.     public function getUpdateUser(): ?string
  208.     {
  209.         return $this->updateUser;
  210.     }
  211.     public function setUpdateUser(string $updateUser): static
  212.     {
  213.         $this->updateUser $updateUser;
  214.         return $this;
  215.     }
  216. }