package com.seer.teach.teacher.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author Wang
 * @since 2025-10-25 18:58:18
 */
@Getter
@Setter
@TableName("teacher_bank_questions")
@Schema(name = "BankQuestionsEntity对象", description = "")
public class BankQuestionsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "知识点ID")
    @TableField("know_id")
    private Integer knowId;

    @Schema(description = "题目")
    @TableField("title")
    private String title;

    @Schema(description = "解题过程")
    @TableField("solution")
    private String solution;

    @Schema(description = "答案")
    @TableField("answer")
    private String answer;

    @Schema(description = "答案")
    @TableField("examination_point")
    private String examinationPoint;

    @Schema(description = "完整富文本内容 （题目 选项 答案 解题过程）")
    @TableField("html")
    private String html;

    @Schema(description = "完整富文本内容 （题目 选项 答案 解题过程）")
    @TableField("question_html")
    private String questionHtml;

    @Schema(description = "0其他题型  1单选选择题 2多选选择题 3问答题 4判断题")
    @TableField("`type`")
    private Integer type;

    @Schema(description = "题目难易度系数（0.00-5.00，越大越难）")
    @TableField("`difficulty`")
    private BigDecimal difficulty;

    @Schema(description = "状态：0草稿 1启用 2停用")
    @TableField("`status`")
    private Integer status;

    @Schema(description = "排序字段")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "是否已检查 0-未检查 1-已检查")
    @TableField("is_checked")
    private Integer isChecked;

    @Schema(description = "评分")
    @TableField("score")
    private BigDecimal score;

    @Schema(description = "是否需要图片 0-不需要 1-需要")
    @TableField("is_need_image")
    private Integer isNeedImage;

}