| 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; | 
|     } | 
| } |