refactor: warehouses to nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-21 15:07:01 +02:00
parent cb8fd68d46
commit 8a12caf48d
29 changed files with 348 additions and 100 deletions

View File

@@ -1,7 +1,7 @@
import { Model, mixin } from 'objection';
import TenantModel from 'models/TenantModel';
import BranchMetadata from './Branch.settings';
import ModelSetting from './ModelSetting';
// import { Model, mixin } from 'objection';
// import TenantModel from 'models/TenantModel';
// import BranchMetadata from './Branch.settings';
// import ModelSetting from './ModelSetting';
import { BaseModel } from '@/models/Model';
export class Branch extends BaseModel{
@@ -186,7 +186,7 @@ export class Branch extends BaseModel{
/**
* Model settings.
*/
static get meta() {
return BranchMetadata;
}
// static get meta() {
// return BranchMetadata;
// }
}