package com.ycl.jxkg.domain.entity;
|
|
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
|
@TableName("t_exam_paper")
|
public class ExamPaper extends AbsEntity {
|
|
private static final long serialVersionUID = 8509645224550501395L;
|
|
/**
|
* 试卷名称
|
*/
|
@TableField("name")
|
private String name;
|
|
/**
|
* 试卷类型( 1固定试卷 2.随即试卷 3.随序试卷)
|
*/
|
@TableField("paper_type")
|
private Integer paperType;
|
|
/**
|
* 试卷总分
|
*/
|
@TableField("score")
|
private BigDecimal score;
|
|
/**
|
* 题目数量
|
*/
|
@TableField("num")
|
private Integer num;
|
|
/**
|
* 建议时长(分钟)
|
*/
|
@TableField("suggest_time")
|
private Integer suggestTime;
|
|
@TableField("create_user")
|
private Integer createUser;
|
|
@TableField("create_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 可见性,公开/私有
|
* */
|
@TableField("visibility")
|
private String visibility;
|
|
/**
|
* 多选扣分类型
|
* */
|
@TableField("deduct_type")
|
private Integer deductType;
|
|
/**
|
* 多选评分分数
|
* */
|
@TableField("deduct_type_score")
|
private BigDecimal deductTypeScore;
|
|
/**
|
* 题目格式
|
* */
|
@TableField("content")
|
private String content;
|
}
|