zhangback
2025-11-18 4636b03d801662db1b8712d7a9ae9105462eca37
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
package com.ruoyi.tms.domain;
 
import com.fasterxml.jackson.annotation.JsonFormat;
 
import java.math.BigDecimal;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
 
import java.util.Date;
 
import lombok.Data;
 
/**
 * 费用主表对象 tms_finance
 *
 * @author ruoyi
 * @date 2025-11-13
 */
@Data
public class TmsFinance {
 
 
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
 
    /**
     * 系统编号,新增时自动填写
     */
    @Excel(name = "系统编号,新增时自动填写")
    @TableField("system_code")
    private String systemCode;
 
    @TableField(exist = false)
    private Integer collectionPlanDetailId;
    @TableField(exist = false)
    private BigDecimal collectionPlanAmount;
 
    /**
     * 应收(应付)方案名称
     */
    @Excel(name = "应收", readConverterExp = "应=付")
    @TableField("plan_name")
    private String planName;
 
    @TableField(exist = false)
    private String collectionPlanName;
 
    @TableField(exist = false)
    private String paymentPlanName;
    @TableField(exist = false)
    private Integer paymentPlanDetailId;
 
    @TableField(exist = false)
    private BigDecimal paymentPlanAmount;
 
    /**
     * 调度单号
     */
    @Excel(name = "调度单号")
    @TableField("dispatch_id")
    private Integer dispatchId;
 
 
    /**
     * 调度单号
     */
    @Excel(name = "调度单号")
    @TableField("dispatch_no")
    private String dispatchNo;
 
 
    /**
     * 客户ID
     */
    @Excel(name = "客户ID")
    @TableField("customer_id")
    private Integer customerId;
 
 
    /**
     * 客户编码
     */
    @Excel(name = "客户编码")
    @TableField("customer_code")
    private String customerCode;
 
 
    @TableField("customer_name")
    private String customerName;
 
 
    /**
     * 关联项目ID
     */
    @Excel(name = "关联项目ID")
    @TableField("project_id")
    private Integer projectId;
 
 
    /**
     * 关联项目名称
     */
    @Excel(name = "关联项目名称")
    @TableField("project_name")
    private String projectName;
 
 
    /**
     * 车辆服务商ID
     */
    @Excel(name = "车辆服务商ID")
    @TableField("vehicle_provider_id")
    private Integer vehicleProviderId;
 
 
    /**
     * 车辆服务商名称
     */
    @Excel(name = "车辆服务商名称")
    @TableField("vehicle_provider_name")
    private String vehicleProviderName;
 
 
    /**
     * 要求车型,由调度单数据生成
     */
    @Excel(name = "要求车型,由调度单数据生成")
    @TableField("required_vehicle_types")
    private String requiredVehicleTypes;
 
 
    /**
     * 实际车型
     */
    @Excel(name = "实际车型")
    @TableField("actual_vehicle_type")
    private Integer actualVehicleType;
 
 
    /**
     * 关联驾驶员管理ID
     */
    @Excel(name = "关联驾驶员管理ID")
    @TableField("main_driver_id")
    private Integer mainDriverId;
 
 
    /**
     * 主驾驶员,由调度单数据生成
     */
    @Excel(name = "主驾驶员,由调度单数据生成")
    @TableField("main_driver_name")
    private String mainDriverName;
 
 
    /** 副驾驶员 */
    @TableField("assistant_driver_id")
    private Integer assistantDriverId;
 
    @TableField("assistant_driver_name")
    private String assistantDriverName;
 
