RecallResponse.java
822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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;
}
}