Implement Inventory Management Service with CRUD operations for warehouses and inventory items, stock operations, and bulk processing capabilities.
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m48s
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 1m48s
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
namespace CMSMicroservice.Domain.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// نوع محصول در سیستم
|
||||
/// </summary>
|
||||
public enum ProductType
|
||||
{
|
||||
/// <summary>
|
||||
/// محصول فروشگاه معمولی
|
||||
/// </summary>
|
||||
RegularProduct = 1,
|
||||
|
||||
/// <summary>
|
||||
/// محصول فروشگاه تخفیفی
|
||||
/// </summary>
|
||||
DiscountProduct = 2
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
namespace CMSMicroservice.Domain.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// نوع حرکت انبار
|
||||
/// </summary>
|
||||
public enum StockMovementType
|
||||
{
|
||||
// ========== ورودی ==========
|
||||
|
||||
/// <summary>
|
||||
/// موجودی اولیه محصول
|
||||
/// </summary>
|
||||
InitialStock = 1,
|
||||
|
||||
/// <summary>
|
||||
/// ورود کالا به انبار (خرید از تامینکننده)
|
||||
/// </summary>
|
||||
Restock = 2,
|
||||
|
||||
/// <summary>
|
||||
/// برگشت کالا از مشتری
|
||||
/// </summary>
|
||||
Return = 3,
|
||||
|
||||
/// <summary>
|
||||
/// انتقال کالا از انبار دیگر
|
||||
/// </summary>
|
||||
TransferIn = 4,
|
||||
|
||||
// ========== خروجی ==========
|
||||
|
||||
/// <summary>
|
||||
/// فروش کالا به مشتری
|
||||
/// </summary>
|
||||
Sale = 10,
|
||||
|
||||
/// <summary>
|
||||
/// ضایعات (کالای خراب شده)
|
||||
/// </summary>
|
||||
Damaged = 11,
|
||||
|
||||
/// <summary>
|
||||
/// مفقودی انبار
|
||||
/// </summary>
|
||||
Lost = 12,
|
||||
|
||||
/// <summary>
|
||||
/// انتقال کالا به انبار دیگر
|
||||
/// </summary>
|
||||
TransferOut = 13,
|
||||
|
||||
// ========== تعدیل ==========
|
||||
|
||||
/// <summary>
|
||||
/// تعدیل افزایشی موجودی (انبارگردانی مثبت)
|
||||
/// </summary>
|
||||
AdjustmentPlus = 20,
|
||||
|
||||
/// <summary>
|
||||
/// تعدیل کاهشی موجودی (انبارگردانی منفی)
|
||||
/// </summary>
|
||||
AdjustmentMinus = 21,
|
||||
|
||||
// ========== رزرو ==========
|
||||
|
||||
/// <summary>
|
||||
/// رزرو موجودی برای سفارش pending
|
||||
/// </summary>
|
||||
Reserved = 30,
|
||||
|
||||
/// <summary>
|
||||
/// آزادسازی رزرو (لغو سفارش)
|
||||
/// </summary>
|
||||
Released = 31
|
||||
}
|
||||
Reference in New Issue
Block a user