kongdeqiang
2024-04-07 8e51195319ea210e7ba06aabdabc40d64df14b08
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
package com.boying.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.boying.common.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import java.time.LocalDateTime;
import java.util.Date;
 
/**
 * @author kdq
 * @version 1.0.0
 * @ClassName OutPark.java
 * @Description TODO
 * @createTime 2022年11月19日 20:49:00
 */
@Data
@TableName("out_park")
@javax.persistence.Table(name = "out_park")
@Entity
@org.hibernate.annotations.Table(appliesTo = "out_park", comment = "出场表")
@ApiModel(value = "出场表")
public class OutPark extends BaseEntity<OutPark> {
 
    /**
     * 车牌号
     */
    private String carNo;
    /**
     * 道闸id
     */
    private Integer barrierId;
    /**
     * 停车场id
     */
    private Integer parkId;
    /**
     * 费用
     */
    private double price;
    /**
     * 停车时长
     */
    private double time;
    /**
     * 停车时长
     */
    @Transient
    @TableField(exist = false)
    private String timeStr;
    /**
     * 0:正常 1:白名单 2:月票
     */
    private int remark;
 
    /**
     * 入场时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime enterTime;
 
    /**
     * 支付时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime payTime;
 
    /**
     * 订单号
     */
    private String code;
 
    /**
     * 流水号
     */
    private String code2;
 
 
    /**
     * 商户流水号
     */
    private String txnOrderId;
 
    /**
     * 商户交易时间
     */
    private String txnOrderTime;
 
    /**
     * 平台交易时间
     */
    private String respTxnTime;
 
 
    /**
     * 缴款码
     */
    private String payCode;
 
    private String qrCode;
 
 
    /**
     * 0:未缴费  1:缴费
     */
    private int status;
 
    /**
     * 0:未抬杆  1:已抬杆
     */
    private int status2;
    /**
     * 0:没违章  1:有违章
     */
    private int status3;
 
    @ApiModelProperty(value = "图片id")
    @Column(columnDefinition = "int comment '图片id'")
    private Integer imgId;
 
    @Transient
    @TableField(exist = false)
    private String parkName;
 
    @Transient
    @TableField(exist = false)
    private String imgPath;
 
    @Transient
    @TableField(exist = false)
    private String date;
}