package com.starry.admin.modules.statistics.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 店员业绩详情查询参数。
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("店员业绩详情查询参数")
public class ClerkPerformanceDetailQueryVo extends PlayClerkPerformanceInfoQueryVo {

    @Override
    @NotBlank(message = "店员ID不能为空")
    @ApiModelProperty(value = "店员ID", required = true)
    public String getClerkId() {
        return super.getClerkId();
    }

    @ApiModelProperty(value = "是否返回趋势数据")
    private Boolean includeTrend = Boolean.TRUE;

    @ApiModelProperty(value = "趋势天数，默认7")
    private Integer trendDays = 7;
}
