task(module-web,module-ejb): update UserShortDto

This commit is contained in:
Damian Pierzchalski 2018-12-16 23:13:13 +01:00
parent bbb61497cc
commit 4cc53430d3

View File

@ -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;
}