mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
add server to monorepo.
This commit is contained in:
12
packages/server/src/repositories/ItemRepository.ts
Normal file
12
packages/server/src/repositories/ItemRepository.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
import { Item } from "models";
|
||||
import TenantRepository from "./TenantRepository";
|
||||
|
||||
export default class ItemRepository extends TenantRepository {
|
||||
/**
|
||||
* Gets the repository's model.
|
||||
*/
|
||||
get model() {
|
||||
return Item.bindKnex(this.knex);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user