package com.yanzhu.manage.domain;

import com.yanzhu.common.core.annotation.Excel;
import com.yanzhu.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库问题对象 bus_exam_question_result
 * 
 * @author JiangYuQi
 * @date 2024-08-25
 */
public class BusExamQuestionResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 问题主键 */
    @Excel(name = "问题主键")
    private Long questionId;

    /** 答案选项 */
    @Excel(name = "答案选项")
    private String opt;

    /** 答案描述 */
    @Excel(name = "答案描述")
    private String result;

    /** 是否正确 */
    @Excel(name = "是否正确")
    private Long isOk;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setOpt(String opt) 
    {
        this.opt = opt;
    }

    public String getOpt() 
    {
        return opt;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    public Long getIsOk() {
        return isOk;
    }

    public void setIsOk(Long isOk) {
        this.isOk = isOk;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("opt", getOpt())
            .append("result", getResult())
            .append("isOk", getIsOk())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
