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
da5d7427
"vscode:/vscode.git/clone" did not exist on "c212ae6feb416722f7040ce99be85daec2a1b41e"
Commit
da5d7427
authored
Jul 05, 2020
by
macro
Browse files
Update EsProductRelatedInfo.java
parent
8f57a363
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-search/src/main/java/com/macro/mall/search/domain/EsProductRelatedInfo.java
View file @
da5d7427
package
com.macro.mall.search.domain
;
package
com.macro.mall.search.domain
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.List
;
import
java.util.List
;
/**
/**
* 搜索相关商品品牌名称,分类名称及属性
* 搜索相关商品品牌名称,分类名称及属性
* Created by macro on 2018/6/27.
* Created by macro on 2018/6/27.
*/
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
public
class
EsProductRelatedInfo
{
public
class
EsProductRelatedInfo
{
private
List
<
String
>
brandNames
;
private
List
<
String
>
brandNames
;
private
List
<
String
>
productCategoryNames
;
private
List
<
String
>
productCategoryNames
;
private
List
<
ProductAttr
>
productAttrs
;
private
List
<
ProductAttr
>
productAttrs
;
public
List
<
String
>
getBrandNames
()
{
return
brandNames
;
}
public
void
setBrandNames
(
List
<
String
>
brandNames
)
{
this
.
brandNames
=
brandNames
;
}
public
List
<
String
>
getProductCategoryNames
()
{
@Data
return
productCategoryNames
;
@EqualsAndHashCode
(
callSuper
=
false
)
}
public
static
class
ProductAttr
{
public
void
setProductCategoryNames
(
List
<
String
>
productCategoryNames
)
{
this
.
productCategoryNames
=
productCategoryNames
;
}
public
List
<
ProductAttr
>
getProductAttrs
()
{
return
productAttrs
;
}
public
void
setProductAttrs
(
List
<
ProductAttr
>
productAttrs
)
{
this
.
productAttrs
=
productAttrs
;
}
public
static
class
ProductAttr
{
private
Long
attrId
;
private
Long
attrId
;
private
String
attrName
;
private
String
attrName
;
private
List
<
String
>
attrValues
;
private
List
<
String
>
attrValues
;
public
Long
getAttrId
()
{
return
attrId
;
}
public
void
setAttrId
(
Long
attrId
)
{
this
.
attrId
=
attrId
;
}
public
List
<
String
>
getAttrValues
()
{
return
attrValues
;
}
public
void
setAttrValues
(
List
<
String
>
attrValues
)
{
this
.
attrValues
=
attrValues
;
}
public
String
getAttrName
()
{
return
attrName
;
}
public
void
setAttrName
(
String
attrName
)
{
this
.
attrName
=
attrName
;
}
}
}
}
}
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