Genesis Game Server Project Setup

This commit is contained in:
2026-03-13 12:37:59 +09:00
commit af40aa2b45
17 changed files with 595 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
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;
}
}