package com.ytpm.app.view;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@ApiModel("问题列表返回类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionListView {
    @ApiModelProperty("问题ID")
    private String questionId;
    @ApiModelProperty("问题内容")
    private String questionContent;
    @ApiModelProperty("问题奖励")
    private BigDecimal questionReward;
    @ApiModelProperty("正确选项")
    private String correctItem;
    @ApiModelProperty("选项列表")
    private List<QuestionItemListView> itemList;
}
