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