    /**
     * 车辆管理表ID
     */
    @Excel(name = "车辆管理表ID")
    @TableField("vehicle_id")
    private Integer vehicleId;
 
 
    /**
     * 车牌号,由调度单数据生成
     */
    @Excel(name = "车牌号,由调度单数据生成")
    @TableField("license_plate")
    private String licensePlate;
 
 
    /**
     * 总金额,由调度单数据生成
     */
    @Excel(name = "总金额,由调度单数据生成")
    @TableField("total_amount")
    private BigDecimal totalAmount;
 
 
    /**
     * 运输线路,由调度单数据生成
     */
    @Excel(name = "运输线路,由调度单数据生成")
    @TableField("transport_line")
    private String transportLine;
 
 
    /**
     * 发货人(关联收发货人信息)
     */
    @Excel(name = "发货人", readConverterExp = "关=联收发货人信息")
    @TableField("shipper_id")
    private Integer shipperId;
 
 
    /**
     * 发货人名称
     */
    @Excel(name = "发货人名称")
    @TableField("shipper_name")
    private String shipperName;
 
 
    /**
     * 发货人手机号
     */
    @Excel(name = "发货人手机号")
    @TableField("shipper_mobile")
    private String shipperMobile;
 
 
    /**
     * 发货人地址
     */
    @Excel(name = "发货人地址")
    @TableField("shipper_address")
    private String shipperAddress;
 
 
    /**
     * 发货行政区域
     */
    @Excel(name = "发货行政区域")
    @TableField("shipper_region_code")
    private String shipperRegionCode;
 
 
    /** 发货行政区域 */
    @Excel(name = "发货行政区域")
    @TableField("shipper_region_label")
    private String shipperRegionLabel;
 
    /**
     * 收货人(关联收发货人信息)
     */
    @Excel(name = "收货人", readConverterExp = "关=联收发货人信息")
    @TableField("receiver_id")
    private Integer receiverId;
 
 
    /**
     * 收货人名称
     */
    @Excel(name = "收货人名称")
    @TableField("receiver_name")
    private String receiverName;
 
 
    /**
     * 收货人手机号
     */
    @Excel(name = "收货人手机号")
    @TableField("receiver_mobile")
    private String receiverMobile;
 
 
    /**
     * 收货人地址
     */
    @Excel(name = "收货人地址")
    @TableField("receiver_address")
    private String receiverAddress;
 
 
    /**
     * 收货行政区域
     */
    @Excel(name = "收货行政区域")
    @TableField("receiver_region_code")
    private String receiverRegionCode;
    /** 收货行政区域 */
    @Excel(name = "收货行政区域")
    @TableField("receiver_region_label")
    private String receiverRegionLabel;
 
    /**
     * 状态,0=待确认,1=已确认,2=作废
     */
    @Excel(name = "状态,0=待确认,1=已确认,2=作废")
    @TableField("status")
    private Integer status;
 
 
    /**
     * 创建人,新增时自动填写
     */
    @TableField("create_by")
    private String createBy;
 
 
    /**
     * 创建时间,新增时自动填写
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;
 
 
    /**
     * 更新人,新增时自动填写,被修改时自动更新
     */
    @TableField("update_by")
    private String updateBy;
 
 
    /**
     * 更新时间,新增时自动填写,被修改时自动更新
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("update_time")
    private Date updateTime;
 
 
    /**
     * 备注
     */
    @Excel(name = "备注")
    @TableField("remark")
    private String remark;
 
 
    /**
     * 记录状态,0=正常,1=作废
     */
    @Excel(name = "记录状态,0=正常,1=作废")
    @TableField("record_status")
    private Integer recordStatus;
 
 
    /**
     *
     */
    @Excel(name = "")
    @TableField("plan_id")
    private Integer planId;
 
 
    /**
     * 类型(0=应收,1=应付,2=其他)
     */
    @Excel(name = "类型", readConverterExp = "0=0=应收,1=应付,2=其他")
    @TableField("type")
    private Integer type;
    /** 费用确认人 */
    @Excel(name = "费用确认人")
    @TableField("confirm_by")
    private String confirmBy;
 
    /** 费用确认时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "费用确认时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField("confirm_time")
    private Date confirmTime;
}