diff --git a/module-web/src/main/java/pl/myboardgames/user/UserShortDto.java b/module-web/src/main/java/pl/myboardgames/user/UserShortDto.java index f5c3eed..3f6aaf6 100644 --- a/module-web/src/main/java/pl/myboardgames/user/UserShortDto.java +++ b/module-web/src/main/java/pl/myboardgames/user/UserShortDto.java @@ -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; + }