src/Entity/VeiculoMulta.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\VeiculoMultaRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassVeiculoMultaRepository::class)]
  7. class VeiculoMulta
  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(length255nullabletrue)]
  18.     private ?string $lancamento null;
  19.     #[ORM\Column(length255nullabletrue)]
  20.     private ?string $descricao null;
  21.     #[ORM\Column(length255nullabletrue)]
  22.     private ?string $codigo null;
  23.     #[ORM\Column(length10nullabletrue)]
  24.     private ?string $pontuacao null;
  25.     #[ORM\Column(length255nullabletrue)]
  26.     private ?string $recurso null;
  27.     #[ORM\ManyToOne(inversedBy'veiculoMultas')]
  28.     private ?Veiculo $veiculo null;
  29.     public function getId(): ?int
  30.     {
  31.         return $this->id;
  32.     }
  33.     public function getCondutor(): ?string
  34.     {
  35.         return $this->condutor;
  36.     }
  37.     public function setCondutor(?string $condutor): self
  38.     {
  39.         $this->condutor $condutor;
  40.         return $this;
  41.     }
  42.     public function getData(): ?\DateTimeInterface
  43.     {
  44.         return $this->data;
  45.     }
  46.     public function setData(?\DateTimeInterface $data): self
  47.     {
  48.         $this->data $data;
  49.         return $this;
  50.     }
  51.     public function getLancamento(): ?string
  52.     {
  53.         return $this->lancamento;
  54.     }
  55.     public function setLancamento(?string $lancamento): self
  56.     {
  57.         $this->lancamento $lancamento;
  58.         return $this;
  59.     }
  60.     public function getDescricao(): ?string
  61.     {
  62.         return $this->descricao;
  63.     }
  64.     public function setDescricao(?string $descricao): self
  65.     {
  66.         $this->descricao $descricao;
  67.         return $this;
  68.     }
  69.     public function getCodigo(): ?string
  70.     {
  71.         return $this->codigo;
  72.     }
  73.     public function setCodigo(?string $codigo): self
  74.     {
  75.         $this->codigo $codigo;
  76.         return $this;
  77.     }
  78.     public function getPontuacao(): ?string
  79.     {
  80.         return $this->pontuacao;
  81.     }
  82.     public function setPontuacao(?string $pontuacao): self
  83.     {
  84.         $this->pontuacao $pontuacao;
  85.         return $this;
  86.     }
  87.     public function getRecurso(): ?string
  88.     {
  89.         return $this->recurso;
  90.     }
  91.     public function setRecurso(?string $recurso): self
  92.     {
  93.         $this->recurso $recurso;
  94.         return $this;
  95.     }
  96.     public function getVeiculo(): ?Veiculo
  97.     {
  98.         return $this->veiculo;
  99.     }
  100.     public function setVeiculo(?Veiculo $veiculo): self
  101.     {
  102.         $this->veiculo $veiculo;
  103.         return $this;
  104.     }
  105.     
  106. }