init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.ruoyi.xq.dto.app.common;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Schema(description = "上传文件返回数据")
|
||||
public class FileResp {
|
||||
|
||||
@Schema(description = "文件url")
|
||||
private String url;
|
||||
@Schema(description = "文件路径")
|
||||
private String path;
|
||||
@Schema(description = "文件原始名")
|
||||
private String originalName;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.ruoyi.xq.dto.app.setting;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AgreementDTO {
|
||||
private String agreement;
|
||||
|
||||
public AgreementDTO() {
|
||||
}
|
||||
|
||||
public AgreementDTO(String agreement) {
|
||||
this.agreement = agreement;
|
||||
}
|
||||
}
|
||||
@@ -9,9 +9,6 @@ import java.util.List;
|
||||
@Data
|
||||
public class HomeUserVo {
|
||||
|
||||
|
||||
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
@Schema(description = "用户编号")
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.ruoyi.xq.dto.app.vip;
|
||||
|
||||
import com.ruoyi.xq.domain.VipPrice;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class VipHomeVo {
|
||||
@Schema(description = "VIP价格")
|
||||
private List<VipPrice> vipPriceList;
|
||||
@Schema(description = "用户ID")
|
||||
private Long userId;
|
||||
@Schema(description = "VIP开通状态 0-未开通 1-已开通 2-已到期")
|
||||
private Integer userVipOpenStatus;
|
||||
@Schema(description = "VIP到期时间,(已过期则为最近一次到期时间)")
|
||||
private LocalDateTime vipTimeOut;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.ruoyi.xq.dto.app.vip;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class VipPriceVo {
|
||||
@Schema(description = "VIP价格ID")
|
||||
private Long id;
|
||||
/**
|
||||
* 1-普通会员 2-黄金会员 3-钻石会员
|
||||
*/
|
||||
@Schema(description = "1-普通会员 2-黄金会员 3-钻石会员")
|
||||
private Integer vipType;
|
||||
/**
|
||||
* 1-月卡 2-季卡 3-年卡
|
||||
*/
|
||||
@Schema(description = "1-月卡 2-季卡 3-年卡")
|
||||
private Integer vipTime;
|
||||
|
||||
@Schema(description = "vip天数")
|
||||
private Integer vipDays;
|
||||
/**
|
||||
* 会员价格
|
||||
*/
|
||||
@Schema(description = "会员价格")
|
||||
private BigDecimal vipPrice;
|
||||
|
||||
|
||||
@Schema(description = "折合每天价格")
|
||||
private BigDecimal dayPrice;
|
||||
}
|
||||
Reference in New Issue
Block a user