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