package com.rongwei.training.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.rongwei.rwcommon.base.BaseDo;

import java.io.Serializable;
import java.util.Date;

/**
 * 考题定义表
 *
 * @author sola
 * @email zhangchi@irongwei.com
 * @date 2020-09-22 14:28:46
 */
@Data
@TableName(value = "training_subject")
public class SubjectDo extends BaseDo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    private String id;
    /**
     * 考题名称
     */
    private String subjectname;
    /**
     * 类型(单选、多选、判读)
     */
    private String subjecttype;
    /**
     * 关联课程ID
     */
    @TableField(condition = SqlCondition.LIKE)
    private String subjectcourseids;
    /**
     * 关联课程
     */
    private String subjectcoursenames;
    /**
     * 正确答案
     */
    private String rightanswer;
    /**
     * 租户ID
     */
    @TableField(value = "TENANTID", fill = FieldFill.INSERT)
    private String tenantid;
    /**
     * 扩展json格式配置
     */
    private String roption;
    /**
     * 创建人名称
     */
    private String createusername;
    /**
     * 修改人名称
     */
    private String modifyusername;

}
