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;
2020-04-19 21:02:17 +02:00
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) {
2020-04-19 21:02:17 +02:00
this.userId = userId;
this.username = username;
2020-04-19 21:02:17 +02:00
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;
2020-04-19 21:02:17 +02:00
}
public void setUsername(String userName) {
this.username = userName;
2020-04-19 21:02:17 +02:00
}
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;
}
}