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
79988715
Commit
79988715
authored
May 30, 2020
by
macro
Browse files
Update PmsProductAttributeParam.java
parent
4c56de45
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/dto/PmsProductAttributeParam.java
View file @
79988715
...
@@ -2,6 +2,8 @@ package com.macro.mall.dto;
...
@@ -2,6 +2,8 @@ package com.macro.mall.dto;
import
com.macro.mall.validator.FlagValidator
;
import
com.macro.mall.validator.FlagValidator
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotEmpty
;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotEmpty;
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.NotEmpty;
* 商品属性参数
* 商品属性参数
* Created by macro on 2018/4/26.
* Created by macro on 2018/4/26.
*/
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
PmsProductAttributeParam
{
public
class
PmsProductAttributeParam
{
@ApiModelProperty
(
"属性分类ID"
)
@ApiModelProperty
(
"属性分类ID"
)
@NotEmpty
(
message
=
"属性分类不能为空"
)
@NotEmpty
(
message
=
"属性分类不能为空"
)
...
@@ -41,92 +45,4 @@ public class PmsProductAttributeParam {
...
@@ -41,92 +45,4 @@ public class PmsProductAttributeParam {
@ApiModelProperty
(
"属性的类型;0->规格;1->参数"
)
@ApiModelProperty
(
"属性的类型;0->规格;1->参数"
)
@FlagValidator
({
"0"
,
"1"
})
@FlagValidator
({
"0"
,
"1"
})
private
Integer
type
;
private
Integer
type
;
public
Long
getProductAttributeCategoryId
()
{
return
productAttributeCategoryId
;
}
public
void
setProductAttributeCategoryId
(
Long
productAttributeCategoryId
)
{
this
.
productAttributeCategoryId
=
productAttributeCategoryId
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
Integer
getSelectType
()
{
return
selectType
;
}
public
void
setSelectType
(
Integer
selectType
)
{
this
.
selectType
=
selectType
;
}
public
Integer
getInputType
()
{
return
inputType
;
}
public
void
setInputType
(
Integer
inputType
)
{
this
.
inputType
=
inputType
;
}
public
String
getInputList
()
{
return
inputList
;
}
public
void
setInputList
(
String
inputList
)
{
this
.
inputList
=
inputList
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
Integer
getFilterType
()
{
return
filterType
;
}
public
void
setFilterType
(
Integer
filterType
)
{
this
.
filterType
=
filterType
;
}
public
Integer
getSearchType
()
{
return
searchType
;
}
public
void
setSearchType
(
Integer
searchType
)
{
this
.
searchType
=
searchType
;
}
public
Integer
getRelatedStatus
()
{
return
relatedStatus
;
}
public
void
setRelatedStatus
(
Integer
relatedStatus
)
{
this
.
relatedStatus
=
relatedStatus
;
}
public
Integer
getHandAddStatus
()
{
return
handAddStatus
;
}
public
void
setHandAddStatus
(
Integer
handAddStatus
)
{
this
.
handAddStatus
=
handAddStatus
;
}
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
}
}
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