kongdeqiang
2023-02-02 852b9c47fe85057ec920b5f10e549fa0d2714633
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
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 lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
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;
 
    /**
     * 订单号
     */
    private String code;
 
    /**
     * 流水号
     */
    private String code2;
 
    /**
     * 缴款码
     */
    private String payCode;
 
    /**
     * 0:未缴费  1:缴费
     */
    private int status;
 
    /**
     * 0:未抬杆  1:已抬杆
     */
    private int status2;
    /**
     * 0:没违章  1:有违章
     */
    private int status3;
 
    @Transient
    @TableField(exist = false)
    private String parkName;
}