package com.ltkj.hosp.domain;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import com.ltkj.common.annotation.Excel;
|
import com.ltkj.common.core.domain.BaseEntity;
|
import lombok.Data;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import java.util.List;
|
|
/**
|
* 会诊申请记录
|
* 对象 tj_hz_log
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-11-22
|
*/
|
@Data
|
public class TjHzLog extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 会诊id
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
/**
|
* 会诊订单id
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@Excel(name = "会诊订单id")
|
private Long orderId;
|
|
/**
|
* 用户id
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
@Excel(name = "用户id")
|
private Long userId;
|
|
/**
|
* 体检号
|
*/
|
@Excel(name = "体检号")
|
private String tjNumber;
|
|
/**
|
* 用户名
|
*/
|
@Excel(name = "用户名")
|
private String userName;
|
|
/**
|
* 会诊类型0全院会诊1科室会诊
|
*/
|
@Excel(name = "会诊类型0全院会诊1科室会诊")
|
private String hzType;
|
|
/**
|
* 会诊科室[]
|
*/
|
@Excel(name = "会诊科室[]")
|
private String hzDeptId;
|
|
|
/**
|
* 会诊申请人id
|
*/
|
@Excel(name = "会诊申请人id")
|
private String hzDoctorId;
|
|
/**
|
* 会诊申请人名
|
*/
|
@Excel(name = "会诊申请人名")
|
private String hzDoctorName;
|
|
/**
|
* 会诊科室[]
|
*/
|
@TableField(exist = false)
|
private List<String> hzDeptIdList;
|
|
|
/**
|
* 会诊科室[]
|
*/
|
@TableField(exist = false)
|
private List<String> hzDeptNameList;
|
|
/**
|
* 会诊科室
|
*/
|
@TableField(exist = false)
|
private String hzDeptName;
|
|
/**
|
* 会诊科室[]
|
*/
|
@TableField(exist = false)
|
private List<TjHzReplyLog> hzReplyLogsList;
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("orderId", getOrderId())
|
.append("userId", getUserId())
|
.append("tjNumber", getTjNumber())
|
.append("userName", getUserName())
|
.append("hzType", getHzType())
|
.append("hzDeptId", getHzDeptId())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("createBy", getCreateBy())
|
.append("updateBy", getUpdateBy())
|
.append("deleted", getDeleted())
|
.append("hzDoctorId", getHzDoctorId())
|
.append("hzDoctorName", getHzDoctorName())
|
.toString();
|
}
|
}
|