Question.java 1.63 KB
Newer Older
liuzuming committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
package com.tianji.exam.domain.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 题目
 * </p>
 *
 * @author 虎哥
 * @since 2022-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("question")
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 题干
     */
    private String name;

    /**
     * 题目类型,1:单选题,2:多选题,3:不定向选择题,4:判断题,5:主观题
     */
    private Integer type;

    /**
     * 1级课程分类id
     */
    private Long cateId1;

    /**
     * 2级课程分类id
     */
    private Long cateId2;

    /**
     * 3级课程分类id
     */
    private Long cateId3;

    /**
     * 难易度,1:简单,2:中等,3:困难
     */
    private Integer difficulty;

    /**
     * 回答正确次数
     */
    private Integer correctTimes;

    /**
     * 回答次数
     */
    private Integer answerTimes;

    /**
     * 分值
     */
    private Integer score;

    /**
     * 部门id
     */
    private Long depId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建人
     */

    private Long creater;

    /**
     * 更新人
     */

    private Long updater;


}