From f7ea5773570beb5ad8c6efb5c1cf743294ee079b Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Sun, 24 Jan 2021 14:16:04 +0800 Subject: [PATCH] modify --- zq-erp/src/main/java/com/matrix/system/app/dto/RankingDto.java | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/app/dto/RankingDto.java b/zq-erp/src/main/java/com/matrix/system/app/dto/RankingDto.java new file mode 100644 index 0000000..3c3d788 --- /dev/null +++ b/zq-erp/src/main/java/com/matrix/system/app/dto/RankingDto.java @@ -0,0 +1,43 @@ +package com.matrix.system.app.dto; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +import java.util.Date; + +/** + * @author wzy + * @date 2020-12-28 + **/ +@ApiModel(value = "RankingDto", description = "排行榜参数接收类") +public class RankingDto { + + public static final String SALE = "1"; + public static final String CONSUME = "2"; + + public static final String DAY = "1"; + public static final String MONTH = "2"; + public static final String YEAR = "3"; + + @ApiModelProperty(value = "数据类型 1-销售 2-消耗", example = "1") + private String dataType; + + @ApiModelProperty(value = "排行榜类型 1-日榜 2-月榜 3-年榜", example = "1") + private String type; + + public String getDataType() { + return dataType; + } + + public void setDataType(String dataType) { + this.dataType = dataType; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } +} -- Gitblit v1.9.1