init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.ruoyi.xq.dto.app.user;
|
||||
|
||||
import com.ruoyi.common.core.domain.PageQuery;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class HomePageReq extends PageQuery {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.ruoyi.xq.dto.app.user.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class HomeUserListVo {
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
@Schema(description = "用户头像")
|
||||
private String avatar;
|
||||
@Schema(description = "性别 0-未知 1-女 2-男")
|
||||
private Integer gender;
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "生日")
|
||||
private LocalDate birthday;
|
||||
@Schema(description = "生日-缩减显示")
|
||||
private String birthdayStr;
|
||||
@Schema(description = "居住城市")
|
||||
private String residenceCity;
|
||||
@Schema(description = "学历")
|
||||
private Integer education;
|
||||
@Schema(description = "职业")
|
||||
private String profession;
|
||||
@Schema(description = "是否已经实名")
|
||||
private Boolean cardNumAuthBool = false;
|
||||
|
||||
}
|
||||
@@ -12,7 +12,7 @@ public class HomeUserVo {
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
@Schema(description = "用户编号")
|
||||
private Long usercode;
|
||||
private String usercode;
|
||||
@Schema(description = "用户头像")
|
||||
private String avatar;
|
||||
@Schema(description = "相册")
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.ruoyi.xq.dto.app.userstar;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserStarQuery{
|
||||
@Schema(hidden = true)
|
||||
private Long userId;
|
||||
@Schema(description = "1-我关注的 2-关注我的")
|
||||
private Integer queryType;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.ruoyi.xq.dto.app.userstar;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserStarReq {
|
||||
@Schema(hidden = true)
|
||||
private Long userId;
|
||||
|
||||
@Schema(description = "1-关注 2-取消关注")
|
||||
private Integer star;
|
||||
|
||||
@Schema(description = "关注或者取消关注的目标用户ID")
|
||||
private Long starUserId;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.ruoyi.xq.dto.app.userstar.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
|
||||
@Data
|
||||
public class UserStarListVo {
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
@Schema(description = "用户头像")
|
||||
private String avatar;
|
||||
@Schema(description = "性别 0-未知 1-女 2-男")
|
||||
private Integer gender;
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "生日")
|
||||
private LocalDate birthday;
|
||||
@Schema(description = "生日-缩减显示")
|
||||
private String birthdayStr;
|
||||
@Schema(description = "居住城市")
|
||||
private String residenceCity;
|
||||
@Schema(description = "学历")
|
||||
private Integer education;
|
||||
@Schema(description = "职业")
|
||||
private String profession;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user