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
974a1224
Commit
974a1224
authored
Aug 26, 2020
by
macro
Browse files
Update PmsProductAttributeParam.java
parent
a2c15637
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/dto/PmsProductAttributeParam.java
View file @
974a1224
...
...
@@ -14,21 +14,20 @@ import javax.validation.constraints.NotEmpty;
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
PmsProductAttributeParam
{
@NotEmpty
@ApiModelProperty
(
"属性分类ID"
)
@NotEmpty
(
message
=
"属性分类不能为空"
)
private
Long
productAttributeCategoryId
;
@NotEmpty
@ApiModelProperty
(
"属性名称"
)
@NotEmpty
(
message
=
"属性名称不能为空"
)
private
String
name
;
@ApiModelProperty
(
"属性选择类型:0->唯一;1->单选;2->多选"
)
@FlagValidator
({
"0"
,
"1"
,
"2"
})
@ApiModelProperty
(
"属性选择类型:0->唯一;1->单选;2->多选"
)
private
Integer
selectType
;
@ApiModelProperty
(
"属性录入方式:0->手工录入;1->从列表中选取"
)
@FlagValidator
({
"0"
,
"1"
})
@ApiModelProperty
(
"属性录入方式:0->手工录入;1->从列表中选取"
)
private
Integer
inputType
;
@ApiModelProperty
(
"可选值列表,以逗号隔开"
)
private
String
inputList
;
private
Integer
sort
;
@ApiModelProperty
(
"分类筛选样式:0->普通;1->颜色"
)
@FlagValidator
({
"0"
,
"1"
})
...
...
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