admin
2021-06-26 5d9e2fbeab87327ce11080485bf4d971f93f542a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;
    }
}