package com.ltkj.hosp.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
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.Data;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 体检打印记录对象 tj_print_order
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-04-26
|
*/
|
@Data
|
@ApiModel(value = "打印记录对象")
|
public class TjPrintOrder extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
|
@TableId(type = IdType.AUTO)
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
|
/**
|
* 体检号
|
*/
|
@Excel(name = "体检号")
|
@ApiModelProperty(value = "体检号")
|
private String tjNum;
|
|
/**
|
* 流水号
|
*/
|
@Excel(name = "流水号")
|
@ApiModelProperty(value = "流水号")
|
private String waterId;
|
|
/**
|
* 打印类型1收费2退费
|
*/
|
@Excel(name = "打印类型1收费2退费",readConverterExp="1=收费,2=退费")
|
@ApiModelProperty(value = "打印类型1收费2退费")
|
private Long printType;
|
|
@ApiModelProperty("模板id")
|
@TableField(exist = false)
|
private String moBanId;
|
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setTjNum(String tjNum) {
|
this.tjNum = tjNum;
|
}
|
|
public String getTjNum() {
|
return tjNum;
|
}
|
|
public void setWaterId(String waterId) {
|
this.waterId = waterId;
|
}
|
|
public String getWaterId() {
|
return waterId;
|
}
|
|
public void setPrintType(Long printType) {
|
this.printType = printType;
|
}
|
|
public Long getPrintType() {
|
return printType;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("tjNum", getTjNum())
|
.append("waterId", getWaterId())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("createId", getCreateId())
|
.append("updateId", getUpdateId())
|
.append("printType", getPrintType())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|