Add color field in customer vehicle
This commit is contained in:
parent
2222628375
commit
f4019fb423
1 changed files with 18 additions and 0 deletions
|
|
@ -56,6 +56,13 @@ class CustomerVehicle
|
||||||
*/
|
*/
|
||||||
protected $model_year;
|
protected $model_year;
|
||||||
|
|
||||||
|
// color of customer's vehicle
|
||||||
|
/**
|
||||||
|
* @ORM\Column(type="string", length=25)
|
||||||
|
* @Assert\NotBlank()
|
||||||
|
*/
|
||||||
|
protected $color;
|
||||||
|
|
||||||
// vehicle status (new / second-hand)
|
// vehicle status (new / second-hand)
|
||||||
/**
|
/**
|
||||||
* @ORM\Column(type="string", length=15)
|
* @ORM\Column(type="string", length=15)
|
||||||
|
|
@ -154,6 +161,17 @@ class CustomerVehicle
|
||||||
return $this->model_year;
|
return $this->model_year;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function setColor($color)
|
||||||
|
{
|
||||||
|
$this->color = $color;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function getColor()
|
||||||
|
{
|
||||||
|
return $this->color;
|
||||||
|
}
|
||||||
|
|
||||||
public function setStatusCondition($status_condition)
|
public function setStatusCondition($status_condition)
|
||||||
{
|
{
|
||||||
$this->status_condition = $status_condition;
|
$this->status_condition = $status_condition;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue