You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
562 B
34 lines
562 B
6 years ago
|
package ${domain};
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* FindResponse - 基类
|
||
|
*
|
||
|
* @author wangbing
|
||
|
* @version 0.0.1
|
||
|
* @since 2017-01-01
|
||
|
*/
|
||
|
public class ApiFindResponse<T> extends ApiResponse<T>{
|
||
|
|
||
|
private List<T> result;
|
||
|
|
||
|
private Long totalCount;
|
||
|
|
||
|
public List<T> getResult() {
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
public void setResult(List<T> result) {
|
||
|
this.result = result;
|
||
|
}
|
||
|
|
||
|
public Long getTotalCount() {
|
||
|
return totalCount;
|
||
|
}
|
||
|
|
||
|
public void setTotalCount(Long totalCount) {
|
||
|
this.totalCount = totalCount;
|
||
|
}
|
||
|
}
|