Blame view

src/main/java/com/huaheng/pc/u8/domain/ICSReceiptHeader.java 4.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
package com.huaheng.pc.u8.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
13
import java.util.Date;
14
15
16
17
18
19
20
21
22
23
24
25
26
27

/**
 *  出库下发或回传主单
 *   @author huaheng
 *   @date 2018-12-14
 */
@Data
@TableName(value = "icsreceipt_header")
public class ICSReceiptHeader implements Serializable {

    @TableId(value = "rid",type = IdType.AUTO)
    private Integer rid;

    private static final long serialVersionUID = -2190076963166343013L;
tongzhonghao authored
28
29
30

    // 出库下发或回传的主单code
tongzhonghao authored
31
    @TableField(value ="cCode")
32
33
34
35
36
37
38
39
    private String cCode;

    //单主表标识
    @TableField(value ="ID")
    @JsonProperty(value = "ID")
    private Integer ID;

    //采购订单号
tongzhonghao authored
40
    @TableField(value ="cPOID")
41
42
43
    private String cPOID;

    //采购订单ID
xumiao authored
44
    @TableField(value = "POID")
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
    @JsonProperty(value = "POID")
    private Integer POID;

    //入库日期
    @TableField(value ="dPODate")
    private String dPODate;

    //供应商代码
    @TableField(value ="cVenCode")
    private String cVenCode;

    //供应商名称
    @TableField(value ="cVenName")
    private String cVenName;

    //业务类型
    @TableField(value ="cBusType")
    private String cBusType;

    @TableField(value ="type")
    private String type;

    //部门代码
    @TableField(value ="cDepCode")
    private String cDepCode;

    //部门名称
    @TableField(value ="cDepName")
    private String cDepName;

    //业务员代码
    @TableField(value ="cPersonCode")
    private String cPersonCode;

    //业务员名称
    @TableField(value ="cPersonName")
    private String cPersonName;

    //备注
    @TableField(value ="cMemo")
    private String cMemo;

    //制单人
    @TableField(value ="cMaker")
    private String cMaker;

    //审核人
    @TableField(value ="cVerifier")
    private String cVerifier;

    //公司代码(账套代码)
    @TableField(value ="CompanyCode")
    @JsonProperty(value = "CompanyCode")
    private String CompanyCode;

    //维护日期
    @TableField(value ="cModifyDate")
    private String cModifyDate;

    //出库日期
    @TableField(value ="dDate")
    private String dDate;

    //出库类别
    @TableField(value ="cRDName")
    private String cRDName;

    //库房代码
tongzhonghao authored
113
    @TableField(value ="cWHCode")
114
115
116
117
118
    private String cWHCode;

    //库房名称
    @TableField(value ="cWHName")
    private String cWHName;
119
    //调入仓库编码
tongzhonghao authored
120
    @TableField(value ="iWHCode")
121
122
123
124
125
126
127
128
129
130
131
132
    private String iWHCode;

    @TableField(value ="iWHName")
    private String iWHName;
    //采购类型编码
    @TableField(value ="cPTCode")
    private String cPTCode;
    //采购类型名称
    @TableField(value ="cPTName")
    private String cPTName;

    //发货退货单主表标识
tongzhonghao authored
133
    @TableField(value ="DLID")
134
135
136
137
    @JsonProperty(value = "DLID")
    private Integer DLID;

    //发货退货单号
tongzhonghao authored
138
    @TableField(value ="cDLCode")
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
    private String cDLCode;

    //客户代码
    @TableField(value ="cCusCode")
    private String cCusCode;

    //客户名称
    @TableField(value ="cCusName")
    private String cCusName;

    //销售类型(默认:国外销售)
    @TableField(value ="cSTName")
    private String cSTName;

    //调拨单号
xumiao authored
154
    @TableField(value = "cTVCode")
155
156
    private String cTVCode;
xumiao authored
157
    @TableField(value = "VoucherType")
158
159
160
    @JsonProperty(value = "VoucherType")
    private String VoucherType;
xumiao authored
161
    @TableField(value = "sourcePlatform")
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
    private String sourcePlatform;



    //收货人信息
//    private String recManName;
//    private String recManMobile;
//    private String recManAddr;
//    private String recManCompany;

    //发货人信息
//    private String sendManName;
//    private String sendManMobile;
//    private String sendManAddr;
//    private String sendManCompany;
tongzhonghao authored
178
    @TableField(exist = false)
179
180
    private String snCode;
tongzhonghao authored
181
    @TableField(exist = false)
182
183
    private String trackCode;
184
    @TableField(exist = false)
185
186
    private String isNew;
187
    // 出库下发或回传的主单code
tongzhonghao authored
188
    @TableField(exist = false)
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
    private Integer referId;

    // 出库下发或回传的主单code
    @TableField(value ="referCode")
    private String referCode;

    /**
     * WMS 仓库编码
     */
    @TableField(value ="warehouseCode")
    private String warehouseCode;

    //必须回传
    /**
     * WMS 仓库编码
     */
tongzhonghao authored
205
    @TableField(exist = false)
206
207
208
209
210
211
212
213
214
    private String stock;

    /**
     * 入库时间 | 出库时间
     */
    @TableField(exist = false)
    private Date created;
215
}