feat: db models

This commit is contained in:
2025-09-25 22:29:37 +03:00
parent ee94ffa373
commit 8bc18c25b5
14 changed files with 271 additions and 3 deletions

13
Models/Database/Player.cs Normal file
View File

@@ -0,0 +1,13 @@
namespace GamificationService.Models.Database;
public class Player
{
public long Id { get; set; }
public long UserId { get; set; }
public Rank? Rank { get; set; }
public long RankId {get; set; }
public int Experience { get; set; }
public ICollection<PlayerMission> PlayerMissions { get; set; } = new List<PlayerMission>();
public ICollection<PlayerSkill> PlayerSkills { get; set; } = new List<PlayerSkill>();
}