namespace CMSMicroservice.Application.WarehouseCQ.Commands.CreateWarehouse;

/// <summary>
/// Command برای ایجاد انبار جدید
/// </summary>
public record CreateWarehouseCommand : IRequest<CreateWarehouseResponseDto>
{
    /// <summary>نام انبار</summary>
    public string Name { get; init; } = string.Empty;
    /// <summary>کد انبار</summary>
    public string Code { get; init; } = string.Empty;
    /// <summary>آدرس انبار</summary>
    public string? Address { get; init; }
    /// <summary>فعال؟</summary>
    public bool IsActive { get; init; } = true;
    /// <summary>پیش‌فرض؟</summary>
    public bool IsDefault { get; init; } = false;
}
