zhangzeli
2021-11-09 d511a5d775b9bdc5639eefb9dcc8842c9f3e51ce
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
package cn.exrick.xboot.your.entity;
 
import cn.exrick.xboot.core.base.XbootBaseEntity;
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 org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;
 
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;
 
/**
 * @author Exrick
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "t_driving_record")
@TableName("t_driving_record")
@ApiModel(value = "行车记录")
public class DrivingRecord extends XbootBaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "车辆id")
    private String carId;
 
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "行车日期")
    private Date drivingDate;
 
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出车时间")
    private Date outTime;
 
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "收车时间")
    private Date inTime;
 
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出厂时间")
    private Date outFactory;
 
    @ApiModelProperty(value = "行驶轨迹(如果车机系统可以查到就不单独记录了)")
    private String trajectory;
 
    @ApiModelProperty(value = "行驶里程")
    private Integer mileage=0;
 
    @ApiModelProperty(value = "订单核对 0:未核对 1:已核对")
    private Integer OrderStatus=0;
 
    @ApiModelProperty(value = "三证 0:正常 1:异常")
    private Integer sanZheng=0;
 
    @ApiModelProperty(value = "三量 0:正常 1:异常")
    private Integer sanLiang=0;
 
    @ApiModelProperty(value = "四灯 0:正常 1:异常")
    private Integer siDeng=0;
 
    @ApiModelProperty(value = "喇叭 0:正常 1:异常")
    private Integer laBa=0;
 
    @ApiModelProperty(value = "后视镜 0:正常 1:异常")
    private Integer houShiJing=0;
 
    @ApiModelProperty(value = "雨刷器 0:正常 1:异常")
    private Integer yuShuaQi=0;
 
    @ApiModelProperty(value = "轮胎 0:正常 1:异常")
    private Integer lunTai=0;
 
    @ApiModelProperty(value = "仪表 0:正常 1:异常")
    private Integer yiBiao=0;
 
    @ApiModelProperty(value = "制动 0:正常 1:异常")
    private Integer zhiDong=0;
 
    @ApiModelProperty(value = "安全设施 0:正常 1:异常")
    private Integer anQuan=0;
 
    @ApiModelProperty(value = "其它 0:正常 1:异常")
    private Integer qiTa=0;
 
    @ApiModelProperty(value = "处理意见")
    private String content;
 
}