/*
 * File: ShadowedRealms.Core/Interfaces/IKingdomScoped.cs
 * Created: 2025-10-19
 * Last Modified: 2025-10-19
 * Description: Interface for entities that are scoped to a specific kingdom, ensuring proper kingdom-based data isolation and security
 * Last Edit Notes: Initial creation to support Repository<T, K> kingdom scoping requirements
 */

namespace ShadowedRealms.Core.Interfaces
{
    /// <summary>
    /// Interface for entities that belong to a specific kingdom.
    /// This ensures proper kingdom-based data isolation and security across all repository operations.
    /// </summary>
    public interface IKingdomScoped
    {
        /// <summary>
        /// The Kingdom ID that this entity belongs to.
        /// Used for kingdom-scoped queries and security validation.
        /// </summary>
        int KingdomId { get; set; }
    }
}