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; }
|
2023-11-15 19:00:08 +00:00
|
|
|
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; }
|
|
|
|
}
|