diff --git a/src/Entity/CustomerVehicle.php b/src/Entity/CustomerVehicle.php index 5f26ab23..60967653 100644 --- a/src/Entity/CustomerVehicle.php +++ b/src/Entity/CustomerVehicle.php @@ -56,6 +56,13 @@ class CustomerVehicle */ protected $model_year; + // color of customer's vehicle + /** + * @ORM\Column(type="string", length=25) + * @Assert\NotBlank() + */ + protected $color; + // vehicle status (new / second-hand) /** * @ORM\Column(type="string", length=15) @@ -154,6 +161,17 @@ class CustomerVehicle return $this->model_year; } + public function setColor($color) + { + $this->color = $color; + return $this; + } + + public function getColor() + { + return $this->color; + } + public function setStatusCondition($status_condition) { $this->status_condition = $status_condition;