71 lines
1.4 KiB
Java
Raw Normal View History

package com.baeldung.modelmapper;
2020-04-19 21:02:17 +02:00
/**
2020-04-21 21:29:38 +02:00
* User model entity class
2020-04-21 22:26:22 +02:00
*
* @author Sasa Milenkovic
2020-04-19 21:02:17 +02:00
*/
public class User {
private String userId;
private String userName;
private String email;
private String contactNumber;
private String userType;
// Standard constructors, getters and setters
2020-04-21 22:26:22 +02:00
public User() {
}
2020-04-19 21:02:17 +02:00
public User(String userId, String userName, String email, String contactNumber, String userType) {
this.userId = userId;
this.userName = userName;
this.email = email;
this.contactNumber = contactNumber;
this.userType = userType;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getContactNumber() {
return contactNumber;
}
public void setContactNumber(String contactNumber) {
this.contactNumber = contactNumber;
}
public String getUserType() {
return userType;
}
public void setUserType(String userType) {
this.userType = userType;
}
}