SparePartVO.java
2.74 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
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
package vion.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.liaochong.myexcel.core.annotation.ExcelColumn;
import com.github.liaochong.myexcel.core.annotation.ExcelModel;
import com.github.liaochong.myexcel.core.annotation.MultiColumn;
import lombok.Getter;
import lombok.Setter;
import vion.model.RRepairDevice;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
/**
* @author HlQ
* @date 2024/1/19
*/
@Getter
@Setter
@ExcelModel(sheetName = "备件申请", includeAllField = false)
public class SparePartVO {
private Long id;
/**
* 集团id
*/
private Long accountId;
/**
* 项目id
*/
private Long storeId;
/**
* 合同id
*/
private Long contractId;
/**
* 合同编号
*/
@ExcelColumn(order = 1, title = "合同编号")
private String contractNo;
/**
* 合同名称
*/
@ExcelColumn(order = 2, title = "合同名称")
private String contractName;
/**
* 项目名称(用户填写的)
*/
@ExcelColumn(order = 0, title = "项目名称")
private String projectName;
/**
* 联系人
*/
@ExcelColumn(order = 3, title = "联系人")
private String contact;
/**
* 手机号码
*/
@ExcelColumn(order = 4, title = "电话")
private String phone;
/**
* 设备数量
*/
private Integer deviceNum;
/**
* 设备名称
*/
private String deviceName;
/**
* 收货地址
*/
private String shippingAddress;
/**
* 收货联系人
*/
private String receivingContact;
/**
* 收货联系电话
*/
private String receivingPhone;
/**
* 发货日期
*/
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private LocalDate shipDate;
/**
* 快递公司
*/
private String courierCompany;
/**
* 快递单号
*/
private String trackingNumber;
/**
* 发货状态 0:未发货 1:已发货
*/
private Integer shipStatus;
/**
* 归还状态 0:未归还 1:全部归还 2:部分归还
*/
private Integer returnStatus;
/**
* 备注
*/
private String remark;
/**
* uuid
*/
private String uuid;
/**
* 微信用户id
*/
private String openid;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime createTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime updateTime;
private List<RRepairDevice> repairDeviceList;
/**
* 设备信息
*/
@MultiColumn(classType = RRepairDevice.class)
private RRepairDevice rRepairDevice;
}