jiazx0107@163.com
2023-11-06 786b5b76fee42107cef33892cbf7e3e8fab4f0e4
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.ld.igds.inout.InoutConstant;
import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
 
/**
 * 出入库流水字表
 * @author
 */
@Data
@Entity
@Table(name = "D_INOUT_RECORD_ITEM")
public class InoutRecordItem {
 
    @Id
    @Column(name = "ID_", length = 40)
    @PropertyDef(label = "主键id", description = "根据一定的规则生成")
    private String id;
 
    @Column(name = "RECORD_ID_", length = 40)
    @PropertyDef(label = "流水Id")
    private String recordId;
 
    @Column(name = "DEPOT_ID_", length = 50)
    @PropertyDef(label = "装卸仓库")
    private String depotId;
 
    @Column(name = "CAR_NUM_", length = 20)
    @PropertyDef(label = "船运车辆序号")
    private String carNum;
 
    @Column(name = "CAR_NAME_", length = 20)
    @PropertyDef(label = "船运车辆名称")
    private String carName;
 
    @Column(name = "TYPE_", length = 10)
    @PropertyDef(label = "出入库类型", description = "出库,入库")
    private String type;
 
    @Column(name = "PROGRESS_", length = 20)
    @PropertyDef(label = "流程进度")
    private String progress = InoutConstant.PROGRESS_REGISTER;
 
    @Column(name = "RECORD_STATUS_", length = 10)
    @PropertyDef(label = "数据状态", description = "数据状态,正常,异常(2小时内重复出入库等),补录")
    private String recordStatus = InoutConstant.RECORD_STATUS_NORMAL;
 
    @Column(name = "DE_")
    @PropertyDef(label = "扣重", description = "单位KG")
    private Double de = 0.0;
 
    @Column(name = "FULL_WEIGHT_")
    @PropertyDef(label = "满车称重", description = "入库时候表示第一次称重,出库时候表示第二次称重,单位KG")
    private Double fullWeight = 0.0;
 
    @Column(name = "FULL_WEIGHT_TIME_")
    @PropertyDef(label = "满车称重时间")
    private Date fullWeightTime;
 
    @Column(name = "FULL_WEIGHT_USER_", length = 40)
    @PropertyDef(label = "满车称重人")
    private String fullWeightUser;
 
    @Column(name = "EMPTY_WEIGHT_")
    @PropertyDef(label = "空车称重", description = "入库时表示第二次称重,出库时候表示第一次称重,单位KG")
    private Double emptyWeight = 0.0;
 
    @Column(name = "EMPTY_WEIGHT_TIME_")
    @PropertyDef(label = "空车称重时间")
    private Date emptyWeightTime;
 
    @Column(name = "EMPTY_WEIGHT_USER_")
    @PropertyDef(label = "空车称重人")
    private String emptyWeightUser;
 
    @Column(name = "NET_WEIGHT_")
    @PropertyDef(label = "净重", description = "单位KG")
    private Double netWeight = 0.0;
 
    @Column(name = "SETTLE_WEIGHT_")
    @PropertyDef(label = "结算净重", description = "扣重后净重,结算净重,单位KG")
    private Double settleWeight = 0.0;
 
    @Column(name = "RECORD_WEIGHT_")
    @PropertyDef(label = "入库重量", description = "扣重后净重,结算净重,补包括增重,单位KG")
    private Double recordWeight = 0.0;
 
    @Column(name = "CREATE_TIME_")
    @PropertyDef(label = "创建时间")
    private Date createTime;
 
    // 备注
    @Column(name = "REMARKS_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remarks;
}