|
|
@@ -0,0 +1,129 @@
|
|
|
+package com.coffee.bus.entity;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.alibaba.fastjson.annotation.JSONField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+import com.coffee.common.config.mybatis.DateToBigIntHandler;
|
|
|
+import com.coffee.common.entity.TenantGenericEntity;
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import com.fasterxml.jackson.annotation.JsonSetter;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.EqualsAndHashCode;
|
|
|
+import lombok.experimental.Accessors;
|
|
|
+import org.hibernate.validator.constraints.Length;
|
|
|
+
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
+import javax.validation.constraints.Size;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author fanfan
|
|
|
+ * @since 2020-07-03
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@EqualsAndHashCode(callSuper = false)
|
|
|
+@Accessors(chain = true)
|
|
|
+@TableName("bus_analgesic_score")
|
|
|
+@ApiModel(value="评价得分", description="评价得分实体类")
|
|
|
+public class BusAnalgesicScoreEntity extends TenantGenericEntity<Long,Long> {
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "病号")
|
|
|
+ @Length(max = 255,message = "病号长度不得超过255个字节")
|
|
|
+ public String patientId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "临床号")
|
|
|
+ @Length(max = 255,message = "临床号长度不得超过255个字节")
|
|
|
+ private String clinicId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "泵号")
|
|
|
+ @Length(max = 50,message = "泵号长度不得超过50个字节")
|
|
|
+ private String pumpCode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "疼痛评分静止")
|
|
|
+ private Integer statics;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "疼痛评分活动")
|
|
|
+ private Integer activity;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "镇静评分")
|
|
|
+ private Integer calm;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "左上肢")
|
|
|
+ private Integer leftArm;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "左下肢")
|
|
|
+ private Integer leftLeg;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "右上肢")
|
|
|
+ private Integer rightArm;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "右下肢")
|
|
|
+ private Integer rightLeg;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "恶心呕吐")
|
|
|
+ private Integer nauseaVomit;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "瘙痒")
|
|
|
+ private Integer itch;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "眩晕")
|
|
|
+ private Integer vertigo;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "咽喉疼痛")
|
|
|
+ private Integer soreThroat;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "尿潴留")
|
|
|
+ private Integer uroschesis;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "呼吸抑制")
|
|
|
+ private Integer breathDepression;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "声音嘶哑")
|
|
|
+ private Integer hoarseness;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "认知障碍")
|
|
|
+ private Integer cognitionObstacle;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "其他")
|
|
|
+ @Length(max = 255,message = "其他长度不得超过255个字节")
|
|
|
+ private String other;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "满意度")
|
|
|
+ private Integer satisfaction;
|
|
|
+
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "评价时间",hidden = true)
|
|
|
+ @TableField(typeHandler = DateToBigIntHandler.class)
|
|
|
+ private Date evaluateTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "评价人")
|
|
|
+ @Length(max = 255,message = "评价人长度不得超过255个字节")
|
|
|
+ private String evaluator;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "收缩压")
|
|
|
+ private String shrinkPressure;
|
|
|
+
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "舒张压")
|
|
|
+ private String diastensPressure;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "心率")
|
|
|
+ private String heartRate;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "呼吸频率")
|
|
|
+ private String breathRate;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "血氧饱和度")
|
|
|
+ private String bloodOxygenSaturation;
|
|
|
+}
|