package com.ltkj.hosp.domain;
|
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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 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_report_print
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-04-06
|
*/
|
@Data
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@ApiModel(value = "打印记录对象")
|
public class TjReportPrint extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@ApiModelProperty(value = "主键id")
|
@TableId
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
/**
|
* 体检号
|
*/
|
@Excel(name = "体检号")
|
private String tjNumber;
|
|
/**
|
* 打印操作员
|
*/
|
@Excel(name = "打印操作员")
|
private String printBy;
|
|
/**
|
* 打印时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@Excel(name = "打印时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
private Date printTime;
|
|
/**
|
* 打印状态
|
*/
|
@Excel(name = "打印状态")
|
private String printStatus;
|
|
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setTjNumber(String tjNumber) {
|
this.tjNumber = tjNumber;
|
}
|
|
public String getTjNumber() {
|
return tjNumber;
|
}
|
|
public void setPrintBy(String printBy) {
|
this.printBy = printBy;
|
}
|
|
public String getPrintBy() {
|
return printBy;
|
}
|
|
public void setPrintTime(Date printTime) {
|
this.printTime = printTime;
|
}
|
|
public Date getPrintTime() {
|
return printTime;
|
}
|
|
public void setPrintStatus(String printStatus) {
|
this.printStatus = printStatus;
|
}
|
|
public String getPrintStatus() {
|
return printStatus;
|
}
|
|
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("tjNumber", getTjNumber())
|
.append("printBy", getPrintBy())
|
.append("printTime", getPrintTime())
|
.append("printStatus", getPrintStatus())
|
.append("createTime", getCreateTime())
|
.append("createBy", getCreateBy())
|
.append("updateTime", getUpdateTime())
|
.append("updateBy", getUpdateBy())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|