init
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
package com.ruoyi.cai.dto.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -6,7 +6,7 @@ import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class GuardTotalVo implements Serializable {
|
||||
public class GuardTotalDTO implements Serializable {
|
||||
/**
|
||||
* 被守护人的user_id(大咖)
|
||||
*/
|
||||
@@ -19,7 +19,9 @@ public class GuardTotalVo implements Serializable {
|
||||
private Long toUserId;
|
||||
|
||||
@Schema(description = "用户头像")
|
||||
private String userAvatar;
|
||||
private String avatar;
|
||||
@Schema(description = "用户昵称")
|
||||
private String nickname;
|
||||
/**
|
||||
* 累计守护符个数
|
||||
*/
|
||||
@@ -11,7 +11,7 @@ public class DynamicQuery {
|
||||
@Schema(description = "类型 1=最新(默认) 2=关注 3=同城")
|
||||
private Integer type = 1;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@Schema(description = "用户ID,可过滤指定的女神")
|
||||
private Long userId;
|
||||
|
||||
@Schema(description = "当前用户ID", accessMode = Schema.AccessMode.READ_ONLY)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
|
||||
import com.ruoyi.cai.dto.app.vo.index.GuardIndexVo;
|
||||
import com.ruoyi.cai.dto.app.vo.index.UserGiftIndexVo;
|
||||
import com.ruoyi.cai.dto.app.vo.user.OnlineStatusVo;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -40,24 +43,20 @@ public class UserInfoVo {
|
||||
@Schema(description = "是否关注")
|
||||
private Boolean star;
|
||||
|
||||
// TODO
|
||||
@Schema(description = "用户状态")
|
||||
private String status;
|
||||
|
||||
@Schema(description = "用户状态描述")
|
||||
private String statusMsg;
|
||||
private OnlineStatusVo onlineStatus;
|
||||
|
||||
@Schema(description = "相册集合")
|
||||
private List<String> albumList = Collections.emptyList();
|
||||
|
||||
@Schema(description = "守护列表")
|
||||
private List<GuardTotalVo> guardTotalList = Collections.emptyList();
|
||||
private GuardIndexVo guardIndexVo;
|
||||
|
||||
@Schema(description = "最近的动态图片")
|
||||
private List<String> dynamicList = Collections.emptyList();
|
||||
|
||||
@Schema(description = "礼物列表")
|
||||
private List<UserGiftVo> giftList = Collections.emptyList();
|
||||
private List<UserGiftIndexVo> giftList = Collections.emptyList();
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.ruoyi.cai.dto.app.vo.index;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Schema(description = "守护详情数据")
|
||||
public class GuardIndexVo {
|
||||
@Schema(description = "守护价格")
|
||||
private Long guardPrice = 0L;
|
||||
@Schema(description = "已有的人员列表")
|
||||
private List<String> userList = Collections.emptyList();
|
||||
@Schema(description = "距离上一个守护人数")
|
||||
private Long diffNum = 0L;
|
||||
@Schema(description = "最多的守护人昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "最多的守护人头像")
|
||||
private String avatar;
|
||||
@Schema(description = "最多的守护人ID")
|
||||
private Long userId;
|
||||
@Schema(description = "总共的守护数")
|
||||
private Long guardSymbolTotal = 0L;
|
||||
@Schema(description = "总共的人数")
|
||||
private Long guardPersonTotal = 0L;
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.ruoyi.cai.dto.app.vo.index;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "主播守护列表")
|
||||
public class GuardListPageVo {
|
||||
@Schema(description = "守护人ID")
|
||||
private Long userId;
|
||||
@Schema(description = "守护人昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "守护人头像")
|
||||
private String avatar;
|
||||
@Schema(description = "守护人蜜瓜号")
|
||||
private String usercode;
|
||||
@Schema(description = "守护人累计守护个数")
|
||||
private Long guardNum;
|
||||
@Schema(description = "守护人累计守护值")
|
||||
private Long guardValue;
|
||||
}
|
||||
@@ -1,18 +1,15 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
package com.ruoyi.cai.dto.app.vo.index;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class UserGiftVo {
|
||||
public class UserGiftIndexVo {
|
||||
|
||||
/**
|
||||
* 接受者
|
||||
*/
|
||||
@Schema(description = "赠送着")
|
||||
private Long fromUid;
|
||||
@Schema(description = "接收着")
|
||||
private Long toUid;
|
||||
/**
|
||||
* 礼物ID
|
||||
*/
|
||||
@Schema(description = "礼物ID")
|
||||
private Long giftId;
|
||||
@Schema(description = "礼物名称")
|
||||
@@ -21,9 +18,6 @@ public class UserGiftVo {
|
||||
private String img;
|
||||
@Schema(description = "礼物价格")
|
||||
private String price;
|
||||
/**
|
||||
* 礼物数量
|
||||
*/
|
||||
@Schema(description = "礼物数量")
|
||||
private Long count;
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.ruoyi.cai.dto.app.vo.user;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class OnlineStatusVo {
|
||||
private Integer status;
|
||||
private Integer onlineStatus;
|
||||
private String statusMsg;
|
||||
}
|
||||
Reference in New Issue
Block a user