package com.casic.missiles.dto.business.board;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: wangpeng
 * @Date: 2023/4/11 19:22
 */
@ApiModel
@Data
public class BoardBaseRequest {
    @ApiModelProperty(value = "部门id", dataType = "Long")
    private Long deptId;
    @ApiModelProperty(value = "人员id", dataType = "Long")
    private Long staffId;
    @ApiModelProperty(value = "开始时间（部门产值分析接口参数）", dataType = "String")
    private String startTime;
    @ApiModelProperty(value = "结束时间（部门产值分析接口参数）", dataType = "String")
    private String endTime;
    @NotNull(message = "年份不能为空", groups = {BoardWorkloadValid.class})
    @ApiModelProperty(value = "年份（业务工作量分析接口参数）", dataType = "Integer")
    private Integer year;
    @NotNull(message = "月份不能为空", groups = {BoardWorkloadValid.class})
    @ApiModelProperty(value = "月份（业务工作量分析接口参数）", dataType = "Integer")
    private Integer month;
}
