add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
package com.iotechn.unimall.biz.client.erp.dobbin.model;
 
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.core.entiy.SuperDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.util.List;
 
/**
 * ClassName: ErpSkuDTO
 * Description: 商品传输模型
 *
 * @author: e-weichaozheng
 * @date: 2021-03-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSku extends SuperDTO implements Serializable {
 
    /**
     * 内部编号
     */
    @ApiField(description = "商品编号")
    private String code;
 
    /**
     * 条形码
     */
    @ApiField(description = "商品条码")
    private String barCode;
 
    @ApiField(description = "商品名称")
    private String title;
 
    /**
     * 冗余主图
     */
    @ApiField(description = "商品主图")
    private String img;
 
    @ApiField(description = "类目ID")
    private Long categoryId;
 
    @ApiField(description = "类目标题")
    private String categoryTitle;
 
    /**
     * 商品类型 1. 普通商品 2. 服务商品
     */
    @ApiField(description = "商品类型")
    private Integer type;
 
    /**
     * 可空字段,型号
     */
    @ApiField(description = "型号")
    private String specification;
 
    @ApiField(description = "品牌标题")
    private String bandTitle;
 
    @ApiField(description = "产地")
    private String place;
 
    /************** 单位信息 START ****************/
    /**
     * 基本单位
     */
    @ApiField(description = "基本单位")
    private String unit;
 
    /**
     * 默认采购单位
     */
    @ApiField(description = "采购单位")
    private String purchaseUnit;
 
    /**
     * 默认销售单位
     */
    @ApiField(description = "销售单位")
    private String salesUnit;
 
 
    /************** 保质期 START ****************/
    /**
     * 保质期 时间(非时刻)
     */
    @ApiField(description = "保质期")
    private Integer expiration;
 
    /**
     * 
     */
    @ApiField(description = "过期日期类型")
    private Integer expirationType;
 
    /**
     * 过期预警天数
     */
    @ApiField(description = "预警天数")
    private Integer warningDays;
 
    /************** 库存信息 START ****************/
 
    /**
     * 默认仓库ID
     */
    @ApiField(description = "默认仓库ID")
    private Long locationId;
 
    /**
     * 默认仓库名称
     */
    @ApiField(description = "默认仓库标题")
    private String locationTitle;
 
    /**
     * 默认供货商
     */
    @ApiField(description = "供货商ID")
    private Long vendorId;
 
    /**
     * 默认供货商名称
     */
    @ApiField(description = "供货商标题")
    private String vendorTitle;
 
    /**
     * 默认采购员
     */
    @ApiField(description = "采购员")
    private Long buyerId;
 
    /**
     * 采购员名称
     */
    @ApiField(description = "采购员名")
    private String buyerTitle;
 
    @ApiField(description = "最低库存")
    private Integer stockMin;
 
    @ApiField(description = "最高库存")
    private Integer stockMax;
 
    /**
     * 库存预警
     */
    @ApiField(description = "库存预警")
    private Integer stockWarning;
 
    /**
     * 位置库存列表
     */
    @ApiField(description = "仓库库存信息")
    private List<ErpSkuLocationStock> locationStockList;
 
    /************** 子表信息 START ****************/
 
    @ApiField(description = "商品属性")
    private List<ErpSkuAttribute> attributeList;
 
 
 
    @ApiField(description = "价格列表")
    private List<ErpSkuPrice> priceList;
 
    @ApiField(description = "图片列表")
    private List<ErpSkuImg> imgList;
 
}