package com.ruoyi.hezhi.domain; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.math.BigDecimal; import java.util.Date; import java.util.List; /** * 考试题目对象 tb_exam_subject * * @author ruoyi * @date 2024-11-04 */ @Getter @Setter @ToString public class TbExamSubject extends BaseEntity { private static final long serialVersionUID = 1L; /** 考试题目主键ID */ private Long examSubjectId; /** 考试题目编号 */ // @Excel(name = "考试题目编号") private String examSubjectNo; /** 考试类型 exam_type(0-考试,1-模拟考试) */ @Excel(name = "考试类型", readConverterExp = "0=考试,1=模拟考试") private String examType; /** 等级 */ @Excel(name = "等级",readConverterExp = "1=初级,2=中级,3=高级") private Integer level; /** 考试ID exam_id */ private Long examId; /** 题库分类ID */ private Long subjectWarehouseClassId; /** 题库分类 */ private String subjectWarehouseClassName; /** 分类ID */ // @Excel(name = "分类ID") private Long classId; /** 分类名 */ // @Excel(name = "分类名") private String className; /** 专业ID */ // @Excel(name = "专业ID") private Long majorId; /** 专业名 */ // @Excel(name = "专业名") private String majorName; /** 题目 */ @Excel(name = "题目") private String question; /** 文件 */ // @Excel(name = "文件") private String fileUrl; /** 文件类型(0-无,1-图片,2-视频) */ // @Excel(name = "文件类型", readConverterExp = "0=-无,1-图片,2-视频") private Integer fileType; /** 题目类型(1-单选,2-多选,3-判断,4-论述) */ @Excel(name = "题目类型", readConverterExp = "1=单选,2-多选,3-判断,4-论述") private Integer subjectType; /** 是否精选(0-不精选,1-精选) */ // @Excel(name = "是否精选", readConverterExp = "0=-不精选,1-精选") private Integer isSelected; /** 答案ID集合 */ // @Excel(name = "答案ID集合") private String answerIds; /** 答案 */ @Excel(name = "答案") private String answer; /** 试题详解 */ // @Excel(name = "试题详解") private String subjectExplain; /** 分数 */ @Excel(name = "分数") private BigDecimal score; /** 类型(0-全部) */ // @Excel(name = "类型", readConverterExp = "0=-全部") private Integer type; /** 审核状态(0-待审核,1-审核通过,2-审核拒绝) */ // @Excel(name = "审核状态", readConverterExp = "0=-待审核,1-审核通过,2-审核拒绝") private Integer examineStatus; /** 审核反馈 */ // @Excel(name = "审核反馈") private String examineFeedback; /** 排序 */ // @Excel(name = "排序") private Integer sort; /** 备注 */ // @Excel(name = "备注") private String remarks; /** 状态(0-显示,1-隐藏) */ @Excel(name = "状态", readConverterExp = "0=显示,1=隐藏") private Integer status; /** 发布时间 */ private Date publicationTime; /** 发布人 */ private String publisher; /** 删除时间 */ @JsonFormat(pattern = "yyyy-MM-dd") // @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd") private Date deleteTime; /** 删除人 */ // @Excel(name = "删除人") private String deleteBy; /** 删除标记(0-正常,1-删除) */ private Integer delFlag; /** 考试题目答案选项列表 */ private List examSubjectAnswerList; /** 考试ID */ // private Long examId; /** 删除时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") private Date createTime; }