continuity/Server/DB/Documents/InventoryItem.cs

29 lines
873 B
C#
Raw Normal View History

2023-11-21 20:37:50 +00:00
// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.
2023-11-20 18:58:30 +00:00
2023-11-20 18:54:11 +00:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2023-11-08 14:33:04 +00:00
namespace Server.DB.Documents;
public class InventoryItem
{
2023-11-16 11:06:36 +00:00
public virtual Character Character { get; set; }
2023-11-20 18:54:11 +00:00
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
2023-11-08 14:33:04 +00:00
public Guid Id { get; set; }
2023-11-20 18:54:11 +00:00
2023-11-13 20:12:12 +00:00
public ushort ItemId { get; set; }
2023-11-08 14:33:04 +00:00
public ushort Count { get; set; }
public byte Slot { get; set; }
public InventoryTab InventoryTab { get; set; }
2023-11-08 14:33:04 +00: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; }
}