package com.fs.his.vo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

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

@Data
public class AnswerVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private String title;

    private List<Options> options;

    //已选择数据(多选)
    private List<Integer> value;

    //每个问题下的选项的备注根据options的open 属性来判断 true 显示, false 不显示
    private List<Remarks> remarksList;

    //排序
    private Integer sort;
    //private Integer value;


    //是否医生已确认
    private Boolean flag;

   @Data
    public static class Options implements Serializable{
        private String name;
        private Integer value;
        private boolean open;
    }

    @Data
    public static class Remarks implements Serializable{
        //问题的选项值
        private Integer value;
        //选项的备注
        private String text;
    }
}
