Blame view

src/main/java/com/huaheng/pc/u8/domain/ICSShipmentHeader.java 5.51 KB
1
2
3
4
5
6
7
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;
8
import io.swagger.annotations.ApiModelProperty;
9
10
11
import lombok.Data;

import java.io.Serializable;
tongzhonghao authored
12
import java.util.Date;
13
14

/**
周鸿 authored
15
16
17
18
 * 出库下发或回传主单
 *
 * @author huaheng
 * @date 2018-12-14
19
20
 */
@Data
tongzhonghao authored
21
@TableName(value = "icsshipment_header")
22
23
24
public class ICSShipmentHeader implements Serializable {

    private static final long serialVersionUID = -2190076963166343013L;
周鸿 authored
25
26
27
    /**
     * 调拨单号
     */
28
    @ApiModelProperty(value = "调拨单号")
周鸿 authored
29
    @TableField(value = "cTVCode")
30
    private String cTVCode;
周鸿 authored
31
32
33
    /**
     * 转出仓库编码
     */
34
    @ApiModelProperty(value = "转出仓库编码")
周鸿 authored
35
    @TableField(value = "oWHCode")
36
    private String oWHCode;
周鸿 authored
37
38
39
    /**
     * 转出仓库名称
     */
40
    @ApiModelProperty(value = "转出仓库名称")
周鸿 authored
41
    @TableField(value = "oWHName")
42
    private String oWHName;
周鸿 authored
43
44
45
    /**
     * 转入仓库编码
     */
46
    @ApiModelProperty(value = "转入仓库编码")
周鸿 authored
47
    @TableField(value = "iWHCode")
48
    private String iWHCode;
周鸿 authored
49
50
51
    /**
     * 转入仓库名称
     */
52
    @ApiModelProperty(value = "转入仓库名称")
周鸿 authored
53
    @TableField(value = "iWHName")
54
    private String iWHName;
55
56
57
58
    //内码
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sId;
xumiao authored
59
60
    @TableField(value = "warehouseCode")
    private String warehouseCode;
tongzhonghao authored
61
62
63
64
65
66
67
68
69
70
    // 出库下发或回传的主单code
    @TableField(value = "cCode")
    private String cCode;

    //单主表标识
    @TableField(value = "ID")
    @JsonProperty(value = "ID")
    private Integer ID;
tongzhonghao authored
71
    @TableField(value = "referCode")
tongzhonghao authored
72
    private String referCode;
tongzhonghao authored
73
74
75
76
77

    //生成订单 不生成
    @TableField(exist = false)
    private Boolean isFlag = true;
tongzhonghao authored
78
    @TableField(exist = false)
tongzhonghao authored
79
    private Integer referId;
tongzhonghao authored
80
    @TableField(exist = false)
tongzhonghao authored
81
    private Integer referNum;
tongzhonghao authored
82
    @TableField(exist = false)
tongzhonghao authored
83
    private String uWarehouseCode;
tongzhonghao authored
84
    @TableField(exist = false)
tongzhonghao authored
85
    private Date created;
tongzhonghao authored
86
    @TableField(exist = false)
87
88
    private String stock;
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
    //入库日期
    @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;

    //库房代码
    @TableField(value = "cWHCode")
    private String cWHCode;

    //库房名称
    @TableField(value = "cWHName")
    private String cWHName;

    //生产订单主表ID
    @TableField(value = "MoId")
    @JsonProperty(value = "MoId")
    private Integer MoId;

    //生产订单号
    @TableField(value = "MoCode")
    @JsonProperty(value = "MoCode")
    private String MoCode;

    //发货退货单主表标识
    @TableField(value = "DLID")
    @JsonProperty(value = "DLID")
    private Integer DLID;

    //发货退货单号
    @TableField(value = "cDLCode")
    private String cDLCode;

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

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

    //销售类型(默认:国外销售)
    @TableField(value = "cSTName")
    private String cSTName;
tongzhonghao authored
193
    @TableField(exist = false)
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
    @JsonProperty(value = "VoucherType")
    private String VoucherType;

    @TableField(value = "FromCompanyCode")
    @JsonProperty(value = "FromCompanyCode")
    private String FromCompanyCode;

    //收货人信息
    @TableField(value = "recName")
    private String recName;
    @TableField(value = "recMobile")
    private String recMobile;
    @TableField(value = "recAddr")
    private String recAddr;
    @TableField(value = "recCompany")
    private String recCompany;

    //发货人信息
    @TableField(value = "sendName")
    private String sendName;
    @TableField(value = "sendMobile")
    private String sendMobile;
    @TableField(value = "sendAddr")
    private String sendAddr;
    @TableField(value = "sendCompany")
    private String sendCompany;
    @TableField(value = "cSCName")
    private String cSCName;
tongzhonghao authored
223
    @TableField(exist = false)
224
225
    private String snCode;
tongzhonghao authored
226
    @TableField(exist = false)
227
228
    private String trackCode;
tongzhonghao authored
229
    @TableField(exist = false)
230
231
    private String isNew;
}