package com.ltkj.hosp.domain;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ltkj.common.annotation.Excel;
|
import com.ltkj.common.core.domain.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 体检采样管理对象 tj_sampling
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-04-11
|
*/
|
@Data
|
@ApiModel(value = "采样管理")
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class TjSampling extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId
|
private String id;
|
|
|
@Excel(name = "体检号")
|
@ApiModelProperty(value = "体检号")
|
private String tjNum;
|
|
/**
|
* 采样编号
|
*/
|
@Excel(name = "采样编号")
|
@ApiModelProperty(value = "采样编号")
|
private String samplingNumber;
|
|
/**
|
* 客户id
|
*/
|
@ApiModelProperty(value = "客户id")
|
private String cusId;
|
|
@Excel(name = "客户姓名")
|
@ApiModelProperty(value = "客户姓名")
|
private String cusName;
|
|
/**
|
* 申请时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "申请时间")
|
private Date applicationTime;
|
|
/**
|
* 0是1否
|
*/
|
@Excel(name = "0是1否",readConverterExp="0=是,1=否")
|
@ApiModelProperty(value = "0是1否")
|
private String isSignFor;
|
|
/**
|
* 体检时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "体检时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "体检时间")
|
private Date tjTime;
|
|
/**
|
* 标本类型
|
*/
|
@Excel(name = "标本类型",dictType="sys_dict_specimen")
|
@ApiModelProperty(value = "标本类型")
|
private String specimenType;
|
|
/**
|
* 项目id父项
|
*/
|
@Excel(name = "项目id父项")
|
@ApiModelProperty(value = "项目id父项")
|
private String proId;
|
|
/**
|
* 项目名称
|
*/
|
@Excel(name = "项目名称")
|
@ApiModelProperty(value = "项目名称")
|
private String proName;
|
|
|
@ApiModelProperty(value = "采样客户信息")
|
@TableField(exist = false)
|
private TjCustomer customer;
|
|
/**
|
* 合并后的父id
|
*/
|
private String parentId;
|
|
/**
|
* 向lis申请单的检验序号
|
*/
|
private String jyxh;
|
|
/**
|
* 标本代码
|
*/
|
private String specimenTypeCode;
|
|
/**
|
* 是否为合并项目 1是 0否
|
*/
|
private Integer isMerge;
|
|
private String jyxmdm;
|
|
public String getJyxmdm() {
|
return jyxmdm;
|
}
|
|
public void setJyxmdm(String jyxmdm) {
|
this.jyxmdm = jyxmdm;
|
}
|
|
public Integer getIsMerge() {
|
return isMerge;
|
}
|
|
public void setIsMerge(Integer isMerge) {
|
this.isMerge = isMerge;
|
}
|
|
public String getSpecimenTypeCode() {
|
return specimenTypeCode;
|
}
|
|
public void setSpecimenTypeCode(String specimenTypeCode) {
|
this.specimenTypeCode = specimenTypeCode;
|
}
|
|
public String getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(String parentId) {
|
this.parentId = parentId;
|
}
|
|
public String getJyxh() {
|
return jyxh;
|
}
|
|
public void setJyxh(String jyxh) {
|
this.jyxh = jyxh;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setSamplingNumber(String samplingNumber) {
|
this.samplingNumber = samplingNumber;
|
}
|
|
public String getSamplingNumber() {
|
return samplingNumber;
|
}
|
|
public void setCusId(String cusId) {
|
this.cusId = cusId;
|
}
|
|
public String getCusId() {
|
return cusId;
|
}
|
|
public void setApplicationTime(Date applicationTime) {
|
this.applicationTime = applicationTime;
|
}
|
|
public Date getApplicationTime() {
|
return applicationTime;
|
}
|
|
|
public void setTjTime(Date tjTime) {
|
this.tjTime = tjTime;
|
}
|
|
public Date getTjTime() {
|
return tjTime;
|
}
|
|
public void setSpecimenType(String specimenType) {
|
this.specimenType = specimenType;
|
}
|
|
public String getSpecimenType() {
|
return specimenType;
|
}
|
|
public void setProId(String proId) {
|
this.proId = proId;
|
}
|
|
public String getProId() {
|
return proId;
|
}
|
|
public void setProName(String proName) {
|
this.proName = proName;
|
}
|
|
public String getProName() {
|
return proName;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("samplingNumber", getSamplingNumber())
|
.append("cusId", getCusId())
|
.append("applicationTime", getApplicationTime())
|
.append("isSignFor", getIsSignFor())
|
.append("tjTime", getTjTime())
|
.append("specimenType", getSpecimenType())
|
.append("proId", getProId())
|
.append("proName", getProName())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("deleted", getDeleted())
|
.append("parentId", getParentId())
|
.append("jyxh", getJyxh())
|
.append("specimenTypeCode", getSpecimenTypeCode())
|
.toString();
|
}
|
}
|