package com.ssj.service.conch.opentest.dto;

import java.io.Serializable;
import java.util.List;

public class QuestionDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 题号
     */
    private Integer questionNo;
    /**
     * 题目id
     */
    private String questionId;
    /**
     * 题目
     */
    private String question;
    /**
     * 知识模块/知识点
     */
    private String module;
    /**
     * 答案
     */
    private String answer;
    /**
     * 选项列表
     */
    private List<Option> optionList;

    public class Option implements Serializable {
        private static final long serialVersionUID = 1L;

        /**
         * 选项(A/B/C/D)
         */
        private String option;
        /**
         * 类型， 1文本，2图片(废弃)
         */
        private int type;
        /**
         * 选项内容(图片路径或文本)
         */
        private String value;

        public String getOption() {
            return option;
        }

        public void setOption(String option) {
            this.option = option;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    public Integer getQuestionNo() {
        return questionNo;
    }

    public void setQuestionNo(Integer questionNo) {
        this.questionNo = questionNo;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public List<Option> getOptionList() {
        return optionList;
    }

    public void setOptionList(List<Option> optionList) {
        this.optionList = optionList;
    }
}
