// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License. using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Server.DB.Documents; public class InventoryItem { public virtual Character Character { get; set; } [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } public ushort ItemId { get; set; } public ushort Count { get; set; } public byte Slot { get; set; } public InventoryTab InventoryTab { get; set; } 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; } }