RecallResponse.java 822 Bytes
package com.yoho.search.models.recall;

import java.io.Serializable;
import java.util.List;


/**
 * 召回结果-缓存,字段尽量少,字段尽量短
 */
public class RecallResponse implements Serializable {

    private static final long serialVersionUID = 1696046903324602621L;

    private long total;
    private List<Integer> skns;

    public RecallResponse() {

    }

    public RecallResponse(long total, List<Integer> skns) {
        this.total = total;
        this.skns = skns;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<Integer> getSkns() {
        return skns;
    }

    public void setSkns(List<Integer> skns) {
        this.skns = skns;
    }
}