linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
src/main/java/com/ots/project/exam/domain/TExamPaper.java
@@ -1,4 +1,5 @@
package com.ots.project.exam.domain;
import com.ots.framework.aspectj.lang.annotation.Excel;
import com.ots.framework.web.domain.BaseEntity;
import com.ots.project.exam.dto.ExamPaperTitleItem;
@@ -6,75 +7,146 @@
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.List;
/**
 * 产品包列表对象 t_exam_paper
 *
 * @author ots
 * @date 2019-11-20
 */
@Getter
@Setter
public class TExamPaper extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * 产品包编码
     */
    private Long id;
    /**
     * 产品包名称
     */
    @Excel(name = "产品包名称")
    private String name;
    /**
     * 维度
     */
    @Excel(name = "维度")
    private Long subjectId;
    private String subjectName;
    /**
     * 试卷类型( 1固定试卷 2临时试卷 3班级试卷 4.时段试卷 5.推送试卷)
     */
    private Long paperType;
    /**
     * 级别
     */
    private Long gradeLevel;
    /**
     * 试卷总分(千分制)
     */
    private Long score;
    /**
     * 题目数量
     */
    private Long questionCount;
    /**
     * 建议时长(分钟)
     */
    private Long suggestTime;
    /**
     * 时段试卷 开始时间
     */
    private Date limitStartTime;
    /**
     * 时段试卷 结束时间
     */
    private Date limitEndTime;
    /**
     * 试卷框架 内容为JSON
     */
    private Long frameTextContentId;
    /**
     * null
     */
    private Long createUser;
    /**
     * null
     */
    private Long deleted;
    /**
     * null
     */
    private Long taskExamId;
    /*标题里面的题目,现在在前台拼成json*/
    private String questions;
    private String guide;
    private Long levelId;
    private String levelName;
    private String questionTemplateId;
    private String questionTemplateName;
    // 从那个产品包更新过来
    private Long lastId;
    /*把标题数据传给编辑的前台*/
    private ExamPaperTitleItem examPaperTitleItem;
    /** 根据题目名称查询*/
    private String content;
    // 多语言
    private Long uuid;
    private String langType;
    private String langName;
    private String multilingual;
    private List<String> multilinguals;
    // 按题目查询产品包的附加字段
    private String questionContent;
    // 定义是新增语言还是修改语言的动作
    private String operatingLanguage;
    // 修改的时候一个版本号,V1,V2
    private String version;
    // 创建新版本
    private boolean create = false;
    // 区分不同版本的编号
    private String versionId;
    /**
     * 报告模板编码
     */
    private String reportTemplateId;
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)