using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Wonderking.Game.Data.Character; using Wonderking.Packets.Outgoing.Data; namespace Server.DB.Documents; public class Character { public virtual Account Account { get; set; } [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public Guid Id { get; set; } public ushort MapId { get; set; } public string Name { get; set; } public short LastXCoordinate { get; set; } public short LastYCoordinate { get; set; } public PvPLevel PvPLevel { get; set; } public Gender Gender { get; set; } public long Experience { get; set; } public byte Level { get; set; } public virtual ICollection InventoryItems { get; set; } public BaseStats BaseStats { get; set; } public JobData JobData { get; set; } public int Health { get; set; } public int Mana { get; set; } public virtual Guild Guild { get; set; } }