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 lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class ExamQuestionPageDTO extends BaseQueryDTO {



    /**
     * 题型
     */
    @Schema(description = "题型(0填空题  1判断题  2选择题  3问答题)")
    private String questionType;


    /**
     * 题干
     */
    @Schema(description = "题干")
    private String question;


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

    @Schema(description = "班次id")
    private String flightId;

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

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