4 天以前 ac28c343201a816fad993e58f551ed64a4abe08a
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
package com.ruoyi.approve.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 车辆管理表
 */
@Getter
@Setter
@ToString
@TableName("vehicle")
@ApiModel(value = "Vehicle对象", description = "车辆管理表")
public class Vehicle implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @Schema(description = "车辆ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "车牌号")
    private String plateNumber;
 
    @Schema(description = "车辆公里数")
    private BigDecimal mileage;
 
    @Schema(description = "使用状态: IDLE空闲 IN_USE使用中")
    private String status;
 
    @Schema(description = "逻辑删除: 0未删除 1已删除")
    private Integer deleted;
 
    @Schema(description = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "部门ID")
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}