package bg.car_wash.areas.car.models.viewModel;

import bg.car_wash.areas.car.entity.CarType;
import bg.car_wash.areas.customer.entity.Customer;
import bg.car_wash.areas.customer.models.viewModels.CustomerViewModel;

public class CarViewModel {

	private Long id;

	private String carRegistrationNumber;

	private String carModel;

	private String carMake;

	private CarType carType;

	private CustomerViewModel owner;

	public CarViewModel() {
	}

	public String getCarRegistrationNumber() {
		return carRegistrationNumber;
	}

	public void setCarRegistrationNumber(String carRegistrationNumber) {
		this.carRegistrationNumber = carRegistrationNumber;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCarModel() {
		return this.carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getCarMake() {
		return this.carMake;
	}

	public void setCarMake(String carMake) {
		this.carMake = carMake;
	}

	public CarType getCarType() {
		return this.carType;
	}

	public void setCarType(CarType carType) {
		this.carType = carType;
	}

	public CustomerViewModel getOwner() {
		return this.owner;
	}

	public void setOwner(CustomerViewModel owner) {
		this.owner = owner;
	}
}

@@ -125,94 +125,86 @@
 mer.
-entity.Customer;%0Aimport bg.car_wash.areas.customer.models.viewModels.CustomerViewModel
+models.viewModels.CustomerViewModel;%0Aimport com.google.gson.annotations.Expose
 ;%0A%0Ap
@@ -231,16 +231,25 @@
 odel %7B%0A%0A
+%09@Expose%0A
 %09private
@@ -259,16 +259,25 @@
 ng id;%0A%0A
+%09@Expose%0A
 %09private
@@ -308,16 +308,25 @@
 umber;%0A%0A
+%09@Expose%0A
 %09private
@@ -344,16 +344,25 @@
 Model;%0A%0A
+%09@Expose%0A
 %09private
@@ -375,24 +375,33 @@
 g carMake;%0A%0A
+%09@Expose%0A
 %09private Car
@@ -415,16 +415,25 @@
 rType;%0A%0A
+%09@Expose%0A
 %09private

add @Expose annotation