liu
10 天以前 dd1a51612fcd3c839d31dfa0df83b3d3071c8145
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
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;
 
    /* ***************************     无人值守增强        ***************************  */
 
    @ApiModelProperty(value = "净重(kg)")
    @Excel(name = "净重")
    private BigDecimal netWeight;
 
    @ApiModelProperty(value = "承运商")
    @Excel(name = "承运商")
    private String carrierName;
 
    @ApiModelProperty(value = "匹配订单号")
    @Excel(name = "订单号")
    private String orderNo;
 
    @ApiModelProperty(value = "订单类型 purchase/sales")
    private String orderType;
 
    @ApiModelProperty(value = "是否匹配订单")
    private Integer orderMatched;
 
    @ApiModelProperty(value = "是否作弊/异常")
    private Integer cheatFlag;
 
    @ApiModelProperty(value = "异常原因")
    private String cheatReason;
 
    @ApiModelProperty(value = "红外检测状态 normal/offset/alarm")
    private String infraredStatus;
 
    @ApiModelProperty(value = "ERP推送状态 pending/success/failed")
    private String erpPushStatus;
 
    @ApiModelProperty(value = "ERP推送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime erpPushTime;
 
    @ApiModelProperty(value = "磅单二维码内容")
    private String qrCode;
 
    @ApiModelProperty(value = "磅单号")
    @Excel(name = "磅单号")
    private String weighNo;
 
    @ApiModelProperty(value = "称重状态 weighing/done/abnormal")
    private String weighStatus;
}