refactor structure of user to feature based structure
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
package SuMoC.backend.user.dtos;
|
||||
|
||||
public class MinimalUserDTO {
|
||||
|
||||
private Long id;
|
||||
private String displayName;
|
||||
|
||||
|
||||
|
||||
public MinimalUserDTO() {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public MinimalUserDTO(Long id, String username) {
|
||||
this.id = id;
|
||||
this.displayName = username;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return displayName;
|
||||
}
|
||||
|
||||
public void setDisplayName(String displayName) {
|
||||
this.displayName = displayName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user