package com.ruoyi.unattended.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import javax.validation.constraints.NotBlank;
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* 无人值守
|
*/
|
@TableName(value = "unattended_operation")
|
@Data
|
public class UnattendedOperation implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 序号
|
*/
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 车牌号
|
*/
|
@Excel(name = "车牌号")
|
private String plateNumber;
|
|
@ApiModelProperty(value = "称重时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime weightTime;
|
|
/**
|
* 皮重
|
*/
|
@Excel(name = "皮重")
|
private BigDecimal tareWeight;
|
|
/**
|
* 毛重
|
*/
|
@Excel(name = "毛重")
|
private BigDecimal grossWeight;
|
|
/**
|
* 偏移
|
*/
|
private BigDecimal positionOffset;
|
|
/**
|
* 司机
|
*/
|
private String driverName;
|
|
/**
|
* 联系电话
|
*/
|
private String contactPhone;
|
|
/**
|
* 货物
|
*/
|
private String cargoName;
|
|
/**
|
* 地磅编号
|
*/
|
private String weighbridgeNumber;
|
|
/**
|
* 备注
|
*/
|
@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;
|
|
}
|