mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 07:29:00 -07:00
81 lines
1.7 KiB
C#
81 lines
1.7 KiB
C#
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;
|
|
}
|
|
}
|