|
@@ -2,6 +2,7 @@ package com.diagbot.dto;
|
|
|
|
|
|
import com.diagbot.entity.QuestionDetail;
|
|
import com.diagbot.entity.QuestionDetail;
|
|
import com.diagbot.entity.QuestionMapping;
|
|
import com.diagbot.entity.QuestionMapping;
|
|
|
|
+import com.diagbot.enums.ControlTypeEnum;
|
|
import com.diagbot.enums.QuestionTypeEnum;
|
|
import com.diagbot.enums.QuestionTypeEnum;
|
|
import com.diagbot.enums.TagTypeEnum;
|
|
import com.diagbot.enums.TagTypeEnum;
|
|
import lombok.Getter;
|
|
import lombok.Getter;
|
|
@@ -97,6 +98,10 @@ public class QuestionPageDTO implements Serializable {
|
|
* 控件类型(0:无类型,默认值 1:下拉单选 2:下拉多选 3:纯文本 4:待定 5:待定 6:文本框 7:数字键盘文本框 99:联合推送)
|
|
* 控件类型(0:无类型,默认值 1:下拉单选 2:下拉多选 3:纯文本 4:待定 5:待定 6:文本框 7:数字键盘文本框 99:联合推送)
|
|
*/
|
|
*/
|
|
private Integer controlType;
|
|
private Integer controlType;
|
|
|
|
+ /**
|
|
|
|
+ * 控件类型(中文)
|
|
|
|
+ */
|
|
|
|
+ private String controlTypeCn;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 类型
|
|
* 类型
|
|
@@ -172,5 +177,8 @@ public class QuestionPageDTO implements Serializable {
|
|
public String getTagTypeCn() {
|
|
public String getTagTypeCn() {
|
|
return this.tagType == null ? "" : TagTypeEnum.getName(this.tagType);
|
|
return this.tagType == null ? "" : TagTypeEnum.getName(this.tagType);
|
|
}
|
|
}
|
|
|
|
+ public String getControlTypeCn() {
|
|
|
|
+ return this.controlType == null ? "" : ControlTypeEnum.getName(this.controlType);
|
|
|
|
+ }
|
|
/**********************************************************************/
|
|
/**********************************************************************/
|
|
}
|
|
}
|