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-09 15:20:36
 */
@Getter
@Setter
@TableName("teacher_example_questions")
@Schema(name = "ExampleQuestionsEntity对象", description = "例题表")
public class ExampleQuestionsEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    @Schema(description = "题型：1:选择题 2:问答题 3:判断题, 4: 填空题,5: 计算题")
    @TableField("`type`")
    private Integer type;

    @Schema(description = "题干内容")
    @TableField("question")
    private String question;

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

    @Schema(description = "解析内容")
    @TableField("solution")
    private String solution;

    @Schema(description = "富文本")
    private String html;

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

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

}
