package com.njcn.harmonic.pojo.param;

import com.njcn.web.pojo.annotation.DateTimeStrValid;
import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2023/5/31
 */
@Data
public class QualifiedReportParam extends BaseParam {

    @ApiModelProperty(name = "deptId",value = "部门id")
    @NotBlank(message = "部门索引不可为空")
    private String deptId;

    @ApiModelProperty(name = "beginTime",value = "开始时间")
    @DateTimeStrValid(message = "开始时间格式有误")
    @NotBlank(message = "开始时间不可为空")
    private String beginTime;

    @ApiModelProperty(name = "endTime",value = "结束时间")
    @DateTimeStrValid(message = "结束时间格式有误")
    @NotBlank(message = "结束时间不可为空")
    private String endTime;
}
