|
@@ -4,6 +4,8 @@ import lombok.*;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import cn.newfeifan.mall.framework.common.pojo.PageParam;
|
|
import cn.newfeifan.mall.framework.common.pojo.PageParam;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
+
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
import static cn.newfeifan.mall.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
import static cn.newfeifan.mall.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
@@ -17,21 +19,15 @@ public class IntegralPageReqVO extends PageParam {
|
|
@Schema(description = "用户ID", example = "19778")
|
|
@Schema(description = "用户ID", example = "19778")
|
|
private Long userId;
|
|
private Long userId;
|
|
|
|
|
|
- @Schema(description = "用户类型", example = "17348")
|
|
|
|
- private Long categoryId;
|
|
|
|
-
|
|
|
|
@Schema(description = "创建时间")
|
|
@Schema(description = "创建时间")
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
|
private LocalDateTime[] createTime;
|
|
private LocalDateTime[] createTime;
|
|
|
|
|
|
- @Schema(description = "用户名称", example = "赵六")
|
|
|
|
- private String name;
|
|
|
|
-
|
|
|
|
@Schema(description = "用户昵称", example = "赵六")
|
|
@Schema(description = "用户昵称", example = "赵六")
|
|
- private String nickName;
|
|
|
|
|
|
+ private String userName;
|
|
|
|
|
|
@Schema(description = "当前积分")
|
|
@Schema(description = "当前积分")
|
|
- private Long currentQuota;
|
|
|
|
|
|
+ private Long redCurrentQuota;
|
|
|
|
|
|
@Schema(description = "冻结积分")
|
|
@Schema(description = "冻结积分")
|
|
private Long freezeQuota;
|
|
private Long freezeQuota;
|
|
@@ -42,12 +38,20 @@ public class IntegralPageReqVO extends PageParam {
|
|
@Schema(description = "直推奖累计获取积分")
|
|
@Schema(description = "直推奖累计获取积分")
|
|
private Long ancestorQuota;
|
|
private Long ancestorQuota;
|
|
|
|
|
|
|
|
+ @Schema(description = "幸运奖累计获取积分")
|
|
|
|
+ private Long luckyQuota;
|
|
|
|
+
|
|
@Schema(description = "最高可获取积分")
|
|
@Schema(description = "最高可获取积分")
|
|
private Long highQuota;
|
|
private Long highQuota;
|
|
|
|
|
|
@Schema(description = "累计获取的峰值")
|
|
@Schema(description = "累计获取的峰值")
|
|
private Long highQuotaTotal;
|
|
private Long highQuotaTotal;
|
|
|
|
|
|
- @Schema(description = "当前消费分")
|
|
|
|
- private Long consumptionPoints;
|
|
|
|
|
|
+ @Schema(description = "当前黄积分", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
+ private Long yellowCurrentQuota;
|
|
|
|
+
|
|
|
|
+ @Schema(description = "当前绿积分", requiredMode = Schema.RequiredMode.REQUIRED)
|
|
|
|
+ private Long greenCurrentQuota;
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|