package com.matrix.system.app.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import javax.validation.constraints.NotBlank;
|
|
/**
|
* 统计查询条件
|
* @author jyy
|
*/
|
@ApiModel(value = "VipStatisticsParamDto", description = "员工专项统计接收参数类")
|
public class VipStatisticsParamDto {
|
|
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 = "员工, 不传默认当前登陆用户")
|
private Long staffId;
|
|
@ApiModelProperty(value = "类型 1-订单业绩 2-现金业绩 3-售卡业绩 4-产品业绩 5-划扣业绩 6-本金消耗 7-赠送消耗 8-服务提成 9-人头数 10-项目数 11-服务时长", 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 getStaffId() {
|
return staffId;
|
}
|
|
public void setStaffId(Long staffId) {
|
this.staffId = staffId;
|
}
|
}
|