package bg.car_wash.areas.user.models.viewModels;

import bg.car_wash.areas.user.entity.UserType;
import com.google.gson.annotations.Expose;

public class UserViewModel {

	@Expose
	private Long id;

	@Expose
	private String email;

	@Expose
	private String fullName;

	@Expose
	private UserType userType;

	public UserViewModel() {
	}

	public Long getId() {
		return id;
	}

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

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public UserType getUserType() {
		return userType;
	}

	public void setUserType(UserType userType) {
		this.userType = userType;
	}
}

@@ -326,24 +326,186 @@
 del() %7B%0A%09%7D%0A%0A
+%09public UserViewModel(String email, String fullName, UserType userType) %7B%0A%09%09this.setEmail(email);%0A%09%09this.setFullName(fullName);%0A%09%09this.setUserType(userType);%0A%09%7D%0A%0A
 %09public Long

create costructor