liding
5 天以前 1284fb157043e488aa1794d8f1b64ebf18aa5147
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
package com.ruoyi.envaccess.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
 
/**
 * 环保门禁--车辆/移动机械台账
 * env_access_vehicle
 */
@TableName(value = "env_access_vehicle")
@Data
public class EnvAccessVehicle extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /**
     * 类型 1进出厂 2厂内 3非道路移动机械
     */
    @Excel(name = "类型", readConverterExp = "1=进出厂车辆,2=厂内车辆,3=非道路移动机械")
    private Integer vehicleType;
 
    @Excel(name = "车牌/机械编号")
    private String plateNo;
 
    @Excel(name = "车辆/机械型号")
    private String vehicleModel;
 
    @Excel(name = "使用人")
    private String driverName;
 
    @Excel(name = "联系电话")
    private String driverPhone;
 
    @Excel(name = "用途")
    private String usePurpose;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date occurTime;
 
    /**
     * 1进厂 0出厂(进出厂用)
     */
    @Excel(name = "方向", readConverterExp = "1=进厂,0=出厂")
    private Integer direction;
 
    @Excel(name = "状态")
    private String status;
 
    @Excel(name = "备注")
    private String remark;
 
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @ApiModelProperty(value = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @ApiModelProperty(value = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @ApiModelProperty(value = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
}