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,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>();
|
||||
}
|
||||
Reference in New Issue
Block a user