Blame view

src/main/java/com/huaheng/pc/config/warehouse/domain/Warehouse.java 5.32 KB
1
package com.huaheng.pc.config.warehouse.domain;
tangying authored
2
3
4
5
6
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
mahuandong authored
7
8
import lombok.Data;
tangying authored
9
10
11
import java.io.Serializable;
import java.util.Date;
12
13
@Data
@TableName(value = "warehouse")
mahuandong authored
14
15
16
17
public class Warehouse implements Serializable {
    /**
     * 仓库编码
     */
mahuandong authored
18
    @TableId(value = "code", type = IdType.INPUT)
mahuandong authored
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
    private String code;

    /**
     * 地址1
     */
    @TableField(value = "address1")
    private String address1;

    /**
     * 地址2
     */
    @TableField(value = "address2")
    private String address2;

    /**
     * 城市
     */
    @TableField(value = "city")
    private String city;

    /**
     * 省份
     */
    @TableField(value = "state")
    private String state;

    /**
     * /
     */
    @TableField(value = "district")
    private String district;

    /**
     * 国家
     */
    @TableField(value = "country")
    private String country;

    /**
     * 邮编
     */
    @TableField(value = "postalCode")
    private String postalCode;

    /**
     * 联系人
     */
    @TableField(value = "attentionTo")
    private String attentionTo;

    /**
     * 联系电话
     */
    @TableField(value = "phoneNum")
    private String phoneNum;

    /**
     * 传真号
     */
    @TableField(value = "faxNum")
    private String faxNum;

    /**
     * 邮件地址
     */
    @TableField(value = "email")
    private String email;
87
88
89
90
91
92
93
94
95
    public boolean isFlag() {
        return flag;
    }

    public Warehouse setFlag(boolean flag) {
        this.flag = flag;
        return this;
    }
mahuandong authored
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
193
194
195
196
197
    /**
     * 上位系统url地址
     */
    @TableField(value = "hostCode")
    private String hostCode;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 状态
     */
    @TableField(value = "enable")
    private Integer enable;

    /**
     * 公司编码
     */
    @TableField(value = "orgCode")
    private String orgCode;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    private String userDef3;

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    private String userDef4;

    /**
     * 自定义字段5
     */
    @TableField(value = "userDef5")
    private String userDef5;

    /**
     * 自定义字段6
     */
    @TableField(value = "userDef6")
    private String userDef6;

    /**
     * 自定义字段7
     */
    @TableField(value = "userDef7")
    private String userDef7;

    /**
     * 自定义字段8
     */
    @TableField(value = "userDef8")
    private String userDef8;
mahuandong authored
198
199
200
    @TableField(value = "deleted")
    private Boolean deleted;
201
202
203
204
    /** 用户是否存在此仓库标识 默认不存在 */
    @TableField(exist = false)
    private boolean flag = false;
mahuandong authored
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
    private static final long serialVersionUID = 1L;

    public static final String COL_ADDRESS1 = "address1";

    public static final String COL_ADDRESS2 = "address2";

    public static final String COL_CITY = "city";

    public static final String COL_STATE = "state";

    public static final String COL_DISTRICT = "district";

    public static final String COL_COUNTRY = "country";

    public static final String COL_POSTALCODE = "postalCode";

    public static final String COL_ATTENTIONTO = "attentionTo";

    public static final String COL_PHONENUM = "phoneNum";

    public static final String COL_FAXNUM = "faxNum";

    public static final String COL_EMAIL = "email";

    public static final String COL_HOSTCODE = "hostCode";

    public static final String COL_NAME = "name";

    public static final String COL_ENABLE = "enable";

    public static final String COL_ORGCODE = "orgCode";

    public static final String COL_CREATED = "created";

    public static final String COL_CREATEDBY = "createdBy";

    public static final String COL_LASTUPDATED = "lastUpdated";

    public static final String COL_LASTUPDATEDBY = "lastUpdatedBy";

    public static final String COL_VERSION = "version";

    public static final String COL_USERDEF1 = "userDef1";

    public static final String COL_USERDEF2 = "userDef2";

    public static final String COL_USERDEF3 = "userDef3";

    public static final String COL_USERDEF4 = "userDef4";

    public static final String COL_USERDEF5 = "userDef5";

    public static final String COL_USERDEF6 = "userDef6";

    public static final String COL_USERDEF7 = "userDef7";

    public static final String COL_USERDEF8 = "userDef8";
mahuandong authored
262
263

    public static final String COL_DELETED = "deleted";
mahuandong authored
264
}