public class UserProfileDto extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
email |
protected String |
firstName |
protected String |
id |
protected String |
lastName |
Constructor and Description |
---|
UserProfileDto() |
Modifier and Type | Method and Description |
---|---|
static UserProfileDto |
fromUser(User user) |
static List<UserProfileDto> |
fromUserList(List<User> sourceList) |
String |
getEmail() |
String |
getFirstName() |
String |
getId() |
String |
getLastName() |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setId(String id) |
void |
setLastName(String lastName) |
void |
update(User dbUser) |
protected String id
protected String firstName
protected String lastName
protected String email
public static UserProfileDto fromUser(User user)
public static List<UserProfileDto> fromUserList(List<User> sourceList)
public void update(User dbUser)
public String getId()
public void setId(String id)
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getEmail()
public void setEmail(String email)
Copyright © 2018. All rights reserved.