package com.xunmei.common.core.domain.edu.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CoreEduTrainingTaskReportDto {

    @NotNull(message = "请选择计划进行查看!")
    @ApiModelProperty(value = "教育培训计划Id")
    private Long planId;

    @NotNull(message = "请选择机构进行查看!")
    @ApiModelProperty(value = "机构")
    private Long orgId;

    @NotNull(message = "请选择具体月份进行查看!")
    @DateTimeFormat(pattern = "yyyy-MM")
    @ApiModelProperty(value = "统计月份")
    private Date date;

    @ApiModelProperty(value = "统计月份开始日期")
    private Date startDate;

    @ApiModelProperty(value = "统计月份结束日期")
    private Date endDate;

}
