package jnpf.entity.training;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import jnpf.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 *
 * 题目
 *
 * @author yanglei
 * @since 2023-07-22
 */
@Data
@Accessors(chain = true)
@TableName("ftb_training_question")

public class TrainingQuestionEntity extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;


    @Schema(description = "题库ID")
    @TableField("F_ClassifyId")
    private String classifyId;

    @Schema(description = "题型（1单选，2多选，3判断，4填空，5简答，6组合）")
    @TableField("F_Type")
    private Integer type;

    @Schema(description = "难度（1易，2中，3难）")
    @TableField("F_Difficulty")
    private Integer difficulty;

    @Schema(description = "题目内容")
    @TableField("F_Content")
    private String content;

    @Schema(description = "正确答案（选项ID，多个逗号分隔）")
    @TableField("F_Answer")
    private String answer;
}