init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.ruoyi.xq.dto.admin.areacode;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class AreaCodeAdminTree {
|
||||
private Integer id;
|
||||
private String label;
|
||||
private Integer parentId;
|
||||
private List<AreaCodeAdminTree> children = new ArrayList<>();
|
||||
|
||||
public void addChild(AreaCodeAdminTree node) {
|
||||
children.add(node);
|
||||
}
|
||||
}
|
||||
@@ -11,5 +11,6 @@ public class FullUserVo {
|
||||
private UserInfo userInfo;
|
||||
private UserAuth userAuth;
|
||||
private UserLogin userLogin;
|
||||
private UserExtend account;
|
||||
private List<UserPictures> userPicturesList;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ruoyi.xq.dto.admin.user.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class AddUserReq {
|
||||
private String mobile;
|
||||
private Integer userType;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private Integer gender;
|
||||
private LocalDate birthday;
|
||||
private Integer height;
|
||||
private Integer weight;
|
||||
private Integer residenceCode;
|
||||
private Integer addressCode;
|
||||
private Integer education;
|
||||
private Integer marriage;
|
||||
private String profession;
|
||||
private Integer annualIncome;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.ruoyi.xq.dto.admin.user.req;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class UpdateUserReq {
|
||||
private Long userId;
|
||||
private Integer userType;
|
||||
private String nickname;
|
||||
private String avatar;
|
||||
private Integer gender;
|
||||
private LocalDate birthday;
|
||||
private Integer height;
|
||||
private Integer weight;
|
||||
private Integer residenceCode;
|
||||
private Integer addressCode;
|
||||
private Integer education;
|
||||
private Integer marriage;
|
||||
private String profession;
|
||||
private Integer annualIncome;
|
||||
}
|
||||
@@ -67,7 +67,7 @@ public class HomePageReq extends PageQuery {
|
||||
@Schema(description = "购车情况")
|
||||
private Integer carStatus;
|
||||
@Schema(description = "户籍地")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
}
|
||||
|
||||
public void initBirthdayByAge(){
|
||||
|
||||
@@ -34,7 +34,7 @@ public class UpdateBaseInfoReq {
|
||||
* 户籍地
|
||||
*/
|
||||
@Schema(description = "户籍地")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
/**
|
||||
* 学历
|
||||
*/
|
||||
|
||||
@@ -32,7 +32,7 @@ public class UpdateUserFullInfoReq {
|
||||
@Schema(description = "居住地")
|
||||
private Integer residenceCode;
|
||||
@Schema(description = "户籍地")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
@Schema(description = "学历")
|
||||
private Integer education;
|
||||
@Schema(description = "婚况")
|
||||
|
||||
@@ -76,7 +76,7 @@ public class CurrentUserFullInfoVo {
|
||||
* 户籍地
|
||||
*/
|
||||
@Schema(description = "户籍地")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
@Schema(description = "户籍地名称")
|
||||
private String addressName;
|
||||
/**
|
||||
|
||||
@@ -51,7 +51,7 @@ public class CurrentUserInfoVo {
|
||||
@Schema(description = "户籍地名称")
|
||||
private String addressName;
|
||||
@Schema(description = "户籍地编码")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
/**
|
||||
* 状态 0 可用 1 不可用
|
||||
*/
|
||||
|
||||
@@ -69,7 +69,7 @@ public class HomeUserVo {
|
||||
@Schema(description = "户籍地名称")
|
||||
private String addressName;
|
||||
@Schema(description = "户籍地编码")
|
||||
private String addressCode;
|
||||
private Integer addressCode;
|
||||
/**
|
||||
* 学历
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user