src/Entity/CarFleet.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\CarFleetRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=CarFleetRepository::class)
  7.  */
  8. class CarFleet
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="integer", nullable=true)
  18.      */
  19.     private $billingOrder;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $type;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $brand;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $model;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $registration;
  36.     /**
  37.      * @ORM\Column(type="string", length=255, nullable=true)
  38.      */
  39.     private $customer;
  40.     /**
  41.      * @ORM\Column(type="integer", nullable=true)
  42.      */
  43.     private $monthlyPayment;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getBillingOrder(): ?int
  49.     {
  50.         return $this->billingOrder;
  51.     }
  52.     public function setBillingOrder(?int $billingOrder): self
  53.     {
  54.         $this->billingOrder $billingOrder;
  55.         return $this;
  56.     }
  57.     public function getType(): ?string
  58.     {
  59.         return $this->type;
  60.     }
  61.     public function setType(string $type): self
  62.     {
  63.         $this->type $type;
  64.         return $this;
  65.     }
  66.     public function getBrand(): ?string
  67.     {
  68.         return $this->brand;
  69.     }
  70.     public function setBrand(string $brand): self
  71.     {
  72.         $this->brand $brand;
  73.         return $this;
  74.     }
  75.     public function getModel(): ?string
  76.     {
  77.         return $this->model;
  78.     }
  79.     public function setModel(string $model): self
  80.     {
  81.         $this->model $model;
  82.         return $this;
  83.     }
  84.     public function getRegistration(): ?string
  85.     {
  86.         return $this->registration;
  87.     }
  88.     public function setRegistration(string $registration): self
  89.     {
  90.         $this->registration $registration;
  91.         return $this;
  92.     }
  93.     public function getMonthlyPayment(): ?int
  94.     {
  95.         return $this->monthlyPayment;
  96.     }
  97.     public function setMonthlyPayment(?int $monthlyPayment): self
  98.     {
  99.         $this->monthlyPayment $monthlyPayment;
  100.         return $this;
  101.     }
  102.     public function getCustomer(): ?string
  103.     {
  104.         return $this->customer;
  105.     }
  106.     public function setCustomer(?string $customer): self
  107.     {
  108.         $this->customer $customer;
  109.         return $this;
  110.     }
  111. }