continuity/Server/DB/Documents/InventoryItem.cs

27 lines
791 B
C#
Raw Normal View History

2023-11-20 19:54:11 +01:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2023-11-08 15:33:04 +01:00
namespace Server.DB.Documents;
public class InventoryItem
{
2023-11-16 12:06:36 +01:00
public virtual Character Character { get; set; }
2023-11-20 19:54:11 +01:00
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
2023-11-08 15:33:04 +01:00
public Guid Id { get; set; }
2023-11-20 19:54:11 +01:00
2023-11-13 21:12:12 +01:00
public ushort ItemId { get; set; }
2023-11-08 15:33:04 +01:00
public ushort Count { get; set; }
public byte Slot { get; set; }
public InventoryTab InventoryTab { get; set; }
2023-11-08 15:33:04 +01:00
public byte Level { get; set; }
public byte Rarity { get; set; }
public byte AddOption { get; set; }
public byte AddOption2 { get; set; }
public byte AddOption3 { get; set; }
public short Option { get; set; }
public short Option2 { get; set; }
public short Option3 { get; set; }
}