Update client server
This commit is contained in:
23
GoGreen/Common/src/main/java/gogreen/common/UserDTO.java
Normal file
23
GoGreen/Common/src/main/java/gogreen/common/UserDTO.java
Normal file
@@ -0,0 +1,23 @@
|
||||
package gogreen.common;
|
||||
|
||||
public class UserDTO {
|
||||
|
||||
private Long id;
|
||||
private String name;
|
||||
|
||||
public UserDTO() {
|
||||
}
|
||||
|
||||
public UserDTO(Long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user