Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
79a28254
Commit
79a28254
authored
Aug 27, 2020
by
macro
Browse files
Update PmsProductCategoryParam.java
parent
974a1224
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/dto/PmsProductCategoryParam.java
View file @
79a28254
...
...
@@ -18,19 +18,19 @@ import java.util.List;
public
class
PmsProductCategoryParam
{
@ApiModelProperty
(
"父分类的编号"
)
private
Long
parentId
;
@NotEmpty
@ApiModelProperty
(
value
=
"商品分类名称"
,
required
=
true
)
@NotEmpty
(
message
=
"商品分类名称不能为空"
)
private
String
name
;
@ApiModelProperty
(
"分类单位"
)
private
String
productUnit
;
@ApiModelProperty
(
"是否在导航栏显示"
)
@FlagValidator
(
value
=
{
"0"
,
"1"
},
message
=
"状态只能为0或1"
)
@ApiModelProperty
(
"是否在导航栏显示"
)
private
Integer
navStatus
;
@ApiModelProperty
(
"是否进行显示"
)
@FlagValidator
(
value
=
{
"0"
,
"1"
},
message
=
"状态只能为0或1"
)
@ApiModelProperty
(
"是否进行显示"
)
private
Integer
showStatus
;
@Min
(
value
=
0
)
@ApiModelProperty
(
"排序"
)
@Min
(
value
=
0
,
message
=
"排序最小为0"
)
private
Integer
sort
;
@ApiModelProperty
(
"图标"
)
private
String
icon
;
...
...
Write
Preview
Supports
Markdown
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