refactor(nestjs): import module

This commit is contained in:
Ahmed Bouhuolia
2025-04-12 08:38:29 +02:00
parent 1bcee9293c
commit 5bfff51093
18 changed files with 271 additions and 139 deletions

View File

@@ -4,8 +4,10 @@ import { Model } from 'objection';
import { ExportableModel } from '@/modules/Export/decorators/ExportableModel.decorator';
import { InjectModelMeta } from '@/modules/Tenancy/TenancyModels/decorators/InjectModelMeta.decorator';
import { ItemMeta } from './Item.meta';
import { ImportableModel } from '@/modules/Import/decorators/Import.decorator';
@ExportableModel()
@ImportableModel()
@InjectModelMeta(ItemMeta)
export class Item extends TenantBaseModel {
public readonly quantityOnHand: number;