Pu Zhibing
2025-04-07 4109495b9c51a4bbd8b0a7c3c69093909d2e33e1
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
package com.ruoyi.system.api.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
 
 
/**
 * @author zhibing.pu
 * @Date 2025/3/24 17:41
 */
@Data
@ApiModel
@TableName("t_order")
public class Order {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 订单编号
     */
    @TableField("code")
    @ApiModelProperty(value = "订单编号")
    @Excel(name = "订单编号", width = 30)
    private String code;
    /**
     * 车辆id
     */
    @TableField("car_id")
    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "车牌号")
    @Excel(name = "车牌号", width = 30)
    private String vehicleNumber;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "车牌颜色")
    @Excel(name = "车牌颜色", width = 30)
    private String licensePlateColor;
    /**
     * 驾驶员id
     */
    @TableField("driver_id")
    @ApiModelProperty(value = "驾驶员id")
    private Integer driverId;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "驾驶证编号")
    private String drivingLicenseNumber;
    /**
     * 企业id
     */
    @TableField("enterprise_id")
    @ApiModelProperty(value = "企业id")
    private Integer enterpriseId;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "企业名称")
    @Excel(name = "车辆所属公司", width = 30)
    private String enterpriseName;
    /**
     * 下单地
     */
    @TableField("order_place")
    @ApiModelProperty(value = "下单地")
    private String orderPlace;
    /**
     * 发起地区划
     */
    @TableField("order_place_code")
    @ApiModelProperty(value = "发起地区划")
    private String orderPlaceCode;
    /**
     * 上车点
     */
    @TableField("boarding_point")
    @ApiModelProperty(value = "上车点")
    @Excel(name = "上车地点", width = 30)
    private String boardingPoint;
    /**
     * 下车点
     */
    @TableField("drop_off_point")
    @ApiModelProperty(value = "下车点")
    @Excel(name = "下车地点", width = 30)
    private String dropOffPoint;
    /**
     * 载客里程
     */
    @TableField("passenger_mileage")
    @ApiModelProperty(value = "载客里程")
    @Excel(name = "载客里程", width = 30)
    private String passengerMileage;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "司机姓名")
    @Excel(name = "驾驶员名称", width = 30)
    private String driverName;
    
    @TableField(exist = false)
    @ApiModelProperty(value = "司机电话")
    @Excel(name = "驾驶员电话", width = 30)
    private String driverPhone;
    /**
     * 订单时间
     */
    @TableField("order_time")
    @ApiModelProperty(value = "订单时间")
    private String orderTime;
    /**
     * 派单时间
     */
    @TableField("order_delivery_time")
    @ApiModelProperty(value = "派单时间")
    @Excel(name = "派单时间", width = 30)
    private String orderDeliveryTime;
    /**
     * 订单金额
     */
    @TableField("order_amount")
    @ApiModelProperty(value = "订单金额")
    @Excel(name = "订单金额", width = 30)
    private String orderAmount;
    /**
     * 支付金额
     */
    @TableField("payment_amount")
    @ApiModelProperty(value = "支付金额")
    private String paymentAmount;
    /**
     * 运价类型编号
     */
    @TableField("tariff_type")
    @ApiModelProperty(value = "运价类型编号")
    private String tariffType;
    /**
     * 支付方式
     */
    @TableField("payment_mode")
    @ApiModelProperty(value = "支付方式")
    private String paymentMode;
    /**
     * 乘客备注
     */
    @TableField("remark")
    @ApiModelProperty(value = "乘客备注")
    private String remark;
    /**
     * 添加时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
}