feat: add stock keeping units management

- Created migration to drop `type` column from `stock_keeping_units` table.
- Added `Guild` model to Prisma schema.
- Implemented `BusinessActivitiesQueryService` for querying business activities.
- Developed `GoodsSharedService` for handling goods creation and updates.
- Introduced DTOs for creating and updating stock keeping units.
- Created controller and service for managing stock keeping units.
- Implemented response DTOs for stock keeping units service.
- Established module for stock keeping units management.
This commit is contained in:
2026-05-07 20:30:24 +03:30
parent 658496320b
commit fbe7230865
77 changed files with 2065 additions and 1846 deletions
+14 -1
View File
@@ -20,7 +20,7 @@ export default {
HOUR: 'ساعت',
},
GoodPricingModel: {
STANDARD: 'استاندارد',
STANDARD: 'عمومی',
GOLD: 'طلا',
},
CustomerType: {
@@ -160,4 +160,17 @@ export default {
KARAT_21: '۲۱ عیار',
KARAT_24: '۲۴ عیار',
},
InvoiceTemplateType: {
SALE: 'فروش',
FX_SALE: 'فروش ارزی',
GOLD_JEWELRY: 'طلا و جواهر',
CONTRACT: 'پیمانکاری',
UTILITY: 'قبوض خدماتی',
AIR_TICKET: 'بلیط هواپیما',
EXPORT: 'صادرات',
BILL_OF_LADING: 'بارنامه',
PETROCHEMICAL: 'پتروشیمی',
COMMODITY_EXCHANGE: 'بورس کالا',
INSURANCE: 'بیمه',
},
}