// Licensed to Timothy Schenk under the GNU AGPL Version 3 License. using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore; namespace Continuity.AuthServer.DB.Documents; public class InventoryItem { [DeleteBehavior(DeleteBehavior.Restrict)] [Required] 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; } }