namespace StoreService.Database.Entities; /// /// Store item with pricing and purchase rules. /// public class StoreItem { #region Properties public long Id { get; set; } public long ItemId { get; set; } // FK to external Item service (not modeled here) public long StoreCategoryId { get; set; } // FK to StoreCategory public long? RankId { get; set; } // Minimum rank required to buy (external system) public int ManaBuyPrice { get; set; } public int ManaSellPrice { get; set; } public bool UnlimitedPurchase { get; set; } public int InventoryLimit { get; set; } #endregion #region Navigation public StoreCategory? Category { get; set; } public ICollection DiscountItems { get; set; } = new List(); public ICollection OrderItems { get; set; } = new List(); #endregion }