InvoiceVO.java
1.24 KB
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
package vion.vo;
import com.github.liaochong.myexcel.core.annotation.ExcelColumn;
import com.github.liaochong.myexcel.core.annotation.ExcelModel;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Getter
@Setter
@ExcelModel(sheetName = "发票列表", includeAllField = false)
public class InvoiceVO {
private Long id;
/**
* 合同编号
*/
@ExcelColumn(order = 0, title = "合同编号")
private String contractNo;
/**
* 开票时间
*/
@ExcelColumn(order = 1, title = "开票时间", format = "yyyy-MM-dd")
private LocalDate invoicingTime;
/**
* 发票金额
*/
@ExcelColumn(order = 2, title = "发票金额")
private BigDecimal invoiceAmount;
/**
* 发票号
*/
@ExcelColumn(order = 3, title = "发票编号")
private String invoiceNo;
/**
* 备注
*/
@ExcelColumn(order = 5, title = "备注")
private String remark;
/**
* 流水号
*/
@ExcelColumn(order = 4, title = "流水号")
private String serialNo;
@ExcelColumn(order = 6, title = "录入时间")
private LocalDateTime createTime;
private LocalDateTime updateTime;
}