src/Entity/SegSalidaMuestra.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SegSalidaMuestraRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassSegSalidaMuestraRepository::class)]
  7. class SegSalidaMuestra
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  14.     private ?\DateTimeInterface $fechaSalida null;
  15.     #[ORM\ManyToOne(inversedBy'salidaMuestra')]
  16.     private ?TerEmpresaCliente $cliente null;
  17.     #[ORM\Column(length50)]
  18.     private ?string $OT null;
  19.     #[ORM\Column(length255)]
  20.     private ?string $tipoMercancia null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $referencia null;
  23.     #[ORM\Column]
  24.     private ?int $cantidad null;
  25.     #[ORM\ManyToOne(inversedBy'salidaMuestra')]
  26.     private ?ParMotivoRetiroMuestra $motivoRetiro null;
  27.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  28.     private ?string $observacion null;
  29.     #[ORM\Column(length255)]
  30.     private ?string $evidencia null;
  31.     #[ORM\Column(length255nullabletrue)]
  32.     private ?string $nombreRetiraMuestra null;
  33.     #[ORM\Column(length255nullabletrue)]
  34.     private ?string $empresa null;
  35.     #[ORM\ManyToOne(inversedBy'autorizaSalidaMuestra')]
  36.     private ?TerPersona $autorizaRetiro null;
  37.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  38.     private ?\DateTimeInterface $createAt null;
  39.     #[ORM\Column(length50)]
  40.     private ?string $createUser null;
  41.     #[ORM\Column(typeTypes::DATETIME_MUTABLE)]
  42.     private ?\DateTimeInterface $updateAt null;
  43.     #[ORM\Column(length50)]
  44.     private ?string $updateUser null;
  45.     #[ORM\Column(typeTypes::DATETIME_MUTABLEnullabletrue)]
  46.     private ?\DateTimeInterface $fechaReingreso null;
  47.     #[ORM\Column(length255nullabletrue)]
  48.     private ?string $evidenciaReingreso null;
  49.     #[ORM\Column(typeTypes::TEXTnullabletrue)]
  50.     private ?string $observacionReingreso null;
  51.     public function getId(): ?int
  52.     {
  53.         return $this->id;
  54.     }
  55.     public function getFechaSalida(): ?\DateTimeInterface
  56.     {
  57.         return $this->fechaSalida;
  58.     }
  59.     public function setFechaSalida(\DateTimeInterface $fechaSalida): static
  60.     {
  61.         $this->fechaSalida $fechaSalida;
  62.         return $this;
  63.     }
  64.     public function getCliente(): ?TerEmpresaCliente
  65.     {
  66.         return $this->cliente;
  67.     }
  68.     public function setCliente(?TerEmpresaCliente $cliente): static
  69.     {
  70.         $this->cliente $cliente;
  71.         return $this;
  72.     }
  73.     public function getOT(): ?string
  74.     {
  75.         return $this->OT;
  76.     }
  77.     public function setOT(string $OT): static
  78.     {
  79.         $this->OT $OT;
  80.         return $this;
  81.     }
  82.     public function getTipoMercancia(): ?string
  83.     {
  84.         return $this->tipoMercancia;
  85.     }
  86.     public function setTipoMercancia(string $tipoMercancia): static
  87.     {
  88.         $this->tipoMercancia $tipoMercancia;
  89.         return $this;
  90.     }
  91.     public function getReferencia(): ?string
  92.     {
  93.         return $this->referencia;
  94.     }
  95.     public function setReferencia(?string $referencia): static
  96.     {
  97.         $this->referencia $referencia;
  98.         return $this;
  99.     }
  100.     public function getCantidad(): ?int
  101.     {
  102.         return $this->cantidad;
  103.     }
  104.     public function setCantidad(int $cantidad): static
  105.     {
  106.         $this->cantidad $cantidad;
  107.         return $this;
  108.     }
  109.     public function getMotivoRetiro(): ?ParMotivoRetiroMuestra
  110.     {
  111.         return $this->motivoRetiro;
  112.     }
  113.     public function setMotivoRetiro(?ParMotivoRetiroMuestra $motivoRetiro): static
  114.     {
  115.         $this->motivoRetiro $motivoRetiro;
  116.         return $this;
  117.     }
  118.     public function getObservacion(): ?string
  119.     {
  120.         return $this->observacion;
  121.     }
  122.     public function setObservacion(?string $observacion): static
  123.     {
  124.         $this->observacion $observacion;
  125.         return $this;
  126.     }
  127.     public function getEvidencia(): ?string
  128.     {
  129.         return $this->evidencia;
  130.     }
  131.     public function setEvidencia(string $evidencia): static
  132.     {
  133.         $this->evidencia $evidencia;
  134.         return $this;
  135.     }
  136.     public function getNombreRetiraMuestra(): ?string
  137.     {
  138.         return $this->nombreRetiraMuestra;
  139.     }
  140.     public function setNombreRetiraMuestra(string $nombreRetiraMuestra): static
  141.     {
  142.         $this->nombreRetiraMuestra $nombreRetiraMuestra;
  143.         return $this;
  144.     }
  145.     public function getEmpresa(): ?string
  146.     {
  147.         return $this->empresa;
  148.     }
  149.     public function setEmpresa(string $empresa): static
  150.     {
  151.         $this->empresa $empresa;
  152.         return $this;
  153.     }
  154.     public function getAutorizaRetiro(): ?TerPersona
  155.     {
  156.         return $this->autorizaRetiro;
  157.     }
  158.     public function setAutorizaRetiro(?TerPersona $autorizaRetiro): static
  159.     {
  160.         $this->autorizaRetiro $autorizaRetiro;
  161.         return $this;
  162.     }
  163.     public function getCreateAt(): ?\DateTimeInterface
  164.     {
  165.         return $this->createAt;
  166.     }
  167.     public function setCreateAt(\DateTimeInterface $createAt): static
  168.     {
  169.         $this->createAt $createAt;
  170.         return $this;
  171.     }
  172.     public function getCreateUser(): ?string
  173.     {
  174.         return $this->createUser;
  175.     }
  176.     public function setCreateUser(string $createUser): static
  177.     {
  178.         $this->createUser $createUser;
  179.         return $this;
  180.     }
  181.     public function getUpdateAt(): ?\DateTimeInterface
  182.     {
  183.         return $this->updateAt;
  184.     }
  185.     public function setUpdateAt(\DateTimeInterface $updateAt): static
  186.     {
  187.         $this->updateAt $updateAt;
  188.         return $this;
  189.     }
  190.     public function getUpdateUser(): ?string
  191.     {
  192.         return $this->updateUser;
  193.     }
  194.     public function setUpdateUser(string $updateUser): static
  195.     {
  196.         $this->updateUser $updateUser;
  197.         return $this;
  198.     }
  199.     public function getFechaReingreso(): ?\DateTimeInterface
  200.     {
  201.         return $this->fechaReingreso;
  202.     }
  203.     public function setFechaReingreso(?\DateTimeInterface $fechaReingreso): static
  204.     {
  205.         $this->fechaReingreso $fechaReingreso;
  206.         return $this;
  207.     }
  208.     public function getEvidenciaReingreso(): ?string
  209.     {
  210.         return $this->evidenciaReingreso;
  211.     }
  212.     public function setEvidenciaReingreso(?string $evidenciaReingreso): static
  213.     {
  214.         $this->evidenciaReingreso $evidenciaReingreso;
  215.         return $this;
  216.     }
  217.     public function getObservacionReingreso(): ?string
  218.     {
  219.         return $this->observacionReingreso;
  220.     }
  221.     public function setObservacionReingreso(?string $observacionReingreso): static
  222.     {
  223.         $this->observacionReingreso $observacionReingreso;
  224.         return $this;
  225.     }
  226. }