10 changed files with 291 additions and 9 deletions
@ -0,0 +1,78 @@ |
|||
package com.ccsens.tcm.bean.vo; |
|||
|
|||
import lombok.Data; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
public class QuestionVo { |
|||
@Data |
|||
public static class ReportCodeVo { |
|||
//id
|
|||
private Long id; |
|||
//code
|
|||
private String code; |
|||
//名称
|
|||
private String name; |
|||
//上级code
|
|||
private String parentCode; |
|||
//是否为必做
|
|||
private Byte must; |
|||
//第几级code
|
|||
private Byte level; |
|||
//排序
|
|||
private Integer sort; |
|||
//备注
|
|||
private String remark; |
|||
//记录类型
|
|||
private Byte reportType; |
|||
//子类型
|
|||
private List<ReportCodeVo> subReportCodes; |
|||
//题目信息
|
|||
private List<CodeQuestionVo> questionVos; |
|||
} |
|||
|
|||
@Data |
|||
public static class CodeQuestionVo { |
|||
//id
|
|||
private Long id; |
|||
//题目名称
|
|||
private String question; |
|||
//code
|
|||
private String code; |
|||
//排序
|
|||
private Integer sort; |
|||
//单位例如 g/L
|
|||
private String units; |
|||
//类型 1单行文本,2多行文本,3单选,4多选,5下拉菜单,6日期,7图片(文件),8单选+其他,
|
|||
// 9多选+其他,10下拉+其他,11多选+其他+说明,12单选+关联其他内容 13数字类型
|
|||
private Byte type; |
|||
//关联的选项id
|
|||
private Long relevanceOptionId; |
|||
//是否是搜索条件
|
|||
private Byte searchCriteria; |
|||
//备注
|
|||
private String remark; |
|||
//选项信息
|
|||
private List<QuestionOptionVo> optionVos; |
|||
} |
|||
|
|||
@Data |
|||
public static class QuestionOptionVo { |
|||
//id
|
|||
private Long id; |
|||
//题目id
|
|||
private Long questionId; |
|||
//排序
|
|||
private Integer sort; |
|||
//显示值
|
|||
private String showValue; |
|||
//提交值
|
|||
private String submitValue; |
|||
//选择之后的操作 0无 1单行文本 2多行文本 3关联其他题目
|
|||
private Byte afterOperation; |
|||
//选择之后关联的题目
|
|||
private List<CodeQuestionVo> questionVos; |
|||
} |
|||
} |
Loading…
Reference in new issue