package com.matrix.system.hiveErp.analysUtil; 
 | 
  
 | 
import io.swagger.annotations.ApiModel; 
 | 
import io.swagger.annotations.ApiModelProperty; 
 | 
  
 | 
import javax.validation.constraints.NotBlank; 
 | 
  
 | 
/** 
 | 
 * 统计查询条件 
 | 
 * @author jyy 
 | 
 */ 
 | 
@ApiModel(value = "StatisticsParamVo", description = "专项统计接收参数类") 
 | 
public class StatisticsParamVo { 
 | 
  
 | 
    public static final String COMPANY = "1"; 
 | 
  
 | 
    public static final String SHOP = "2"; 
 | 
  
 | 
    /** 
 | 
     * 开始时间 
 | 
     */ 
 | 
    @NotBlank(message = "参数错误") 
 | 
    @ApiModelProperty(value = "开始时间", example = "2020-12-01") 
 | 
    private String beginTime; 
 | 
  
 | 
    /** 
 | 
     *结束时间 
 | 
     */ 
 | 
    @NotBlank(message = "参数错误") 
 | 
    @ApiModelProperty(value = "结束时间", example = "2020-12-31") 
 | 
    private String endTime; 
 | 
    /** 
 | 
     *统计单位 
 | 
     */ 
 | 
    @NotBlank(message = "参数错误") 
 | 
    @ApiModelProperty(value = "统计单位", example = "日") 
 | 
    private String statisticsUnit; 
 | 
  
 | 
    /** 
 | 
     *对比单位 
 | 
     */ 
 | 
    @ApiModelProperty(hidden = true) 
 | 
    private String  contrastUnit; 
 | 
    /** 
 | 
     * 门店id 
 | 
     */ 
 | 
    @ApiModelProperty(value = "门店ID, 不传默认统计整个公司") 
 | 
    private Long shopId; 
 | 
  
 | 
    @ApiModelProperty(value = "类型 1-营业收入 2-现金收入 3-余额划扣 4-本金消耗 5-赠送消耗 6-现金退款 7-卡项退款 8-欠款", example = "1") 
 | 
    private String type; 
 | 
  
 | 
    public String getType() { 
 | 
        return type; 
 | 
    } 
 | 
  
 | 
    public void setType(String type) { 
 | 
        this.type = type; 
 | 
    } 
 | 
  
 | 
    public String getBeginTime() { 
 | 
        return beginTime; 
 | 
    } 
 | 
  
 | 
    public void setBeginTime(String beginTime) { 
 | 
        this.beginTime = beginTime; 
 | 
    } 
 | 
  
 | 
    public String getEndTime() { 
 | 
        return endTime; 
 | 
    } 
 | 
  
 | 
    public void setEndTime(String endTime) { 
 | 
        this.endTime = endTime; 
 | 
    } 
 | 
  
 | 
    public String getStatisticsUnit() { 
 | 
        return statisticsUnit; 
 | 
    } 
 | 
  
 | 
    public void setStatisticsUnit(String statisticsUnit) { 
 | 
        this.statisticsUnit = statisticsUnit; 
 | 
    } 
 | 
  
 | 
    public String getContrastUnit() { 
 | 
        return contrastUnit; 
 | 
    } 
 | 
  
 | 
    public void setContrastUnit(String contrastUnit) { 
 | 
        this.contrastUnit = contrastUnit; 
 | 
    } 
 | 
  
 | 
    public Long getShopId() { 
 | 
        return shopId; 
 | 
    } 
 | 
  
 | 
    public void setShopId(Long shopId) { 
 | 
        this.shopId = shopId; 
 | 
    } 
 | 
} 
 |