package com.ycl.jxkg.domain.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.ycl.jxkg.domain.base.AbsEntity; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** * 随机试卷模板 * * @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("score") /** 总分 */ private BigDecimal score; @TableField("visibility") /** 是否私有 */ private String visibility; @TableField("suggest_time") /** 建议时间 */ private Integer suggestTime; @TableField("deduct_type") /** 多选扣分类型 */ private Integer deductType; @TableField("deduct_type_score") private BigDecimal deductTypeScore; @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; @TableField("create_time") /** */ private Date createTime; }