mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: rewrite repositories with base entity repository class.
feat: sales and purchases status. feat: sales and purchases auto-increment number. fix: settings find query with extra columns.
This commit is contained in:
12
server/src/repositories/SettingRepository.ts
Normal file
12
server/src/repositories/SettingRepository.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import TenantRepository from 'repositories/TenantRepository';
|
||||
import Setting from 'models/Setting';
|
||||
|
||||
export default class SettingRepository extends TenantRepository {
|
||||
/**
|
||||
* Constructor method.
|
||||
*/
|
||||
constructor(knex, cache) {
|
||||
super(knex, cache);
|
||||
this.model = Setting;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user