From c46f49af9e766aed0ba583fce0efab98ebcdf76c Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 18 六月 2024 17:12:06 +0800 Subject: [PATCH] 管理员增加学生端权限 --- src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java | 58 ++++++++++++++++++++++++---------------------------------- 1 files changed, 24 insertions(+), 34 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java b/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java index e0c889d..9f4a0b3 100644 --- a/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java +++ b/src/main/java/com/ycl/jxkg/domain/entity/ExamPaper.java @@ -2,10 +2,12 @@ import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.jxkg.domain.base.AbsEntity; import lombok.Data; import java.io.Serializable; +import java.math.BigDecimal; import java.util.Date; @Data @@ -27,28 +29,22 @@ private Integer subjectId; /** - * 璇曞嵎绫诲瀷( 1鍥哄畾璇曞嵎 4.鏃舵璇曞嵎 6.浠诲姟璇曞嵎) + * 璇曞嵎绫诲瀷( 1鍥哄畾璇曞嵎 2.闅忓嵆璇曞嵎 3.闅忓簭璇曞嵎) */ @TableField("paper_type") private Integer paperType; /** - * 骞寸骇 - */ - @TableField("grade_level") - private Integer gradeLevel; - - /** - * 璇曞嵎鎬诲垎(鍗冨垎鍒�) + * 璇曞嵎鎬诲垎 */ @TableField("score") - private Integer score; + private BigDecimal score; /** * 棰樼洰鏁伴噺 */ - @TableField("question_count") - private Integer questionCount; + @TableField("num") + private Integer num; /** * 寤鸿鏃堕暱(鍒嗛挓) @@ -56,40 +52,34 @@ @TableField("suggest_time") private Integer suggestTime; - /** - * 鏃舵璇曞嵎 寮�濮嬫椂闂� - */ - @TableField("limit_start_time") - private Date limitStartTime; - - /** - * 鏃舵璇曞嵎 缁撴潫鏃堕棿 - */ - @TableField("limit_end_time") - private Date limitEndTime; - - /** - * 璇曞嵎妗嗘灦 鍐呭涓篔SON - */ - @TableField("frame_text_content_id") - private Integer frameTextContentId; - @TableField("create_user") private Integer createUser; @TableField("create_time") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; - - @TableField("task_exam_id") - private Integer taskExamId; /** * 鍙鎬э紝鍏紑/绉佹湁 * */ + @TableField("visibility") private String visibility; /** - * 鎵e垎绫诲瀷 + * 澶氶�夋墸鍒嗙被鍨� * */ - private String deductType; + @TableField("deduct_type") + private Integer deductType; + + /** + * 澶氶�夎瘎鍒嗗垎鏁� + * */ + @TableField("deduct_type_score") + private BigDecimal deductTypeScore; + + /** + * 澶氶�夎瘎鍒嗗垎鏁� + * */ + @TableField("content") + private String content; } -- Gitblit v1.8.0