添加赋值方法
This commit is contained in:
parent
b92b87a6ba
commit
09fd3383c5
@ -233,6 +233,31 @@ public class UserDTO implements Serializable {
|
||||
this.gmtCreate = gmtCreate;
|
||||
}
|
||||
|
||||
protected void setUserDTO(UserDTO userDTO) {
|
||||
this.userId = userDTO.getUserId();
|
||||
this.userUsername = userDTO.getUserUsername();
|
||||
this.userName = userDTO.getUserName();
|
||||
this.userPhone = userDTO.getUserPhone();
|
||||
this.userEmail = userDTO.getUserEmail();
|
||||
this.userUKey = userDTO.getUserUKey();
|
||||
this.userType = userDTO.getUserType();
|
||||
this.userState = userDTO.getUserState();
|
||||
this.userExpiredDate = userDTO.getUserExpiredDate();
|
||||
this.userAvatar = userDTO.getUserAvatar();
|
||||
this.lastLoginAddress = userDTO.getLastLoginAddress();
|
||||
this.lastLoginTime = userDTO.getLastLoginTime();
|
||||
this.userLongitude = userDTO.getUserLongitude();
|
||||
this.userLatitude = userDTO.getUserLatitude();
|
||||
this.departmentIds = userDTO.getDepartmentIds();
|
||||
this.departmentNames = userDTO.getDepartmentNames();
|
||||
this.roleIds = userDTO.getRoleIds();
|
||||
this.roleNames = userDTO.getRoleNames();
|
||||
this.positionIds = userDTO.getPositionIds();
|
||||
this.positionNames = userDTO.getPositionNames();
|
||||
this.loginType = userDTO.getLoginType();
|
||||
this.gmtCreate = userDTO.getGmtCreate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final StringBuilder sb = new StringBuilder("{");
|
||||
|
Loading…
Reference in New Issue
Block a user