|
|
package com.yoho.search.recall.scene.models.personal;
|
|
|
|
|
|
import com.yoho.search.core.personalized.models.SortBrand;
|
|
|
import com.yoho.search.core.personalized.models.SortPriceArea;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 个性化因子参数
|
|
|
*/
|
|
|
public class PagePersonalFactor implements Serializable{
|
|
|
|
|
|
private static final long serialVersionUID = 89030356435559223L;
|
|
|
|
|
|
private List<Integer> brandIds;
|
|
|
private List<PageSortPriceArea> sortPriceAreas;
|
|
|
private List<PageSortBrand> sortBrands;
|
|
|
|
|
|
public PagePersonalFactor() {
|
|
|
}
|
|
|
|
|
|
public PagePersonalFactor(List<Integer> brandIds, List<PageSortPriceArea> sortPriceAreas,List<PageSortBrand> sortBrands){
|
|
|
this.brandIds = brandIds;
|
|
|
this.sortPriceAreas = sortPriceAreas;
|
|
|
this.sortBrands = sortBrands;
|
|
|
}
|
|
|
|
|
|
public List<Integer> getBrandIds() {
|
|
|
return brandIds;
|
|
|
}
|
|
|
|
|
|
public void setBrandIds(List<Integer> brandIds) {
|
|
|
this.brandIds = brandIds;
|
|
|
}
|
|
|
|
|
|
public List<PageSortPriceArea> getSortPriceAreas() {
|
|
|
return sortPriceAreas;
|
|
|
}
|
|
|
|
|
|
public void setSortPriceAreas(List<PageSortPriceArea> sortPriceAreas) {
|
|
|
this.sortPriceAreas = sortPriceAreas;
|
|
|
}
|
|
|
|
|
|
public List<PageSortBrand> getSortBrands() {
|
|
|
return sortBrands;
|
|
|
}
|
|
|
|
|
|
public void setSortBrands(List<PageSortBrand> sortBrands) {
|
|
|
this.sortBrands = sortBrands;
|
|
|
}
|
|
|
} |
|
|
package com.yoho.search.recall.scene.models.personal;
|
|
|
|
|
|
import com.yoho.search.core.personalized.models.SortBrand;
|
|
|
import com.yoho.search.core.personalized.models.SortPriceArea;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 个性化因子参数
|
|
|
*/
|
|
|
public class PagePersonalFactor implements Serializable{
|
|
|
|
|
|
private static final long serialVersionUID = 89030356435559223L;
|
|
|
|
|
|
private List<Integer> brandIds;
|
|
|
private List<PageSortPriceArea> sortPriceAreas;
|
|
|
private List<PageSortBrand> sortBrands;
|
|
|
|
|
|
public PagePersonalFactor() {
|
|
|
}
|
|
|
|
|
|
public PagePersonalFactor(List<Integer> brandIds, List<PageSortPriceArea> sortPriceAreas,List<PageSortBrand> sortBrands){
|
|
|
this.brandIds = brandIds;
|
|
|
this.sortPriceAreas = sortPriceAreas;
|
|
|
this.sortBrands = sortBrands;
|
|
|
}
|
|
|
|
|
|
public List<Integer> getBrandIds() {
|
|
|
return brandIds;
|
|
|
}
|
|
|
|
|
|
public void setBrandIds(List<Integer> brandIds) {
|
|
|
this.brandIds = brandIds;
|
|
|
}
|
|
|
|
|
|
public List<PageSortPriceArea> getSortPriceAreas() {
|
|
|
return sortPriceAreas;
|
|
|
}
|
|
|
|
|
|
public void setSortPriceAreas(List<PageSortPriceArea> sortPriceAreas) {
|
|
|
this.sortPriceAreas = sortPriceAreas;
|
|
|
}
|
|
|
|
|
|
public List<PageSortBrand> getSortBrands() {
|
|
|
return sortBrands;
|
|
|
}
|
|
|
|
|
|
public void setSortBrands(List<PageSortBrand> sortBrands) {
|
|
|
this.sortBrands = sortBrands;
|
|
|
}
|
|
|
} |
...
|
...
|
|