src/Entity/VeiculoMulta.php line 10
<?php
namespace App\Entity;
use App\Repository\VeiculoMultaRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: VeiculoMultaRepository::class)]
class VeiculoMulta
{
#[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: 255, nullable: true)]
private ?string $lancamento = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $descricao = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $codigo = null;
#[ORM\Column(length: 10, nullable: true)]
private ?string $pontuacao = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $recurso = null;
#[ORM\ManyToOne(inversedBy: 'veiculoMultas')]
private ?Veiculo $veiculo = 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 getLancamento(): ?string
{
return $this->lancamento;
}
public function setLancamento(?string $lancamento): self
{
$this->lancamento = $lancamento;
return $this;
}
public function getDescricao(): ?string
{
return $this->descricao;
}
public function setDescricao(?string $descricao): self
{
$this->descricao = $descricao;
return $this;
}
public function getCodigo(): ?string
{
return $this->codigo;
}
public function setCodigo(?string $codigo): self
{
$this->codigo = $codigo;
return $this;
}
public function getPontuacao(): ?string
{
return $this->pontuacao;
}
public function setPontuacao(?string $pontuacao): self
{
$this->pontuacao = $pontuacao;
return $this;
}
public function getRecurso(): ?string
{
return $this->recurso;
}
public function setRecurso(?string $recurso): self
{
$this->recurso = $recurso;
return $this;
}
public function getVeiculo(): ?Veiculo
{
return $this->veiculo;
}
public function setVeiculo(?Veiculo $veiculo): self
{
$this->veiculo = $veiculo;
return $this;
}
}