init
This commit is contained in:
@@ -3,6 +3,8 @@ package com.ruoyi.cai.dto.app.query;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@Schema(description = "赠送守护入参")
|
||||
public class GiveGuardReq {
|
||||
|
||||
@@ -3,8 +3,11 @@ package com.ruoyi.cai.dto.app.query;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
public class IdRes {
|
||||
@Schema(description = "id")
|
||||
@NotNull(message = "参数异常")
|
||||
private Long id;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ package com.ruoyi.cai.dto.app.query;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@@ -14,7 +15,7 @@ public class UserUpdateReq {
|
||||
@Schema(description = "昵称")
|
||||
private String nickname;
|
||||
@Schema(description = "生日")
|
||||
private LocalDateTime birthday;
|
||||
private LocalDate birthday;
|
||||
@Schema(description = "性别")
|
||||
private Integer gender;
|
||||
@Schema(description = "头像")
|
||||
|
||||
@@ -3,11 +3,15 @@ package com.ruoyi.cai.dto.app.query.user;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@Data
|
||||
@Schema(description = "新增群达招呼")
|
||||
public class UserGreetAddReq {
|
||||
@Schema(accessMode = Schema.AccessMode.READ_ONLY)
|
||||
private Long userId;
|
||||
@Schema(description = "内容")
|
||||
@NotEmpty(message = "打招呼内容不能为空")
|
||||
private String title;
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class AccountCashVo {
|
||||
*
|
||||
*/
|
||||
@Schema(description = "ID")
|
||||
private Integer id;
|
||||
private Long id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Schema(description = "充值记录")
|
||||
public class AccountRechargeVo {
|
||||
@Schema(description = "ID")
|
||||
private Long id;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(description = "用户Id")
|
||||
private Long userId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(description = "充值ID")
|
||||
private Long goodsId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Schema(description = "订单编号")
|
||||
private String orderNo;
|
||||
/**
|
||||
* 订单名
|
||||
*/
|
||||
@Schema(description = "订单名称")
|
||||
private String orderName;
|
||||
/**
|
||||
* 充值类型 0 手工充值 1 线上充值
|
||||
*/
|
||||
@Schema(description = "充值类型")
|
||||
private Integer rechargeType;
|
||||
/**
|
||||
* 充值金额
|
||||
*/
|
||||
@Schema(description = "充值金额")
|
||||
private BigDecimal rechargeMoney;
|
||||
/**
|
||||
* 充值的紫贝
|
||||
*/
|
||||
@Schema(description = "紫贝数量")
|
||||
private Integer coinNum;
|
||||
/**
|
||||
* 充值平台类型
|
||||
*/
|
||||
@Schema(description = "平台")
|
||||
private Long platformType;
|
||||
/**
|
||||
* 充值平台名称
|
||||
*/
|
||||
@Schema(description = "平台名称")
|
||||
private String platformName;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String payNo;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String operateIp;
|
||||
/**
|
||||
* 类型: 0积分(默认),1会员
|
||||
*/
|
||||
@Schema(description = "0-充值 1-会员")
|
||||
private Integer type;
|
||||
@Schema(description = "充值时间")
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
@@ -8,6 +8,9 @@ import java.math.BigDecimal;
|
||||
@Data
|
||||
@Schema(description = "主播列表信息")
|
||||
public class AnchorListVo {
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private String userId;
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
|
||||
@@ -37,16 +37,9 @@ public class DynamicVo {
|
||||
*/
|
||||
@Schema(description = "是否有附件 0 没有 1 有")
|
||||
private Integer isAttach;
|
||||
/**
|
||||
* 状态 0 审核中 1可用 2 不可用
|
||||
*/
|
||||
@Schema(description = "状态 0 审核中 1可用 2 不可用")
|
||||
private Integer status;
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
@Schema(description = "排序字段")
|
||||
private Long sort;
|
||||
|
||||
@Schema(description = "审核状态")
|
||||
private Integer auditStatus;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@@ -1,30 +1,38 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.print.attribute.standard.Media;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class GiftVo implements Serializable {
|
||||
private Integer id;
|
||||
@Schema(description = "礼物ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 类型 0 普通礼物 1svga礼物
|
||||
*/
|
||||
@Schema(hidden = true)
|
||||
private Integer type;
|
||||
/**
|
||||
* 礼物名称
|
||||
*/
|
||||
@Schema(description = "礼物名称")
|
||||
private String name;
|
||||
/**
|
||||
* 礼物价格
|
||||
*/
|
||||
@Schema(description = "礼物价格")
|
||||
private Long price;
|
||||
/**
|
||||
* 礼物图片地址
|
||||
*/
|
||||
@Schema(description = "图片")
|
||||
private String img;
|
||||
/**
|
||||
* svga地址
|
||||
*/
|
||||
@Schema(description = "礼物SVGA")
|
||||
private String svga;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.ruoyi.cai.dto.app.vo;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
@Schema(description = "充值记录")
|
||||
public class RechargeOrderVo {
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Long userId;
|
||||
/**
|
||||
* 商品ID
|
||||
*/
|
||||
@Schema(description = "商品ID")
|
||||
private Long rechargeId;
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@Schema(description = "商品名称")
|
||||
private String rechargeName;
|
||||
/**
|
||||
* 充值紫贝
|
||||
*/
|
||||
@Schema(description = "充值紫贝")
|
||||
private Long rechargeCoin;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
@Schema(description = "价格")
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@Schema(description = "订单号")
|
||||
private String orderNo;
|
||||
@Schema(description = "状态 0-待支付 1-已支付 2-已退款 10-无需支付")
|
||||
private Integer payStatus;
|
||||
|
||||
@Schema(description = "充值时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -19,6 +19,6 @@ public class UserGiftIndexVo {
|
||||
@Schema(description = "礼物价格")
|
||||
private String price;
|
||||
@Schema(description = "礼物数量")
|
||||
private Long count;
|
||||
private Long giftCount;
|
||||
|
||||
}
|
||||
|
||||
@@ -22,6 +22,4 @@ public class UserAccountVo {
|
||||
@Schema(description = "收益的紫贝")
|
||||
private Long incomeCoin;
|
||||
|
||||
@Schema(description = "总数量")
|
||||
private Long totalCoin;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ import lombok.Data;
|
||||
@Data
|
||||
public class UserBaseVo {
|
||||
|
||||
@Schema(description = "用户Id")
|
||||
private Long userId;
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
@@ -24,7 +26,7 @@ public class UserBaseVo {
|
||||
@Schema(description = "城市ID")
|
||||
private Integer cityId;
|
||||
@Schema(description = "城市")
|
||||
private Integer city;
|
||||
private String city;
|
||||
/**
|
||||
* 昵称
|
||||
*/
|
||||
|
||||
@@ -17,12 +17,12 @@ public class UserGreetVo {
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@Schema(description = "标题")
|
||||
@Schema(description = "内容")
|
||||
private String title;
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
@Schema(description = "审核状态 1 审核中, 2 审核通过, 3 审核不通过")
|
||||
private Integer status;
|
||||
private Integer auditStatus;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
@Schema(description = "用户列表返回")
|
||||
public class UserListVo extends UserBaseVo {
|
||||
@Schema(description = "绑定时间")
|
||||
@Schema(description = "最后活跃时间")
|
||||
private LocalDateTime bindTime;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import lombok.Data;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class UserStarOrVisitorList {
|
||||
public class UserStarOrVisitorList extends UserBaseVo {
|
||||
|
||||
private LocalDateTime happenTime;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user