"vscode:/vscode.git/clone" did not exist on "c212ae6feb416722f7040ce99be85daec2a1b41e"
Commit da5d7427 authored by macro's avatar macro
Browse files

Update EsProductRelatedInfo.java

parent 8f57a363
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;
}
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment