|
|
@@ -30,14 +30,14 @@ import java.util.*;
|
|
|
public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
|
|
|
@ApiModelProperty(value = "临床手术名称")
|
|
|
- @Length(max = 255,message = "临床手术名称长度不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "临床手术名称长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
private String surgeryName;
|
|
|
|
|
|
@ApiModelProperty(value = "住院号")
|
|
|
- @Length(max = 255,message = "病号长度不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "病号长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
private String patientCode;
|
|
|
|
|
|
- @ApiModelProperty(value = "住院号id")
|
|
|
+ @ApiModelProperty(value = "住院号id",hidden = true)
|
|
|
private String patientId;
|
|
|
|
|
|
@ApiModelProperty(value = "手术开始时间")
|
|
|
@@ -51,12 +51,12 @@ public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
private Date endTime;
|
|
|
|
|
|
@ApiModelProperty(value = "asa")
|
|
|
- @Length(max = 255,message = "asa长度不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "asa长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String asa;
|
|
|
|
|
|
@ApiModelProperty(value = "患者姓名")
|
|
|
- @Length(max = 255,message = "患者姓名长度不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "患者姓名长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String patientName;
|
|
|
|
|
|
@@ -69,51 +69,51 @@ public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
private Integer patientAge;
|
|
|
|
|
|
@ApiModelProperty(value = "病区")
|
|
|
- @Length(max = 255,message = "病区")
|
|
|
+ @Length(max = 255,message = "病区名称不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String ward;
|
|
|
|
|
|
@ApiModelProperty(value = "病床号")
|
|
|
- @Length(max = 255,message = "病床号长度不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "病床号长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String bedNo;
|
|
|
|
|
|
@ApiModelProperty(value = "体重")
|
|
|
- @Length(max = 255,message = "体重不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "体重不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
|
private String weight;
|
|
|
|
|
|
@ApiModelProperty(value = "身高")
|
|
|
- @Length(max = 255,message = "身高不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "身高不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
|
private String height;
|
|
|
|
|
|
@ApiModelProperty(value = "麻醉医生")
|
|
|
- @Length(max = 255,message = "麻醉医生不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "麻醉医生不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
|
private String anaDoctor;
|
|
|
|
|
|
@ApiModelProperty(value = "麻醉方式")
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
- @Length(max = 255,message = "麻醉方式不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "麻醉方式不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
private String anaType;
|
|
|
|
|
|
@ApiModelProperty(value = "镇痛方式")
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
- @Length(max = 255,message = "镇痛方式不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "镇痛方式不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
private String analType;
|
|
|
|
|
|
@ApiModelProperty(value = "手术医生")
|
|
|
- @Length(max = 255,message = "手术医生不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "手术医生不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String surgeryDoctor;
|
|
|
|
|
|
@ApiModelProperty(value = "配置人员")
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
- @Length(max = 255,message = "配置人员不得超过255个字节")
|
|
|
+ @Length(max = 255,message = "配置人员不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
private String configPerson;
|
|
|
|
|
|
@ApiModelProperty(value = "配方")
|
|
|
@@ -137,6 +137,7 @@ public class BusClinicEntity extends TenantGenericEntity<String,String> {
|
|
|
private Boolean monitorType;
|
|
|
|
|
|
@ApiModelProperty(value = "医嘱")
|
|
|
+ @Length(max = 255,message = "医嘱长度不得超过255个字节",groups = {Insert.class,Update.class})
|
|
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
|
|
private String entrust;
|
|
|
|