package com.xiaoniu.subsystem.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoniu.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.apache.poi.ss.usermodel.IndexedColors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 结业考核表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-12-23 05:36:11
 */
@Data
@Accessors(chain = true)
@TableName("tb_graduation_assessment")
@Schema(description = "结业考核表")
public class GraduationAssessment implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "结业考核ID")
    @TableId(value = "assessment_id", type = IdType.AUTO)
    private Long assessmentId;

    @Schema(description = "人员ID")
    private Long userId;

    @Excel(name = "姓名",headerColor = IndexedColors.RED)
    @Schema(description = "姓名")
    private String userName;

    @Excel(name = "年度",headerColor = IndexedColors.RED)
    @Schema(description = "年度")
    private String year;

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

    @Excel(name = "班次名称",headerColor = IndexedColors.RED)
    @Schema(description = "班次名称")
    private String flightName;

    @Excel(name = "开训时间", dateFormat = "yyyy-MM-dd",headerColor = IndexedColors.RED)
    @Schema(description = "开训时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date trainingTime;

    @Excel(name = "身份证号",headerColor = IndexedColors.RED)
    @Schema(description = "身份证号")
    private String idCard;

    @Schema(description = "送训单位ID")
    private Long sendingUnitId;

    @Excel(name = "送训单位名称",headerColor = IndexedColors.RED)
    @Schema(description = "送训单位名称")
    private String sendingUnitName;

    @Schema(description = "送训单位地址")
    private String sendingUnitAddress;

    @Excel(name = "入学摸底考试成绩",headerColor = IndexedColors.RED)
    @Schema(description = "入学摸底考试成绩")
    private Integer admissionScore;

    @Excel(name = "日常成绩",headerColor = IndexedColors.RED)
    @Schema(description = "日常成绩")
    private Integer dailyPerformance;

    @Excel(name = "理论成绩",headerColor = IndexedColors.RED)
    @Schema(description = "理论成绩")
    private Integer theoreticalAchievement;

    @Excel(name = "实操成绩",headerColor = IndexedColors.RED)
    @Schema(description = "实操成绩")
    private Integer actualPerformance;

    @Excel(name = "装配台",headerColor = IndexedColors.RED)
    @Schema(description = "装配台")
    private Integer assemblyStand;

    @Excel(name = "实操总成绩",headerColor = IndexedColors.RED)
    @Schema(description = "实操总成绩")
    private Integer overallPracticalScore;

    @Excel(name = "总成绩",headerColor = IndexedColors.RED)
    @Schema(description = "总成绩")
    private Integer totalScore;

    @Excel(name = "考评等次",readConverterExp = "0=优秀,1=良好,2=及格,3=不及格",headerColor = IndexedColors.RED)
    @Schema(description = "考评等次(0优秀，1良好，2及格，3不及格)")
    private String evaluationOrder;

    @Excel(name = "是否结业",readConverterExp = "0=是,1=否",headerColor = IndexedColors.RED)
    @Schema(description = "是否结业（0是 1否）")
    private String isFinishSchool;

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

    @Schema(description = "主责单位ID")
    private Long mainUnitId;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人")
    private Long createUser;

    @Schema(description = "创建部门")
    private Long createDept;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateUser;

    @Schema(description = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(description = "是否已删除")
    private Integer isDeleted;

    /**
     * 储存地址
     */
    @Schema(description = "储存地址")
    private String url;
}
