11 changed files with 282 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||
package com.youlai.boot.mini.model.vo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
@Schema(description = "首页统计数据") |
|||
public class HomeStatsVO { |
|||
|
|||
@Schema(description = "已登记动物总数") |
|||
private Long animalCount; |
|||
|
|||
@Schema(description = "爱心用户数(登记过动物的去重用户数)") |
|||
private Long caringUserCount; |
|||
} |
|||
@ -0,0 +1,30 @@ |
|||
package com.youlai.boot.mini.model.vo; |
|||
|
|||
import io.swagger.v3.oas.annotations.media.Schema; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
@Schema(description = "首页任务") |
|||
public class TaskVO { |
|||
|
|||
@Schema(description = "规则编码") |
|||
private String ruleCode; |
|||
|
|||
@Schema(description = "任务名称") |
|||
private String ruleName; |
|||
|
|||
@Schema(description = "奖励积分") |
|||
private Integer points; |
|||
|
|||
@Schema(description = "限制周期") |
|||
private String limitPeriod; |
|||
|
|||
@Schema(description = "周期内限制次数") |
|||
private Integer limitCount; |
|||
|
|||
@Schema(description = "当前周期已完成次数") |
|||
private Integer currentCount; |
|||
|
|||
@Schema(description = "是否已完成") |
|||
private Boolean completed; |
|||
} |
|||
Loading…
Reference in new issue