记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
8fa94411
Commit
8fa94411
authored
Feb 14, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~API:商品管理:添加SPU+规格参数校验;
parent
87baae22
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
GoblinStoreMgtGoodsAddSkuParam.java
...ice/goblin/dto/manage/GoblinStoreMgtGoodsAddSkuParam.java
+7
-0
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtGoodsAddSkuParam.java
View file @
8fa94411
...
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
...
@@ -7,6 +7,7 @@ import io.swagger.annotations.ApiModelProperty;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
javax.validation.constraints.Min
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Pattern
;
import
javax.validation.constraints.Pattern
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -28,18 +29,24 @@ public class GoblinStoreMgtGoodsAddSkuParam implements Serializable {
...
@@ -28,18 +29,24 @@ public class GoblinStoreMgtGoodsAddSkuParam implements Serializable {
@ApiModelProperty
(
position
=
13
,
required
=
false
,
value
=
"单品销售价-原价[20,2]"
)
@ApiModelProperty
(
position
=
13
,
required
=
false
,
value
=
"单品销售价-原价[20,2]"
)
private
BigDecimal
sellPrice
;
private
BigDecimal
sellPrice
;
@ApiModelProperty
(
position
=
14
,
required
=
true
,
value
=
"单品现价[20,2]"
)
@ApiModelProperty
(
position
=
14
,
required
=
true
,
value
=
"单品现价[20,2]"
)
@NotNull
(
message
=
"单品现价不能为空"
)
@Min
(
value
=
0
,
message
=
"单品现价不能小于0"
)
private
BigDecimal
price
;
private
BigDecimal
price
;
@ApiModelProperty
(
position
=
15
,
required
=
true
,
value
=
"单品会员价格[20,2]"
)
@ApiModelProperty
(
position
=
15
,
required
=
true
,
value
=
"单品会员价格[20,2]"
)
@NotNull
(
message
=
"单品会员价格不能为空"
)
@Min
(
value
=
0
,
message
=
"单品会员价格不能小于0"
)
private
BigDecimal
priceMember
;
private
BigDecimal
priceMember
;
@ApiModelProperty
(
position
=
16
,
required
=
false
,
value
=
"单品的重量[20,2]"
)
@ApiModelProperty
(
position
=
16
,
required
=
false
,
value
=
"单品的重量[20,2]"
)
private
BigDecimal
weight
;
private
BigDecimal
weight
;
@ApiModelProperty
(
position
=
17
,
required
=
true
,
value
=
"总库存"
)
@ApiModelProperty
(
position
=
17
,
required
=
true
,
value
=
"总库存"
)
@Min
(
value
=
0
,
message
=
"总库存不能小于0"
)
private
Integer
stock
;
private
Integer
stock
;
@ApiModelProperty
(
position
=
18
,
required
=
false
,
value
=
"预警库存"
)
@ApiModelProperty
(
position
=
18
,
required
=
false
,
value
=
"预警库存"
)
private
Integer
warningStock
;
private
Integer
warningStock
;
@ApiModelProperty
(
position
=
19
,
required
=
false
,
value
=
"ISBN,针对CD/图书等[100]"
)
@ApiModelProperty
(
position
=
19
,
required
=
false
,
value
=
"ISBN,针对CD/图书等[100]"
)
private
String
skuIsbn
;
private
String
skuIsbn
;
@ApiModelProperty
(
position
=
20
,
required
=
true
,
value
=
"购买限制[0-全部用户|1-仅会员|2-指定用户]"
)
@ApiModelProperty
(
position
=
20
,
required
=
true
,
value
=
"购买限制[0-全部用户|1-仅会员|2-指定用户]"
)
@NotNull
(
message
=
"购买限制不能为空"
)
private
String
buyFactor
;
private
String
buyFactor
;
@ApiModelProperty
(
position
=
21
,
required
=
false
,
value
=
"购买限制人员名单[购买限制为2-指定用户时必填]"
)
@ApiModelProperty
(
position
=
21
,
required
=
false
,
value
=
"购买限制人员名单[购买限制为2-指定用户时必填]"
)
private
String
buyRoster
;
private
String
buyRoster
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment