using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using RadicadeServer.RecNet.Enums.Players.Avatar; using RadicadeServer.RecNet.Enums.Store; namespace RadicadeServer.RecNet.Store { public class GiftDropDB { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long GiftDropId { get; set; } public string Name { get; set; } = ""; public DateTime StartTime { get; set; } public DateTime EndTime { get; set; } public long StorefrontId { get; set; } public string Description { get; set; } = ""; public int CurrencyAmount { get; set; } public int XPAmount { get; set; } public string AvatarItems { get; set; } = ""; public string EquipmentItems { get; set; } = ""; public string ConsumableItems { get; set; } = ""; public int PurchasableItemId { get; set; } public bool IsFeatured { get; set; } public int Price { get; set; } public CurrencyType CurrencyType { get; set; } = CurrencyType.RecCenterTokens; public Rarity Rarity { get; set; } = Rarity.Common; public GiftContext Context { get; set; } = GiftContext.Game_Drop; public AvatarItemType AvatarItemType { get; set; } = AvatarItemType.Outfit; public string EquipmentModificationGuid { get; set; } = ""; public string Tooltip { get; set; } = ""; public bool IsQuery { get; set; } public bool Unique { get; set; } public bool SubscribersOnly { get; set; } public long ItemSetId { get; set; } public string ItemSetFriendlyName { get; set; } = ""; } public class ItemSetDB { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long ItemSetId { get; set; } public string FriendlyName { get; set; } = string.Empty; } }