@zuiwoxing/posisi
Version:
一款基于typescript 前端控制组件,包括(IOC,AOP,Feign,Logger,Util等)
18 lines (17 loc) • 369 B
TypeScript
/**
*@desc 分页对象
*@author liudejian
*@date 2020-01-23 23:20
**/
export declare class Page<T> {
total: number;
results: Array<T>;
setTotal(total: number): this;
setResults(results: Array<T>): this;
/**
* 构建实例
* @param total
* @param results
*/
static build(total: number, results: Array<any>): Page<any>;
}