src/Entity/VeiculoAbastecimento.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VeiculoAbastecimentoRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassVeiculoAbastecimentoRepository::class)]
  7. class VeiculoAbastecimento
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255nullabletrue)]
  14.     private ?string $condutor null;
  15.     #[ORM\Column(typeTypes::DATE_MUTABLEnullabletrue)]
  16.     private ?\DateTimeInterface $data null;
  17.     #[ORM\Column(length10nullabletrue)]
  18.     private ?string $qtd null;
  19.     #[ORM\Column(typeTypes::DECIMALprecision12scale2nullabletrue)]
  20.     private ?string $valorUnit null;
  21.     #[ORM\Column(typeTypes::DECIMALprecision12scale2nullabletrue)]
  22.     private ?string $valorTotal null;
  23.     #[ORM\Column(length10nullabletrue)]
  24.     private ?string $veiculo null;
  25.     #[ORM\Column(length45nullabletrue)]
  26.     private ?string $documento null;
  27.     
  28.     #[ORM\Column]
  29.     private ?int $codigo null;    
  30.     public function getId(): ?int
  31.     {
  32.         return $this->id;
  33.     }
  34.     public function getCondutor(): ?string
  35.     {
  36.         return $this->condutor;
  37.     }
  38.     public function setCondutor(?string $condutor): self
  39.     {
  40.         $this->condutor $condutor;
  41.         return $this;
  42.     }
  43.     public function getData(): ?\DateTimeInterface
  44.     {
  45.         return $this->data;
  46.     }
  47.     public function setData(?\DateTimeInterface $data): self
  48.     {
  49.         $this->data $data;
  50.         return $this;
  51.     }
  52.     public function getQtd(): ?string
  53.     {
  54.         return $this->qtd;
  55.     }
  56.     public function setQtd(?string $qtd): self
  57.     {
  58.         $this->qtd $qtd;
  59.         return $this;
  60.     }
  61.     public function getValorUnit(): ?string
  62.     {
  63.         return $this->valorUnit;
  64.     }
  65.     public function setValorUnit(?string $valorUnit): self
  66.     {
  67.         $this->valorUnit $valorUnit;
  68.         return $this;
  69.     }
  70.     public function getValorTotal(): ?string
  71.     {
  72.         return $this->valorTotal;
  73.     }
  74.     public function setValorTotal(?string $valorTotal): self
  75.     {
  76.         $this->valorTotal $valorTotal;
  77.         return $this;
  78.     }
  79.     public function getVeiculo(): ?string
  80.     {
  81.         return $this->veiculo;
  82.     }
  83.     public function setVeiculo(?string $veiculo): self
  84.     {
  85.         $this->veiculo $veiculo;
  86.         return $this;
  87.     }
  88.     public function getDocumento(): ?string
  89.     {
  90.         return $this->documento;
  91.     }
  92.     public function setDocumento(?string $documento): self
  93.     {
  94.         $this->documento $documento;
  95.         return $this;
  96.     }
  97.     
  98.     public function getCodigo(): ?int {
  99.         return $this->codigo;
  100.     }
  101.     public function setCodigo(?int $codigo): void {
  102.         $this->codigo $codigo;
  103.     }    
  104. }