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;
|
}
|