|
@@ -1,9 +1,6 @@
|
|
|
package com.nb.bus.entity;
|
|
package com.nb.bus.entity;
|
|
|
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
|
|
|
-import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.*;
|
|
|
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
|
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
|
|
|
import com.nb.bus.service.dto.FormulaDrugDomain;
|
|
import com.nb.bus.service.dto.FormulaDrugDomain;
|
|
|
import com.nb.bus.service.dto.UndoDeviceConfig;
|
|
import com.nb.bus.service.dto.UndoDeviceConfig;
|
|
@@ -54,53 +51,73 @@ public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
private Date endTime;
|
|
private Date endTime;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "asa")
|
|
@ApiModelProperty(value = "asa")
|
|
|
|
|
+ @Length(max = 255,message = "asa长度不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String asa;
|
|
private String asa;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "患者姓名")
|
|
@ApiModelProperty(value = "患者姓名")
|
|
|
@Length(max = 255,message = "患者姓名长度不得超过255个字节")
|
|
@Length(max = 255,message = "患者姓名长度不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String patientName;
|
|
private String patientName;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "患者性别")
|
|
@ApiModelProperty(value = "患者性别")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private SexEnum patientGender;
|
|
private SexEnum patientGender;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "患者年龄")
|
|
@ApiModelProperty(value = "患者年龄")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private Integer patientAge;
|
|
private Integer patientAge;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "病区")
|
|
@ApiModelProperty(value = "病区")
|
|
|
@Length(max = 255,message = "病区")
|
|
@Length(max = 255,message = "病区")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String ward;
|
|
private String ward;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "病床号")
|
|
@ApiModelProperty(value = "病床号")
|
|
|
@Length(max = 255,message = "病床号长度不得超过255个字节")
|
|
@Length(max = 255,message = "病床号长度不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String bedNo;
|
|
private String bedNo;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "体重")
|
|
@ApiModelProperty(value = "体重")
|
|
|
@Length(max = 255,message = "体重不得超过255个字节")
|
|
@Length(max = 255,message = "体重不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+
|
|
|
private String weight;
|
|
private String weight;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "身高")
|
|
@ApiModelProperty(value = "身高")
|
|
|
@Length(max = 255,message = "身高不得超过255个字节")
|
|
@Length(max = 255,message = "身高不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+
|
|
|
private String height;
|
|
private String height;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "麻醉医生")
|
|
@ApiModelProperty(value = "麻醉医生")
|
|
|
@Length(max = 255,message = "麻醉医生不得超过255个字节")
|
|
@Length(max = 255,message = "麻醉医生不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+
|
|
|
private String anaDoctor;
|
|
private String anaDoctor;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "麻醉方式")
|
|
@ApiModelProperty(value = "麻醉方式")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+ @Length(max = 255,message = "麻醉方式不得超过255个字节")
|
|
|
private String anaType;
|
|
private String anaType;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "镇痛方式")
|
|
@ApiModelProperty(value = "镇痛方式")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+ @Length(max = 255,message = "镇痛方式不得超过255个字节")
|
|
|
private String analType;
|
|
private String analType;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "手术医生")
|
|
@ApiModelProperty(value = "手术医生")
|
|
|
@Length(max = 255,message = "手术医生不得超过255个字节")
|
|
@Length(max = 255,message = "手术医生不得超过255个字节")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String surgeryDoctor;
|
|
private String surgeryDoctor;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "配置人员")
|
|
@ApiModelProperty(value = "配置人员")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
+ @Length(max = 255,message = "配置人员不得超过255个字节")
|
|
|
private String configPerson;
|
|
private String configPerson;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "配方")
|
|
@ApiModelProperty(value = "配方")
|
|
|
- @TableField(typeHandler = FastjsonTypeHandler.class,javaType = true)
|
|
|
|
|
|
|
+ @TableField(typeHandler = FastjsonTypeHandler.class,javaType = true,updateStrategy = FieldStrategy.IGNORED)
|
|
|
private FormulaDrugDomain formula;
|
|
private FormulaDrugDomain formula;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "临床是否结束,0、未结束 1、结束 ")
|
|
@ApiModelProperty(value = "临床是否结束,0、未结束 1、结束 ")
|
|
@@ -114,12 +131,13 @@ public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
@TableField(typeHandler = FastjsonTypeHandler.class)
|
|
@TableField(typeHandler = FastjsonTypeHandler.class)
|
|
|
private UndoDeviceConfig undoConfig;
|
|
private UndoDeviceConfig undoConfig;
|
|
|
|
|
|
|
|
- //todo
|
|
|
|
|
|
|
+
|
|
|
@ApiModelProperty(value = "监护类型,1、有泵监护 0、无泵监护")
|
|
@ApiModelProperty(value = "监护类型,1、有泵监护 0、无泵监护")
|
|
|
@JsonIgnoreProperties(allowGetters = true)
|
|
@JsonIgnoreProperties(allowGetters = true)
|
|
|
private Boolean monitorType;
|
|
private Boolean monitorType;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "医嘱")
|
|
@ApiModelProperty(value = "医嘱")
|
|
|
|
|
+ @TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String entrust;
|
|
private String entrust;
|
|
|
|
|
|
|
|
@ApiModelProperty("该临床的最后一次评价时间")
|
|
@ApiModelProperty("该临床的最后一次评价时间")
|