task(module-web,module-ejb): update UserShortDto
This commit is contained in:
parent
bbb61497cc
commit
4cc53430d3
@ -13,6 +13,9 @@ public class UserShortDto {
|
||||
|
||||
private Long id;
|
||||
private String username;
|
||||
private String description;
|
||||
private String location;
|
||||
|
||||
|
||||
public UserShortDto() {
|
||||
|
||||
@ -21,6 +24,8 @@ public class UserShortDto {
|
||||
public UserShortDto(UserEntity aUser) {
|
||||
id = aUser.getId();
|
||||
username = aUser.getUsername();
|
||||
description = aUser.getDescription();
|
||||
location = aUser.getLocation();
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
@ -38,6 +43,22 @@ public class UserShortDto {
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user