mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: Items data table.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Model } from 'objection';
|
||||
import {transform, snakeCase} from 'lodash';
|
||||
import {mapKeysDeep} from '@/utils';
|
||||
import PaginationQueryBuilder from '@/models/Pagination';
|
||||
|
||||
export default class ModelBase extends Model {
|
||||
static get collection() {
|
||||
@@ -24,4 +25,8 @@ export default class ModelBase extends Model {
|
||||
|
||||
return parsedJson;
|
||||
}
|
||||
|
||||
static get QueryBuilder() {
|
||||
return PaginationQueryBuilder;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user