src/Entity/VeiculoAbastecimento.php line 10
<?php
namespace App\Entity;
use App\Repository\VeiculoAbastecimentoRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: VeiculoAbastecimentoRepository::class)]
class VeiculoAbastecimento
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $condutor = null;
#[ORM\Column(type: Types::DATE_MUTABLE, nullable: true)]
private ?\DateTimeInterface $data = null;
#[ORM\Column(length: 10, nullable: true)]
private ?string $qtd = null;
#[ORM\Column(type: Types::DECIMAL, precision: 12, scale: 2, nullable: true)]
private ?string $valorUnit = null;
#[ORM\Column(type: Types::DECIMAL, precision: 12, scale: 2, nullable: true)]
private ?string $valorTotal = null;
#[ORM\Column(length: 10, nullable: true)]
private ?string $veiculo = null;
#[ORM\Column(length: 45, nullable: true)]
private ?string $documento = null;
#[ORM\Column]
private ?int $codigo = null;
public function getId(): ?int
{
return $this->id;
}
public function getCondutor(): ?string
{
return $this->condutor;
}
public function setCondutor(?string $condutor): self
{
$this->condutor = $condutor;
return $this;
}
public function getData(): ?\DateTimeInterface
{
return $this->data;
}
public function setData(?\DateTimeInterface $data): self
{
$this->data = $data;
return $this;
}
public function getQtd(): ?string
{
return $this->qtd;
}
public function setQtd(?string $qtd): self
{
$this->qtd = $qtd;
return $this;
}
public function getValorUnit(): ?string
{
return $this->valorUnit;
}
public function setValorUnit(?string $valorUnit): self
{
$this->valorUnit = $valorUnit;
return $this;
}
public function getValorTotal(): ?string
{
return $this->valorTotal;
}
public function setValorTotal(?string $valorTotal): self
{
$this->valorTotal = $valorTotal;
return $this;
}
public function getVeiculo(): ?string
{
return $this->veiculo;
}
public function setVeiculo(?string $veiculo): self
{
$this->veiculo = $veiculo;
return $this;
}
public function getDocumento(): ?string
{
return $this->documento;
}
public function setDocumento(?string $documento): self
{
$this->documento = $documento;
return $this;
}
public function getCodigo(): ?int {
return $this->codigo;
}
public function setCodigo(?int $codigo): void {
$this->codigo = $codigo;
}
}