package com.macro.mall.search.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 搜索商品的品牌名称，分类名称及属性
 * Created by macro on 2018/6/27.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EsProductRelatedInfo {
    private List<String> brandNames;
    private List<String> productCategoryNames;
    private List<ProductAttr> productAttrs;

    @Data
    @EqualsAndHashCode(callSuper = false)
    public static class ProductAttr {
        private Long attrId;
        private String attrName;
        private List<String> attrValues;
    }
}

@@ -122,16 +122,23 @@
  * %E6%90%9C%E7%B4%A2%E5%95%86%E5%93%81%E7%9A%84
+%E5%85%B3%E8%81%94%E4%BF%A1%E6%81%AF%EF%BC%8C%E5%8C%85%E6%8B%AC
 %E5%93%81%E7%89%8C%E5%90%8D%E7%A7%B0%EF%BC%8C%E5%88%86%E7%B1%BB%E5%90%8D

Update EsProductRelatedInfo.java