UserRecallResponse.java 1.36 KB
package com.yoho.search.models.recall;

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

public class UserRecallResponse implements Serializable{

    private static final long serialVersionUID = -5692239509936546967L;

    private long total;
    private int recallTotal;
    private int recallTotalPage;//最小为1
    private List<RecallSknInfo> sknList;

    public UserRecallResponse() {

    }

    public UserRecallResponse(long total, int recallTotal, int recallTotalPage, List<RecallSknInfo> sknList) {
        this.total = total;
        this.recallTotal = recallTotal;
        this.recallTotalPage = recallTotalPage;
        this.sknList = sknList;
    }

    public long getTotal() {
        return total;
    }

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

    public int getRecallTotal() {
        return recallTotal;
    }

    public void setRecallTotal(int recallTotal) {
        this.recallTotal = recallTotal;
    }

    public int getRecallTotalPage() {
        return recallTotalPage;
    }

    public void setRecallTotalPage(int recallTotalPage) {
        this.recallTotalPage = recallTotalPage;
    }

    public List<RecallSknInfo> getSknList() {
        return sknList;
    }

    public void setSknList(List<RecallSknInfo> sknList) {
        this.sknList = sknList;
    }

}