You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot-online-exam/backend/src/main/java/lsgwr/exam/vo/QuestionDetailVo.java

46 lines
958 B

/***********************************************************
* @Description : 问题详情的实体类
* @author : 梁山广(Laing Shan Guang)
* @date : 2019-10-20 09:51
* @email : liangshanguang2@gmail.com
***********************************************************/
package lsgwr.exam.vo;
import lsgwr.exam.entity.QuestionOption;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* 问题详情的实体类
*/
@Data
public class QuestionDetailVo {
/**
* 问题的id
*/
private String id;
/**
* 考试题目
*/
private String name;
/**
* 考试描述
*/
private String description;
/**
* 问题的类型
*/
private String type;
/**
* 问题的选项
*/
private List<QuestionOption> options;
/**
* 问题的答案,选项的id组成的数组
*/
private List<String> answers = new ArrayList<>();
}