puzhibing
2024-10-28 304c09d7446aa1e3d637c4f78e8be5a55b27fd4a
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
package com.ruoyi.chargingPile.api.model;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author xiaochen
 * @since 2024-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_parking_record")
@ApiModel(value="TParkingRecord对象", description="")
public class TParkingRecord implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "订单id")
    @TableId("id")
    private Long id;
 
    @ApiModelProperty(value = "用户id")
    @TableField("app_user_id")
    private Long appUserId;
 
    @ApiModelProperty(value = "车牌号")
    @TableField("license_plate")
    private String licensePlate;
    
    @TableField("name")
    private String name;
    
    @TableField(exist = false)
    private String uid;
    
    @ApiModelProperty(value = "订单编号")
    @TableField("code")
    private String code;
 
    @ApiModelProperty(value = "车辆颜色")
    @TableField("vehicle_color")
    private String vehicleColor;
 
    @ApiModelProperty(value = "充电订单id")
    @TableField("charging_order_id")
    private Long chargingOrderId;
 
    @ApiModelProperty(value = "停车场id")
    @TableField("parking_lot_id")
    private Integer parkingLotId;
 
    @ApiModelProperty(value = "入场时间")
    @TableField("in_parking_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime inParkingTime;
 
    @ApiModelProperty(value = "出场时间")
    @TableField("out_parking_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime outParkingTime;
 
    @ApiModelProperty(value = "停车时长(分钟)")
    @TableField("parking_duration")
    private Integer parkingDuration;
 
    @ApiModelProperty(value = "总费用")
    @TableField("order_amount")
    private BigDecimal orderAmount;
    
    @ApiModelProperty(value = "支付金额")
    @TableField("payment")
    private BigDecimal payment;
    
    @ApiModelProperty(value = "支付方式")
    @TableField("payType")
    private String payType;
 
    @ApiModelProperty(value = "状态(1=已进场,2=已出场,3=已缴费出场)")
    @TableField("status")
    private Integer status;
 
    @ApiModelProperty(value = "出场方式(1=缴费出场,2=免费时长内放行)")
    @TableField("out_parking_type")
    private Integer outParkingType;
 
    @ApiModelProperty(value = "添加时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    
    @ApiModelProperty(value = "超时占位费")
    @TableField("timeout_amount")
    private BigDecimal timeoutAmount;
    
    @ApiModelProperty(value = "电话")
    @TableField("phone")
    private String phone;
    
    @ApiModelProperty(value = "免费时长(分钟)")
    @TableField("free_duration")
    private Integer freeDuration;
    
    @ApiModelProperty(value = "免费金额")
    @TableField("free_amount")
    private BigDecimal freeAmount;
    
    @ApiModelProperty(value = "车场流水号")
    @TableField("serialnumber")
    private String serialnumber;
 
 
}