package com.cirle.scientific.dto.course;/*
 *24901
 *2022/12/26
 *16:13
 */

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

import java.util.List;

/**
 * @author 24901
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RandomExaminationResp {

    @ApiModelProperty(value = "肺报告id")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String question;

    private List<Option> options;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class Option {
        /**
         * 问题选项id
         */

        private Long optionId;

        /**
         * 选项标题
         */
        private String optionTitle;

        /**
         * 分值
         */
        private Integer score;
        /**
         * 分值
         */
        private boolean checked = false;
    }
}
