|
|
@@ -1,6 +1,5 @@
|
|
|
package com.nb.app.assistant.api.entity;
|
|
|
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
|
|
@@ -42,10 +41,14 @@ public class AssistantEvalEntity extends GenericEntity<String> {
|
|
|
@NotNull(message = "评价时间不能为空")
|
|
|
private Date evaluateTime;
|
|
|
|
|
|
- @ApiModelProperty(value = "评价人(使用userId)",required = true)
|
|
|
- @NotNull(message = "评价人 不能为空")
|
|
|
+ @ApiModelProperty(value = "评价人Id(使用userId)",required = true)
|
|
|
+ @NotNull(message = "评价人Id 不能为空")
|
|
|
private String evaluator;
|
|
|
|
|
|
+ @ApiModelProperty(value = "评价人(使用userId)",required = true)
|
|
|
+ @NotNull(message = "评价人姓名 不能为空")
|
|
|
+ private String evaluatorName;
|
|
|
+
|
|
|
@ApiModelProperty("疼痛部位-正面 具体传值内容即key:value值由传参人决定,传入值即为获取值")
|
|
|
@TableField(typeHandler = JacksonTypeHandler.class)
|
|
|
private Map<String,Object> painFront;
|
|
|
@@ -59,13 +62,13 @@ public class AssistantEvalEntity extends GenericEntity<String> {
|
|
|
private List<String> painNature;
|
|
|
|
|
|
@ApiModelProperty("静息疼痛")
|
|
|
- private Integer statics;
|
|
|
+ private String statics;
|
|
|
|
|
|
@ApiModelProperty("活动疼痛")
|
|
|
- private Integer activity;
|
|
|
+ private String activity;
|
|
|
|
|
|
@ApiModelProperty("过去24小时最疼")
|
|
|
- private Integer painLastOneDay;
|
|
|
+ private String painLastOneDay;
|
|
|
|
|
|
@ApiModelProperty("睡眠")
|
|
|
private String sleep;
|
|
|
@@ -83,20 +86,20 @@ public class AssistantEvalEntity extends GenericEntity<String> {
|
|
|
private String eruptPainDuration;
|
|
|
|
|
|
@ApiModelProperty("恶心呕吐")
|
|
|
- private Integer nauseaVomit;
|
|
|
+ private String nauseaVomit;
|
|
|
|
|
|
@ApiModelProperty("瘙痒")
|
|
|
- private Integer itch;
|
|
|
+ private String itch;
|
|
|
|
|
|
@ApiModelProperty("眩晕")
|
|
|
- private Integer vertigo;
|
|
|
+ private String vertigo;
|
|
|
|
|
|
@ApiModelProperty("喉咙疼痛")
|
|
|
- private Integer soreThroat;
|
|
|
+ private String soreThroat;
|
|
|
|
|
|
@ApiModelProperty("声音嘶哑")
|
|
|
private String hoarseness;
|
|
|
|
|
|
@ApiModelProperty("满意度")
|
|
|
- private Integer satisfaction;
|
|
|
+ private String satisfaction;
|
|
|
}
|