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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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 org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StudentInfoVO {

    @Schema(description = "学员ID")
    private Long studentId;


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

    @Schema(description = "审核状态（0=待审核，1=审核通过，2=审核未通过）")
    private Integer status;

    @Schema(description = "学员类型（0初级 1中级 2高级）")
    private String traineeType;

    @Schema(description = "性别（0男 1女 2未知）")
    private String sex;

    @Schema(description = "籍贯")
    private String nativePlace;

    @Schema(description = "民族")
    private String nation;

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

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

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

    @Schema(description = "出生年月")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    @Schema(description = "入伍年月")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date enlistmentYear;

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

    @Schema(description = "现岗位ID")
    private Long presentPostId;

    @Schema(description = "现岗位名称")
    private String presentPostName;

    @Schema(description = "现职时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date currentEmployment;


    @Schema(description = "职务")
    private String job;


    @Schema(description = "军衔")
    private String militaryRank;


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

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


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

    @Schema(description = "承训单位ID")
    private Long trainingUnitId;

    @Schema(description = "承训单位名称")
    private String trainingUnitName;

    @Schema(description = "学历（0小学 1初中 2高中 3中专 4大专 5本科 6研究生 7博士）")
    private String qualification;

    @Schema(description = "单位联系人")
    private String unitContact;


    @Schema(description = "联系电话")
    private String phonenumber;


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

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


    @Schema(description = "不通过原因")
    private String reason;

    @Schema(description = "数据状态（0草稿（待分配）,1待培训,2培训中,3已培训,4作废）")
    private Integer isDistribution;

    @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 educationalSystem;

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

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

    @Schema(description = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    @Schema(description = "总成绩")
    private Integer totalScore;

    @Schema(description = "入学摸底考试成绩")
    private Integer admissionScore;
}
