src/CoreBundle/Entity/UserCar.php line 13

Open in your IDE?
  1. <?php
  2. namespace CoreBundle\Entity;
  3. use DcSiteBundle\Entity\FuelTypes;
  4. use DcSiteBundle\Entity\DriveUnitTypes;
  5. use DcSiteBundle\Entity\TransmissionTypes;
  6. use DcSiteBundle\Entity\ServiceVariation;
  7. /**
  8.  * UserCar
  9.  */
  10. class UserCar
  11. {
  12.     /**
  13.      * @var integer
  14.      */
  15.     private $id;
  16.     /**
  17.      * @var string
  18.      */
  19.     private $brand;
  20.     /**
  21.      * @var string
  22.      */
  23.     private $model;
  24.     /**
  25.      * @var string
  26.      */
  27.     private $vin;
  28.     /**
  29.      * @var integer
  30.      */
  31.     private $mileage;
  32.     /**
  33.      * @var User
  34.      */
  35.     private $user;
  36.     /**
  37.      * Get id
  38.      *
  39.      * @return integer
  40.      */
  41.     public function getId()
  42.     {
  43.         return $this->id;
  44.     }
  45.     /**
  46.      * Set brand
  47.      *
  48.      * @param string $brand
  49.      *
  50.      * @return UserCar
  51.      */
  52.     public function setBrand($brand)
  53.     {
  54.         $this->brand $brand;
  55.         return $this;
  56.     }
  57.     /**
  58.      * Get brand
  59.      *
  60.      * @return string
  61.      */
  62.     public function getBrand()
  63.     {
  64.         return $this->brand;
  65.     }
  66.     /**
  67.      * Set model
  68.      *
  69.      * @param string $model
  70.      *
  71.      * @return UserCar
  72.      */
  73.     public function setModel($model)
  74.     {
  75.         $this->model $model;
  76.         return $this;
  77.     }
  78.     /**
  79.      * Get model
  80.      *
  81.      * @return string
  82.      */
  83.     public function getModel()
  84.     {
  85.         return $this->model;
  86.     }
  87.     /**
  88.      * Set vin
  89.      *
  90.      * @param string $vin
  91.      *
  92.      * @return UserCar
  93.      */
  94.     public function setVin($vin)
  95.     {
  96.         $this->vin $vin;
  97.         return $this;
  98.     }
  99.     /**
  100.      * Get vin
  101.      *
  102.      * @return string
  103.      */
  104.     public function getVin()
  105.     {
  106.         return $this->vin;
  107.     }
  108.     /**
  109.      * Set mileage
  110.      *
  111.      * @param integer $mileage
  112.      *
  113.      * @return UserCar
  114.      */
  115.     public function setMileage($mileage)
  116.     {
  117.         $this->mileage $mileage;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get mileage
  122.      *
  123.      * @return integer
  124.      */
  125.     public function getMileage()
  126.     {
  127.         return $this->mileage;
  128.     }
  129.     /**
  130.      * Set user
  131.      *
  132.      * @param User $user
  133.      *
  134.      * @return UserCar
  135.      */
  136.     public function setUser(User $user null)
  137.     {
  138.         $this->user $user;
  139.         return $this;
  140.     }
  141.     /**
  142.      * Get user
  143.      *
  144.      * @return User
  145.      */
  146.     public function getUser()
  147.     {
  148.         return $this->user;
  149.     }
  150.     /**
  151.      * @var string
  152.      */
  153.     private $number;
  154.     /**
  155.      * Set number
  156.      *
  157.      * @param string $number
  158.      *
  159.      * @return UserCar
  160.      */
  161.     public function setNumber($number)
  162.     {
  163.         $this->number $number;
  164.         return $this;
  165.     }
  166.     /**
  167.      * Get number
  168.      *
  169.      * @return string
  170.      */
  171.     public function getNumber()
  172.     {
  173.         return $this->number;
  174.     }
  175.     /**
  176.      * @var string
  177.      */
  178.     private $onec_insurance_uid;
  179.     /**
  180.      * Set onecInsuranceUid
  181.      *
  182.      * @param string $onecInsuranceUid
  183.      *
  184.      * @return UserCar
  185.      */
  186.     public function setOnecInsuranceUid($onecInsuranceUid)
  187.     {
  188.         $this->onec_insurance_uid $onecInsuranceUid;
  189.         return $this;
  190.     }
  191.     /**
  192.      * Get onecInsuranceUid
  193.      *
  194.      * @return string
  195.      */
  196.     public function getOnecInsuranceUid()
  197.     {
  198.         return $this->onec_insurance_uid;
  199.     }
  200.     /**
  201.      * @var string
  202.      */
  203.     private $car_uid;
  204.     /**
  205.      * @var string
  206.      */
  207.     private $brand_uid;
  208.     /**
  209.      * @var string
  210.      */
  211.     private $model_uid;
  212.     /**
  213.      * @var integer
  214.      */
  215.     private $year_of_production;
  216.     /**
  217.      * Set carUid
  218.      *
  219.      * @param string $carUid
  220.      *
  221.      * @return UserCar
  222.      */
  223.     public function setCarUid($carUid)
  224.     {
  225.         $this->car_uid $carUid;
  226.         return $this;
  227.     }
  228.     /**
  229.      * Get carUid
  230.      *
  231.      * @return string
  232.      */
  233.     public function getCarUid()
  234.     {
  235.         return $this->car_uid;
  236.     }
  237.     /**
  238.      * Set brandUid
  239.      *
  240.      * @param string $brandUid
  241.      *
  242.      * @return UserCar
  243.      */
  244.     public function setBrandUid($brandUid)
  245.     {
  246.         $this->brand_uid $brandUid;
  247.         return $this;
  248.     }
  249.     /**
  250.      * Get brandUid
  251.      *
  252.      * @return string
  253.      */
  254.     public function getBrandUid()
  255.     {
  256.         return $this->brand_uid;
  257.     }
  258.     /**
  259.      * Set modelUid
  260.      *
  261.      * @param string $modelUid
  262.      *
  263.      * @return UserCar
  264.      */
  265.     public function setModelUid($modelUid)
  266.     {
  267.         $this->model_uid $modelUid;
  268.         return $this;
  269.     }
  270.     /**
  271.      * Get modelUid
  272.      *
  273.      * @return string
  274.      */
  275.     public function getModelUid()
  276.     {
  277.         return $this->model_uid;
  278.     }
  279.     /**
  280.      * Set yearOfProduction
  281.      *
  282.      * @param integer $yearOfProduction
  283.      *
  284.      * @return UserCar
  285.      */
  286.     public function setYearOfProduction($yearOfProduction)
  287.     {
  288.         $this->year_of_production $yearOfProduction;
  289.         return $this;
  290.     }
  291.     /**
  292.      * Get yearOfProduction
  293.      *
  294.      * @return integer
  295.      */
  296.     public function getYearOfProduction()
  297.     {
  298.         return $this->year_of_production;
  299.     }
  300.     /**
  301.      * @var FuelTypes
  302.      */
  303.     private $fuel_type;
  304.     /**
  305.      * @var DriveUnitTypes
  306.      */
  307.     private $drive_unit;
  308.     /**
  309.      * @var TransmissionTypes
  310.      */
  311.     private $transmission_type;
  312.     /**
  313.      * Set fuelType
  314.      *
  315.      * @param FuelTypes $fuelType
  316.      *
  317.      * @return UserCar
  318.      */
  319.     public function setFuelType(FuelTypes $fuelType null)
  320.     {
  321.         $this->fuel_type $fuelType;
  322.         return $this;
  323.     }
  324.     /**
  325.      * Get fuelType
  326.      *
  327.      * @return FuelTypes
  328.      */
  329.     public function getFuelType()
  330.     {
  331.         return $this->fuel_type;
  332.     }
  333.     /**
  334.      * Set driveUnit
  335.      *
  336.      * @param DriveUnitTypes $driveUnit
  337.      *
  338.      * @return UserCar
  339.      */
  340.     public function setDriveUnit(DriveUnitTypes $driveUnit null)
  341.     {
  342.         $this->drive_unit $driveUnit;
  343.         return $this;
  344.     }
  345.     /**
  346.      * Get driveUnit
  347.      *
  348.      * @return DriveUnitTypes
  349.      */
  350.     public function getDriveUnit()
  351.     {
  352.         return $this->drive_unit;
  353.     }
  354.     /**
  355.      * Set transmissionType
  356.      *
  357.      * @param TransmissionTypes $transmissionType
  358.      *
  359.      * @return UserCar
  360.      */
  361.     public function setTransmissionType(TransmissionTypes $transmissionType null)
  362.     {
  363.         $this->transmission_type $transmissionType;
  364.         return $this;
  365.     }
  366.     /**
  367.      * Get transmissionType
  368.      *
  369.      * @return TransmissionTypes
  370.      */
  371.     public function getTransmissionType()
  372.     {
  373.         return $this->transmission_type;
  374.     }
  375.     /**
  376.      * @var Model
  377.      */
  378.     private $car_model;
  379.     /**
  380.      * Set carModel
  381.      *
  382.      * @param Model $carModel
  383.      *
  384.      * @return UserCar
  385.      */
  386.     public function setCarModel(Model $carModel null)
  387.     {
  388.         $this->car_model $carModel;
  389.         return $this;
  390.     }
  391.     /**
  392.      * Get carModel
  393.      *
  394.      * @return Model
  395.      */
  396.     public function getCarModel()
  397.     {
  398.         return $this->car_model;
  399.     }
  400.     /**
  401.      * @var float
  402.      */
  403.     private $engine_volume;
  404.     /**
  405.      * Set engineVolume
  406.      *
  407.      * @param float $engineVolume
  408.      *
  409.      * @return UserCar
  410.      */
  411.     public function setEngineVolume($engineVolume)
  412.     {
  413.         $this->engine_volume $engineVolume;
  414.         return $this;
  415.     }
  416.     /**
  417.      * Get engineVolume
  418.      *
  419.      * @return float
  420.      */
  421.     public function getEngineVolume()
  422.     {
  423.         return $this->engine_volume;
  424.     }
  425.     /**
  426.      * @var ServiceVariation
  427.      */
  428.     private $service_variation;
  429.     /**
  430.      * Set ServiceVariation
  431.      *
  432.      * @param ServiceVariation $serviceVariation
  433.      *
  434.      * @return UserCar
  435.      */
  436.     public function setServiceVariation(ServiceVariation $serviceVariation null)
  437.     {
  438.         $this->service_variation $serviceVariation;
  439.         return $this;
  440.     }
  441.     /**
  442.      * Get ServiceVariation
  443.      *
  444.      * @return ServiceVariation
  445.      */
  446.     public function getServiceVariation()
  447.     {
  448.         return $this->service_variation;
  449.     }
  450.     /**
  451.      * @var integer
  452.      */
  453.     private $is_deleted;
  454.     /**
  455.      * Set isDeleted
  456.      *
  457.      * @param integer $isDeleted
  458.      *
  459.      * @return UserCar
  460.      */
  461.     public function setIsDeleted($isDeleted)
  462.     {
  463.         $this->is_deleted $isDeleted;
  464.         return $this;
  465.     }
  466.     /**
  467.      * Get isDeleted
  468.      *
  469.      * @return integer
  470.      */
  471.     public function getIsDeleted()
  472.     {
  473.         return $this->is_deleted;
  474.     }
  475. }