using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Server.Data.Entities;
///
/// Hotbar/belt item slot assignment for quick item access
///
[Table("dungeon_belt_items")]
public class DungeonBeltItem
{
[Key]
public ulong Id { get; set; }
[Required]
public ulong CharacterId { get; set; }
///
/// Hotbar slot (0-7)
///
[Required]
public int SlotIndex { get; set; }
///
/// Reference to inventory slot index (not item ID, since items can stack/move)
///
public int InventorySlotIndex { get; set; }
// Navigation
[ForeignKey("CharacterId")]
public virtual DungeonCharacter? Character { get; set; }
}