<?php
namespace CoreBundle\Entity;use DcSiteBundle\Entity\FuelTypes;use DcSiteBundle\Entity\DriveUnitTypes;use DcSiteBundle\Entity\TransmissionTypes;use DcSiteBundle\Entity\ServiceVariation;/** * UserCar */class UserCar
{
    /**
     * @var integer
     */
    private $id;
    /**
     * @var string
     */
    private $brand;
    /**
     * @var string
     */
    private $model;
    /**
     * @var string
     */
    private $vin;
    /**
     * @var integer
     */
    private $mileage;
    /**     * @var User     */    private $user;
    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }
    /**
     * Set brand
     *
     * @param string $brand
     *
     * @return UserCar
     */
    public function setBrand($brand)
    {
        $this->brand = $brand;
        return $this;
    }
    /**
     * Get brand
     *
     * @return string
     */
    public function getBrand()
    {
        return $this->brand;
    }
    /**
     * Set model
     *
     * @param string $model
     *
     * @return UserCar
     */
    public function setModel($model)
    {
        $this->model = $model;
        return $this;
    }
    /**
     * Get model
     *
     * @return string
     */
    public function getModel()
    {
        return $this->model;
    }
    /**
     * Set vin
     *
     * @param string $vin
     *
     * @return UserCar
     */
    public function setVin($vin)
    {
        $this->vin = $vin;
        return $this;
    }
    /**
     * Get vin
     *
     * @return string
     */
    public function getVin()
    {
        return $this->vin;
    }
    /**
     * Set mileage
     *
     * @param integer $mileage
     *
     * @return UserCar
     */
    public function setMileage($mileage)
    {
        $this->mileage = $mileage;
        return $this;
    }
    /**
     * Get mileage
     *
     * @return integer
     */
    public function getMileage()
    {
        return $this->mileage;
    }
    /**     * Set user     *     * @param User $user     *     * @return UserCar     */    public function setUser(User $user = null)
    {
        $this->user = $user;
        return $this;
    }
    /**     * Get user     *     * @return User     */    public function getUser()
    {
        return $this->user;
    }
    /**
     * @var string
     */
    private $number;
    /**
     * Set number
     *
     * @param string $number
     *
     * @return UserCar
     */
    public function setNumber($number)
    {
        $this->number = $number;
        return $this;
    }
    /**
     * Get number
     *
     * @return string
     */
    public function getNumber()
    {
        return $this->number;
    }
    /**
     * @var string
     */
    private $onec_insurance_uid;
    /**
     * Set onecInsuranceUid
     *
     * @param string $onecInsuranceUid
     *
     * @return UserCar
     */
    public function setOnecInsuranceUid($onecInsuranceUid)
    {
        $this->onec_insurance_uid = $onecInsuranceUid;
        return $this;
    }
    /**
     * Get onecInsuranceUid
     *
     * @return string
     */
    public function getOnecInsuranceUid()
    {
        return $this->onec_insurance_uid;
    }
    /**
     * @var string
     */
    private $car_uid;
    /**
     * @var string
     */
    private $brand_uid;
    /**
     * @var string
     */
    private $model_uid;
    /**
     * @var integer
     */
    private $year_of_production;
    /**
     * Set carUid
     *
     * @param string $carUid
     *
     * @return UserCar
     */
    public function setCarUid($carUid)
    {
        $this->car_uid = $carUid;
        return $this;
    }
    /**
     * Get carUid
     *
     * @return string
     */
    public function getCarUid()
    {
        return $this->car_uid;
    }
    /**
     * Set brandUid
     *
     * @param string $brandUid
     *
     * @return UserCar
     */
    public function setBrandUid($brandUid)
    {
        $this->brand_uid = $brandUid;
        return $this;
    }
    /**
     * Get brandUid
     *
     * @return string
     */
    public function getBrandUid()
    {
        return $this->brand_uid;
    }
    /**
     * Set modelUid
     *
     * @param string $modelUid
     *
     * @return UserCar
     */
    public function setModelUid($modelUid)
    {
        $this->model_uid = $modelUid;
        return $this;
    }
    /**
     * Get modelUid
     *
     * @return string
     */
    public function getModelUid()
    {
        return $this->model_uid;
    }
    /**
     * Set yearOfProduction
     *
     * @param integer $yearOfProduction
     *
     * @return UserCar
     */
    public function setYearOfProduction($yearOfProduction)
    {
        $this->year_of_production = $yearOfProduction;
        return $this;
    }
    /**
     * Get yearOfProduction
     *
     * @return integer
     */
    public function getYearOfProduction()
    {
        return $this->year_of_production;
    }
    /**     * @var FuelTypes     */    private $fuel_type;
    /**     * @var DriveUnitTypes     */    private $drive_unit;
    /**     * @var TransmissionTypes     */    private $transmission_type;
    /**     * Set fuelType     *     * @param FuelTypes $fuelType     *     * @return UserCar     */    public function setFuelType(FuelTypes $fuelType = null)
    {
        $this->fuel_type = $fuelType;
        return $this;
    }
    /**     * Get fuelType     *     * @return FuelTypes     */    public function getFuelType()
    {
        return $this->fuel_type;
    }
    /**     * Set driveUnit     *     * @param DriveUnitTypes $driveUnit     *     * @return UserCar     */    public function setDriveUnit(DriveUnitTypes $driveUnit = null)
    {
        $this->drive_unit = $driveUnit;
        return $this;
    }
    /**     * Get driveUnit     *     * @return DriveUnitTypes     */    public function getDriveUnit()
    {
        return $this->drive_unit;
    }
    /**     * Set transmissionType     *     * @param TransmissionTypes $transmissionType     *     * @return UserCar     */    public function setTransmissionType(TransmissionTypes $transmissionType = null)
    {
        $this->transmission_type = $transmissionType;
        return $this;
    }
    /**     * Get transmissionType     *     * @return TransmissionTypes     */    public function getTransmissionType()
    {
        return $this->transmission_type;
    }
    /**     * @var Model     */    private $car_model;
    /**     * Set carModel     *     * @param Model $carModel     *     * @return UserCar     */    public function setCarModel(Model $carModel = null)
    {
        $this->car_model = $carModel;
        return $this;
    }
    /**     * Get carModel     *     * @return Model     */    public function getCarModel()
    {
        return $this->car_model;
    }
    /**
     * @var float
     */
    private $engine_volume;
    /**
     * Set engineVolume
     *
     * @param float $engineVolume
     *
     * @return UserCar
     */
    public function setEngineVolume($engineVolume)
    {
        $this->engine_volume = $engineVolume;
        return $this;
    }
    /**
     * Get engineVolume
     *
     * @return float
     */
    public function getEngineVolume()
    {
        return $this->engine_volume;
    }
    /**     * @var ServiceVariation     */    private $service_variation;
    /**     * Set ServiceVariation     *     * @param ServiceVariation $serviceVariation     *     * @return UserCar     */    public function setServiceVariation(ServiceVariation $serviceVariation = null)
    {
        $this->service_variation = $serviceVariation;
        return $this;
    }
    /**     * Get ServiceVariation     *     * @return ServiceVariation     */    public function getServiceVariation()
    {
        return $this->service_variation;
    }
    /**
     * @var integer
     */
    private $is_deleted;
    /**
     * Set isDeleted
     *
     * @param integer $isDeleted
     *
     * @return UserCar
     */
    public function setIsDeleted($isDeleted)
    {
        $this->is_deleted = $isDeleted;
        return $this;
    }
    /**
     * Get isDeleted
     *
     * @return integer
     */
    public function getIsDeleted()
    {
        return $this->is_deleted;
    }
}