wlzboy
3 天以前 40a8157440e3b906da8f52e07d939d78c3f4c313
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
package com.ruoyi.system.domain;
 
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 发票申请对象 sys_invoice
 * 
 * @author ruoyi
 * @date 2026-02-02
 */
public class SysInvoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 发票ID */
    private Long invoiceId;
 
    /** 服务单号(新系统ID) */
    @Excel(name = "服务单号(新)")
    private Long serviceOrderId;
 
    /** 旧系统服务单号 */
    @Excel(name = "服务单号(旧)")
    private Long legacyServiceOrderId;
 
    /** 开票类型(1-个人, 2-企业) */
    @Excel(name = "开票类型", readConverterExp = "1=个人,2=企业")
    private Integer invoiceType;
 
    /** 发票抬头 */
    @Excel(name = "发票抬头")
    private String invoiceName;
 
    /** 发票金额 */
    @Excel(name = "发票金额")
    private BigDecimal invoiceMoney;
 
    /** 发票备注 */
    @Excel(name = "发票备注")
    private String invoiceRemarks;
 
    /** 企业注册地址 */
    @Excel(name = "企业注册地址")
    private String companyAddress;
 
    /** 企业开户银行 */
    @Excel(name = "企业开户银行")
    private String companyBank;
 
    /** 企业银行帐号 */
    @Excel(name = "企业银行帐号")
    private String companyBankNo;
 
    /** 邮编 */
    @Excel(name = "邮编")
    private String zipCode;
 
    /** 邮寄地址 */
    @Excel(name = "邮寄地址")
    private String mailAddress;
 
    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;
 
    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;
 
    /** 联系邮箱 */
    @Excel(name = "联系邮箱")
    private String contactEmail;
 
    /** 申请状态(0-待审核, 1-已通过, 2-已驳回) */
    @Excel(name = "申请状态", readConverterExp = "0=待审核,1=已通过,2=已驳回")
    private Integer status;
 
    /** 发票编号 */
    @Excel(name = "发票编号")
    private String invoiceNo;
 
    /** 发票链接 */
    @Excel(name = "发票链接")
    private String invoiceUrl;
 
    /** 申请人ID */
    private Long applyUserId;
 
    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime;
 
    /** 审核人ID */
    private Long auditUserId;
 
    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
 
    /** 审核备注 */
    private String auditRemarks;
 
    /** 同步状态(0-未同步, 1-已同步, 2-失败) */
    private Integer syncStatus;
 
    /** 旧系统发票ID */
    private Integer legacyInvoiceId;
    
    /** 服务单号(格式化,如GZ20260202-001)- 仅用于查询返回 */
    private String serviceCode;
 
    public void setInvoiceId(Long invoiceId) 
    {
        this.invoiceId = invoiceId;
    }
 
    public Long getInvoiceId() 
    {
        return invoiceId;
    }
    public void setServiceOrderId(Long serviceOrderId) 
    {
        this.serviceOrderId = serviceOrderId;
    }
 
    public Long getServiceOrderId() 
    {
        return serviceOrderId;
    }
    public void setLegacyServiceOrderId(Long legacyServiceOrderId) 
    {
        this.legacyServiceOrderId = legacyServiceOrderId;
    }
 
    public Long getLegacyServiceOrderId() 
    {
        return legacyServiceOrderId;
    }
    public void setInvoiceType(Integer invoiceType) 
    {
        this.invoiceType = invoiceType;
    }
 
    public Integer getInvoiceType() 
    {
        return invoiceType;
    }
    public void setInvoiceName(String invoiceName) 
    {
        this.invoiceName = invoiceName;
    }
 
    public String getInvoiceName() 
    {
        return invoiceName;
    }
    public void setInvoiceMoney(BigDecimal invoiceMoney) 
    {
        this.invoiceMoney = invoiceMoney;
    }
 
    public BigDecimal getInvoiceMoney() 
    {
        return invoiceMoney;
    }
    public void setInvoiceRemarks(String invoiceRemarks) 
    {
        this.invoiceRemarks = invoiceRemarks;
    }
 
    public String getInvoiceRemarks() 
    {
        return invoiceRemarks;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }
 
    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setCompanyBank(String companyBank) 
    {
        this.companyBank = companyBank;
    }
 
    public String getCompanyBank() 
    {
        return companyBank;
    }
    public void setCompanyBankNo(String companyBankNo) 
    {
        this.companyBankNo = companyBankNo;
    }
 
    public String getCompanyBankNo() 
    {
        return companyBankNo;
    }
    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }
 
    public String getZipCode() 
    {
        return zipCode;
    }
    public void setMailAddress(String mailAddress) 
    {
        this.mailAddress = mailAddress;
    }
 
    public String getMailAddress() 
    {
        return mailAddress;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }
 
    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }
 
    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setContactEmail(String contactEmail) 
    {
        this.contactEmail = contactEmail;
    }
 
    public String getContactEmail() 
    {
        return contactEmail;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }
 
    public Integer getStatus() 
    {
        return status;
    }
    public void setInvoiceNo(String invoiceNo) 
    {
        this.invoiceNo = invoiceNo;
    }
 
    public String getInvoiceNo() 
    {
        return invoiceNo;
    }
    public void setInvoiceUrl(String invoiceUrl) 
    {
        this.invoiceUrl = invoiceUrl;
    }
 
    public String getInvoiceUrl() 
    {
        return invoiceUrl;
    }
    public void setApplyUserId(Long applyUserId) 
    {
        this.applyUserId = applyUserId;
    }
 
    public Long getApplyUserId() 
    {
        return applyUserId;
    }
    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }
 
    public Date getApplyTime() 
    {
        return applyTime;
    }
    public void setAuditUserId(Long auditUserId) 
    {
        this.auditUserId = auditUserId;
    }
 
    public Long getAuditUserId() 
    {
        return auditUserId;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }
 
    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setAuditRemarks(String auditRemarks) 
    {
        this.auditRemarks = auditRemarks;
    }
 
    public String getAuditRemarks() 
    {
        return auditRemarks;
    }
 
    public Integer getSyncStatus() {
        return syncStatus;
    }
 
    public void setSyncStatus(Integer syncStatus) {
        this.syncStatus = syncStatus;
    }
 
    public Integer getLegacyInvoiceId() {
        return legacyInvoiceId;
    }
 
    public void setLegacyInvoiceId(Integer legacyInvoiceId) {
        this.legacyInvoiceId = legacyInvoiceId;
    }
    
    public String getServiceCode() {
        return serviceCode;
    }
 
    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("invoiceId", getInvoiceId())
            .append("serviceOrderId", getServiceOrderId())
            .append("legacyServiceOrderId", getLegacyServiceOrderId())
            .append("invoiceType", getInvoiceType())
            .append("invoiceName", getInvoiceName())
            .append("invoiceMoney", getInvoiceMoney())
            .append("invoiceRemarks", getInvoiceRemarks())
            .append("companyAddress", getCompanyAddress())
            .append("companyBank", getCompanyBank())
            .append("companyBankNo", getCompanyBankNo())
            .append("zipCode", getZipCode())
            .append("mailAddress", getMailAddress())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("contactEmail", getContactEmail())
            .append("status", getStatus())
            .append("invoiceNo", getInvoiceNo())
            .append("invoiceUrl", getInvoiceUrl())
            .append("applyUserId", getApplyUserId())
            .append("applyTime", getApplyTime())
            .append("auditUserId", getAuditUserId())
            .append("auditTime", getAuditTime())
            .append("auditRemarks", getAuditRemarks())
            .toString();
    }
}