2018-02-02 16:24:06 +01:00
|
|
|
import { ColumnOrderings } from './ColumnOrderings';
|
2017-12-18 11:01:22 +01:00
|
|
|
import { BaseCriteria } from "../criteria/BaseCriteria";
|
2017-12-19 10:53:52 +01:00
|
|
|
import { RequestItem } from "../criteria/RequestItem";
|
2017-12-14 14:10:56 +01:00
|
|
|
|
2017-12-19 10:53:52 +01:00
|
|
|
export class DataTableRequest<T> extends RequestItem<T> {
|
2017-12-14 14:10:56 +01:00
|
|
|
offset = 0;
|
|
|
|
length = 0;
|
2018-02-02 16:24:06 +01:00
|
|
|
public orderings: ColumnOrderings;
|
|
|
|
constructor(offset: number, length: number, orderings: ColumnOrderings) {
|
2017-12-19 10:53:52 +01:00
|
|
|
super();
|
2017-12-14 14:10:56 +01:00
|
|
|
this.length = length;
|
|
|
|
this.offset = offset;
|
2018-02-02 16:24:06 +01:00
|
|
|
this.orderings = orderings;
|
2017-12-14 14:10:56 +01:00
|
|
|
}
|
|
|
|
}
|