using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace GameServer.Models { [Table("tb_user_characters")] public class UserCharacterModel { [Key] [Column("user_character_no")] public int UserCharacterNo { get; set; } [Required] [Column("user_no")] public int UserNo { get; set; } = 0; [Column("character_code")] public string CharacterCode { get; set; } = string.Empty; [Column("lv")] public int Lv { get; set; } = 0; [Column("str_stat")] public int StrStat { get; set; } = 0; [Column("int_stat")] public int IntStat { get; set; } = 0; [Column("max_hp")] public int MaxHp { get; set; } = 0; [Column("max_mp")] public int MaxMp { get; set; } = 0; [Column("default_control")] public bool DefaultControl { get; set; } = false; } }