zjh
2025-04-22 22efacd7994f8ea9a7ef8485575ade9729a0e5a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
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();
    }
}