View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.service.solr;import org.springframework.beans.factory.annotation.Autowired;import com.google.gson.Gson;public class SkuInfo {@Autowiredprivate Gson gson;private String id;private String[] ids;private String brand;private String model_name;private String category_id;private String subCategoryId;private String thumbnail;private String title;private String[] brand_synonyms;private String[] model_name_synonyms;private String[] source_product_names;private String category;private String subCategory;public SkuInfo(String id, String[] ids, String brand, String model_name, String category_id, String subCategoryId,String thumbnail, String title, String[] brand_synonyms, String[] model_name_synonyms,String[] source_product_names, String category, String subCategory) {this.id = id;this.ids = ids;this.brand = brand;this.model_name = model_name;this.category_id = category_id;this.subCategoryId = subCategoryId;this.thumbnail = thumbnail;this.title = title;this.brand_synonyms = brand_synonyms;this.model_name_synonyms = model_name_synonyms;this.source_product_names = source_product_names;this.category = category;this.subCategory = subCategory;}public String toJSON() {return gson.toJson(this);}}