package com.xiaoniu.subsystem.business.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.annotation.Excel;
import com.xiaoniu.common.core.resdata.BaseQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Schema(description = "结业考核分页参数")
public class GraduationAssessmentPageDTO extends BaseQueryDTO {

    @Schema(description = "姓名")
    private String userName;

    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "送训单位名称")
    private String sendingUnitName;

    @Schema(description = "实操成绩（低）")
    private Integer actualPerformance1;

    @Schema(description = "实操成绩（高）")
    private Integer actualPerformance2;

    @Schema(description = "理论成绩（低）")
    private Integer theoreticalAchievement1;

    @Schema(description = "理论成绩（高）")
    private Integer theoreticalAchievement2;

    @Schema(description = "总成绩（低）")
    private Integer totalScore1;

    @Schema(description = "总成绩（高）")
    private Integer totalScore2;

    @Schema(description = "考评等次")
    private String evaluationOrder;

    @Schema(description = "是否结业（0是 1否）")
    private String isFinishSchool;

    @Schema(description = "班次ID")
    private Long flightId;

    @Schema(description = "班次名称")
    private String flightName;


    @Schema(description = "年度")
    private String year;

    @Schema(description = "主责单位名称")
    private String mainUnitName;

    /**
     * 主键集合
     */
    @Schema(description = "主键集合")
    private String ids;

    /**
     * 开训时间
     */
    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTime;
}
