package com.tzy.dto;

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

import java.util.Date;

@Data
@ApiModel("答题活动题目信息")
public class QuizLibDto {

    @ApiModelProperty("题目id")
    private Long id;
    @ApiModelProperty("答题活动id")
    private Long activityId;
    @ApiModelProperty("题目类型：choice_single,选择题多选:choice_multi,文字:text")
    private String type;
    @ApiModelProperty("题目内容")
    private String questionText;
    @ApiModelProperty("题目选项，json格式")
    private String questionChoiceText;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("是否必答题")
    private Integer required;
    @ApiModelProperty("状态：0、未启用，1、已启用")
    private Integer status;
}
