Commit c7086717 authored by Java—KA—李 青's avatar Java—KA—李 青

代码格式调整

parent 1a03cc0d
...@@ -12,39 +12,39 @@ import java.io.Serializable; ...@@ -12,39 +12,39 @@ import java.io.Serializable;
@Data @Data
public class UserFullInfo implements Serializable { public class UserFullInfo implements Serializable {
private static final long serialVersionUID = -1L; private static final long serialVersionUID = -1L;
private Long id; private Long id;
private String name; private String name;
private String phoneNo; private String phoneNo;
private String idNo; private String idNo;
private String gender; private String gender;
private String password; private String password;
private Long registerFrom; private Long registerFrom;
private String uuid; private String uuid;
public UserFullInfo() { public UserFullInfo() {
} }
public UserFullInfo(User user, UserDetail userDetail) { public UserFullInfo(User user, UserDetail userDetail) {
assert user != null; assert user != null;
this.id = user.getId(); this.id = user.getId();
this.phoneNo = user.getPhoneNo(); this.phoneNo = user.getPhoneNo();
this.registerFrom = user.getRegisteredFrom(); this.registerFrom = user.getRegisteredFrom();
this.password = user.getPassword(); this.password = user.getPassword();
this.uuid = user.getUuid(); this.uuid = user.getUuid();
if (userDetail != null) { if (userDetail != null) {
this.name = userDetail.getName(); this.name = userDetail.getName();
this.idNo = userDetail.getIdNo(); this.idNo = userDetail.getIdNo();
this.gender = userDetail.getGender().getName(); this.gender = userDetail.getGender().getName();
}
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment