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

This commit is contained in:
masoodafar-web
2026-01-02 00:45:37 +03:30
parent f0117eb1d5
commit 1cf501711f
50 changed files with 10699 additions and 101 deletions
@@ -0,0 +1,45 @@
using CMSMicroservice.Domain.Common;
namespace CMSMicroservice.Domain.Entities;
/// <summary>
/// انبار (برای آینده - چند انبار)
/// </summary>
public class Warehouse : BaseAuditableEntity
{
// ========== اطلاعات اصلی ==========
/// <summary>
/// نام انبار
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// کد انبار
/// </summary>
public string Code { get; set; } = null!;
/// <summary>
/// آدرس انبار
/// </summary>
public string? Address { get; set; }
// ========== تنظیمات ==========
/// <summary>
/// انبار پیش‌فرض سیستم
/// </summary>
public bool IsDefault { get; set; }
/// <summary>
/// وضعیت فعال/غیرفعال
/// </summary>
public bool IsActive { get; set; } = true;
// ========== Navigation Properties ==========
/// <summary>
/// آیتم‌های موجودی در این انبار
/// </summary>
public ICollection<InventoryItem> InventoryItems { get; set; } = new List<InventoryItem>();
}