|
@@ -2,6 +2,8 @@ package com.diagbot.entity;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
@@ -12,7 +14,7 @@ import java.util.Date;
|
|
* </p>
|
|
* </p>
|
|
*
|
|
*
|
|
* @author zhoutg
|
|
* @author zhoutg
|
|
- * @since 2021-10-20
|
|
|
|
|
|
+ * @since 2021-10-22
|
|
*/
|
|
*/
|
|
public class TranLog implements Serializable {
|
|
public class TranLog implements Serializable {
|
|
|
|
|
|
@@ -49,6 +51,26 @@ public class TranLog implements Serializable {
|
|
*/
|
|
*/
|
|
private String modifier;
|
|
private String modifier;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 病人唯一标识(病人id、病历号等)
|
|
|
|
+ */
|
|
|
|
+ private String patientId;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 医院id
|
|
|
|
+ */
|
|
|
|
+ private Long hospitalId;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 子医院编码
|
|
|
|
+ */
|
|
|
|
+ private String subHospitalCode;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 子医院名称
|
|
|
|
+ */
|
|
|
|
+ private String subHospitalName;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 场景名称
|
|
* 场景名称
|
|
*/
|
|
*/
|
|
@@ -67,11 +89,13 @@ public class TranLog implements Serializable {
|
|
/**
|
|
/**
|
|
* 请求时间
|
|
* 请求时间
|
|
*/
|
|
*/
|
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss.SSS",timezone = "GMT+8")
|
|
private Date gmtReq;
|
|
private Date gmtReq;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 响应时间
|
|
* 响应时间
|
|
*/
|
|
*/
|
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss.SSS",timezone = "GMT+8")
|
|
private Date gmtResp;
|
|
private Date gmtResp;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -132,6 +156,38 @@ public class TranLog implements Serializable {
|
|
this.modifier = modifier;
|
|
this.modifier = modifier;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getPatientId() {
|
|
|
|
+ return patientId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setPatientId(String patientId) {
|
|
|
|
+ this.patientId = patientId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Long getHospitalId() {
|
|
|
|
+ return hospitalId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setHospitalId(Long hosptialId) {
|
|
|
|
+ this.hospitalId = hosptialId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getSubHospitalCode() {
|
|
|
|
+ return subHospitalCode;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSubHospitalCode(String subHospitalCode) {
|
|
|
|
+ this.subHospitalCode = subHospitalCode;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getSubHospitalName() {
|
|
|
|
+ return subHospitalName;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSubHospitalName(String subHospitalName) {
|
|
|
|
+ this.subHospitalName = subHospitalName;
|
|
|
|
+ }
|
|
|
|
+
|
|
public String getSceneName() {
|
|
public String getSceneName() {
|
|
return sceneName;
|
|
return sceneName;
|
|
}
|
|
}
|
|
@@ -197,6 +253,10 @@ public class TranLog implements Serializable {
|
|
", gmtModified=" + gmtModified +
|
|
", gmtModified=" + gmtModified +
|
|
", creator=" + creator +
|
|
", creator=" + creator +
|
|
", modifier=" + modifier +
|
|
", modifier=" + modifier +
|
|
|
|
+ ", patientId=" + patientId +
|
|
|
|
+ ", hospitalId=" + hospitalId +
|
|
|
|
+ ", subHospitalCode=" + subHospitalCode +
|
|
|
|
+ ", subHospitalName=" + subHospitalName +
|
|
", sceneName=" + sceneName +
|
|
", sceneName=" + sceneName +
|
|
", params=" + params +
|
|
", params=" + params +
|
|
", result=" + result +
|
|
", result=" + result +
|
|
@@ -206,4 +266,4 @@ public class TranLog implements Serializable {
|
|
", successFlag=" + successFlag +
|
|
", successFlag=" + successFlag +
|
|
"}";
|
|
"}";
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|