Added Item.cs
This commit is contained in:
parent
e07b95d302
commit
b45d4f9e44
1 changed files with 29 additions and 0 deletions
29
src/EllieBot/Modules/Games/Items/db/Item.cs
Normal file
29
src/EllieBot/Modules/Games/Items/db/Item.cs
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#nullable disable
|
||||||
|
namespace EllieBot.Modules.Games.Items.db;
|
||||||
|
|
||||||
|
public class Item
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
public string Name { get; set; } = string.Empty;
|
||||||
|
public string Description { get; set; } = string.Empty;
|
||||||
|
public string Emoji { get; set; } = string.Empty;
|
||||||
|
public string MediaUrl { get; set; } = string.Empty;
|
||||||
|
public ItemQuality Quality { get; set; }
|
||||||
|
public bool IsUsable { get; set; }
|
||||||
|
public string ItemType { get; set; }
|
||||||
|
public string ItemSubType { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class ItemTypes
|
||||||
|
{
|
||||||
|
public const string FISHING_POLE = "FISHING_POLE";
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ItemQuality
|
||||||
|
{
|
||||||
|
Common,
|
||||||
|
Uncommon,
|
||||||
|
Rare,
|
||||||
|
Epic,
|
||||||
|
Legendary
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue