package com.njcn.advance.pojo.param;

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

import javax.validation.constraints.NotBlank;

/**
 * pqs
 *
 * @author cdf
 * @date 2023/6/19
 */
@Data
public class AdvanceBaseParam {

    @ApiModelProperty(value = "开始时间")
    @DateTimeStrValid(message = "开始时间格式出错")
    @NotBlank(message = "开始时间不可为空")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeStrValid(message = "结束时间格式出错")
    @NotBlank(message = "结束时间不可为空")
    private String endTime;

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