From 528b1892d8e929b199dddc96f3a43f9b8039c8c8 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期四, 06 六月 2024 18:00:42 +0800 Subject: [PATCH] 模板接口打通 --- src/main/java/com/ycl/jxkg/domain/entity/ExamTemplate.java | 139 ++++++++++++++++++++++++---------------------- 1 files changed, 73 insertions(+), 66 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/ExamTemplate.java b/src/main/java/com/ycl/jxkg/domain/entity/ExamTemplate.java index 932af87..b3f3ce9 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/ExamTemplate.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/ExamTemplate.java @@ -5,88 +5,95 @@ import com.ycl.jxkg.domain.base.AbsEntity; import lombok.Data; -import java.util.Date; +import java.math.BigDecimal; + /** - * 闅忔満璇曞嵎妯℃澘琛� - * */ + * 闅忔満璇曞嵎妯℃澘 + * + * @author flq + * @since 2024-06-05 + */ @Data @TableName("t_exam_template") public class ExamTemplate extends AbsEntity { - /** - * 妯℃澘鍚� - * */ + + private static final long serialVersionUID = 1L; + @TableField("name") + /** 妯℃澘鍚� */ private String name; - /** - * 瀛︾ - * */ @TableField("subject_id") + /** 瀛︾id */ private Integer subjectId; - /** - * 寤鸿鑰冭瘯鏃堕暱 - * */ - @TableField("suggest_time") - private Integer suggestTime; - - /** - * 鍗曢�夐鏁伴噺 - * */ - @TableField("single_choice") - private Integer singleChoice; - - /** - * 澶氶�夐鏁伴噺 - * */ - @TableField("multiple_choice") - private Integer multipleChoice; - - /** - * 濉┖棰樻暟閲� - * */ - @TableField("gap_filling") - private Integer gapFilling; - - /** - * 鍒ゆ柇棰樻暟閲� - * */ - @TableField("true_false") - private Integer trueFalse; - - /** - * 绠�绛旈鏁伴噺 - * */ - @TableField("short_answer") - private Integer shortAnswer; - - /** - * 璁$畻棰樻暟閲� - * */ - @TableField("calculation") - private Integer calculation; - - /** - * 鎬诲垎 - * */ @TableField("score") + /** 鎬诲垎 */ private Integer score; - /** - * 澶氶�夋墸鍒嗙被鍨� - * */ + @TableField("visibility") + /** 鏄惁绉佹湁 */ + private String visibility; + + @TableField("suggest_time") + /** 寤鸿鏃堕棿 */ + private Integer suggestTime; + @TableField("deduct_type") - private String deductType; + /** 澶氶�夋墸鍒嗙被鍨� */ + private Integer deductType; - /** - * 鍒涘缓鏃堕棿 - * */ - @TableField("create_time") - private Date createTime; + @TableField("single_choice") + /** 鍗曢�夐鏁伴噺 */ + private Integer singleChoice; - /** - * 鍒涘缓浜� - * */ + @TableField("multiple_choice") + /** 澶氶�夐鏁伴噺 */ + private Integer multipleChoice; + + @TableField("gap_filling") + /** 濉┖棰樻暟閲� */ + private Integer gapFilling; + + @TableField("true_false") + /** 鍒ゆ柇鏁伴噺 */ + private Integer trueFalse; + + @TableField("short_answer") + /** 绠�绛旈鏁伴噺 */ + private Integer shortAnswer; + + @TableField("calculation") + /** 璁$畻棰樻暟閲� */ + private Integer calculation; + + @TableField("single_score") + /** 鍗曢�夋瘡棰樺垎鏁� */ + private BigDecimal singleScore; + + @TableField("multiple_score") + /** 澶氶�夋瘡棰樺垎鏁� */ + private BigDecimal multipleScore; + + @TableField("gap_score") + /** 濉┖姣忛鍒嗘暟 */ + private BigDecimal gapScore; + + @TableField("true_false_score") + /** 鍒ゆ柇姣忛鍒嗘暟 */ + private BigDecimal trueFalseScore; + + @TableField("short_answer_score") + /** 绠�绛旀瘡棰樺垎鏁� */ + private BigDecimal shortAnswerScore; + + @TableField("calculation__score") + /** 璁$畻姣忛鍒嗘暟 */ + private BigDecimal calculationScore; + @TableField("create_user") + /** */ private Integer createUser; + + } -- Gitblit v1.8.0