@egova/components
Version:
components
18 lines (16 loc) • 400 B
text/typescript
export class Paging {
public totalCount: number;
public pageIndex: number;
public pageSize: number;
public pageSizeOpts?: Array<any>;
public enableTotalCount?: boolean;
public constructor() {
this.pageIndex = 1;
this.pageSize = 10;
this.totalCount = 0;
}
}
export interface QueryModel<T> {
condition: T;
paging: Paging;
}