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 StudentInfoPageDTO extends BaseQueryDTO {

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

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

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

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

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

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

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

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

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