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
a2c15637
Commit
a2c15637
authored
Aug 24, 2020
by
macro
Browse files
Update PmsBrandParam.java
parent
b57f7e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/dto/PmsBrandParam.java
View file @
a2c15637
...
...
@@ -15,22 +15,22 @@ import javax.validation.constraints.NotEmpty;
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
PmsBrandParam
{
@NotEmpty
@ApiModelProperty
(
value
=
"品牌名称"
,
required
=
true
)
@NotEmpty
(
message
=
"名称不能为空"
)
private
String
name
;
@ApiModelProperty
(
value
=
"品牌首字母"
)
private
String
firstLetter
;
@Min
(
value
=
0
)
@ApiModelProperty
(
value
=
"排序字段"
)
@Min
(
value
=
0
,
message
=
"排序最小为0"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"是否为厂家制造商"
)
@FlagValidator
(
value
=
{
"0"
,
"1"
},
message
=
"厂家状态不正确"
)
@ApiModelProperty
(
value
=
"是否为厂家制造商"
)
private
Integer
factoryStatus
;
@ApiModelProperty
(
value
=
"是否进行显示"
)
@FlagValidator
(
value
=
{
"0"
,
"1"
},
message
=
"显示状态不正确"
)
@ApiModelProperty
(
value
=
"是否进行显示"
)
private
Integer
showStatus
;
@NotEmpty
@ApiModelProperty
(
value
=
"品牌logo"
,
required
=
true
)
@NotEmpty
(
message
=
"品牌logo不能为空"
)
private
String
logo
;
@ApiModelProperty
(
value
=
"品牌大图"
)
private
String
bigPic
;
...
...
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