功能添加
parent
a72c066263
commit
e347bea3d7
|
@ -0,0 +1,55 @@
|
||||||
|
package com.grail.publice.domain;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : Disgnosis
|
||||||
|
* @Description : 问诊结束诊断表
|
||||||
|
* @Author : YHY
|
||||||
|
* @Date: 2023-10-28 14:31
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class Disgnosis {
|
||||||
|
/**
|
||||||
|
* 主键Id
|
||||||
|
*/
|
||||||
|
private Integer disgnosisId;
|
||||||
|
/**
|
||||||
|
* 诊断结束时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||||
|
private Date disgnosisTime;
|
||||||
|
/**
|
||||||
|
* 诊断内容
|
||||||
|
*/
|
||||||
|
private String disgnosisResult;
|
||||||
|
/**
|
||||||
|
* 诊断药品id 注:(否:则不展示)
|
||||||
|
*/
|
||||||
|
private Integer medicineId;
|
||||||
|
/**
|
||||||
|
* 患者Id
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
/**
|
||||||
|
* 医生Id
|
||||||
|
*/
|
||||||
|
private Integer doctorId;
|
||||||
|
/**
|
||||||
|
* 是否住院 0:建议住院观察;1:附近诊所诊断
|
||||||
|
*/
|
||||||
|
private Integer diagnosisHospital;
|
||||||
|
/**
|
||||||
|
* 是否开药 0:无需开药;1:医院开药;2:附近诊所开药
|
||||||
|
*/
|
||||||
|
private Integer disgnosisStatus;
|
||||||
|
}
|
|
@ -0,0 +1,63 @@
|
||||||
|
package com.grail.publice.domain.response;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : ConsultationResponse
|
||||||
|
* @Description : 当前问诊
|
||||||
|
* @Author : YHY
|
||||||
|
* @Date: 2023-10-29 15:55
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class ConsultationResponse {
|
||||||
|
/**
|
||||||
|
* 主键Id
|
||||||
|
*/
|
||||||
|
private Integer consultationId;
|
||||||
|
/**
|
||||||
|
* 问诊时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||||
|
private Date consultationTime;
|
||||||
|
/**
|
||||||
|
* 问诊内容
|
||||||
|
*/
|
||||||
|
private String consultationContent;
|
||||||
|
/**
|
||||||
|
* 消息发送人Id
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
/**
|
||||||
|
* 消息发送人姓名
|
||||||
|
*/
|
||||||
|
private String userName;
|
||||||
|
/**
|
||||||
|
* 消息接收人id
|
||||||
|
*/
|
||||||
|
private Integer doctorId;
|
||||||
|
/**
|
||||||
|
* 消息接受人姓名
|
||||||
|
*/
|
||||||
|
private String doctorName;
|
||||||
|
/**
|
||||||
|
* 医生科室Id
|
||||||
|
*/
|
||||||
|
private Integer departmentId;
|
||||||
|
/**
|
||||||
|
* 科室名称
|
||||||
|
*/
|
||||||
|
private String departmentName;
|
||||||
|
/**
|
||||||
|
* 问诊状态 0:问诊中;1:问诊结束
|
||||||
|
*/
|
||||||
|
private Integer consultationStatus;
|
||||||
|
}
|
|
@ -0,0 +1,75 @@
|
||||||
|
package com.grail.publice.domain.response;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : DisgnosisResponse
|
||||||
|
* @Description : 诊断联查请求响应类
|
||||||
|
* @Author : YHY
|
||||||
|
* @Date: 2023-10-28 14:36
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class DisgnosisResponse {
|
||||||
|
/**
|
||||||
|
* 主键Id
|
||||||
|
*/
|
||||||
|
private Integer disgnosisId;
|
||||||
|
/**
|
||||||
|
* 诊断结束时间
|
||||||
|
*/
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||||
|
private Date disgnosisTime;
|
||||||
|
/**
|
||||||
|
* 诊断内容
|
||||||
|
*/
|
||||||
|
private String disgnosisResult;
|
||||||
|
/**
|
||||||
|
* 诊断药品id 注:(否:则不展示)
|
||||||
|
*/
|
||||||
|
private Integer medicineId;
|
||||||
|
/**
|
||||||
|
* 药瓶名称
|
||||||
|
*/
|
||||||
|
private String medicineName;
|
||||||
|
/**
|
||||||
|
* 功能主治
|
||||||
|
*/
|
||||||
|
private String medicineFunction;
|
||||||
|
/**
|
||||||
|
* 用法用量
|
||||||
|
*/
|
||||||
|
private String medicineDosage;
|
||||||
|
/**
|
||||||
|
* 患者Id
|
||||||
|
*/
|
||||||
|
private Integer userId;
|
||||||
|
/**
|
||||||
|
* 患者名称
|
||||||
|
*/
|
||||||
|
private String userName;
|
||||||
|
/**
|
||||||
|
* 医生Id
|
||||||
|
*/
|
||||||
|
private Integer doctorId;
|
||||||
|
/**
|
||||||
|
* 医生姓名
|
||||||
|
*/
|
||||||
|
private String doctorName;
|
||||||
|
/**
|
||||||
|
* 是否住院 0:建议住院观察;1:附近诊所诊断
|
||||||
|
*/
|
||||||
|
private Integer diagnosisHospital;
|
||||||
|
/**
|
||||||
|
* 是否开药 0:无需开药;1:医院开药;2:附近诊所开药
|
||||||
|
*/
|
||||||
|
private Integer disgnosisStatus;
|
||||||
|
}
|
Loading…
Reference in New Issue