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/Rank.cs Normal file
View File

@@ -0,0 +1,13 @@
namespace GamificationService.Models.Database;
public class Rank
{
public long Id { get; set; }
public string Title { get; set; } = string.Empty;
public int ExpNeeded { get; set; }
public ICollection<Player> Players { get; set; } = new List<Player>();
public ICollection<MissionRankRule> MissionRankRules { get; set; } = new List<MissionRankRule>();
public ICollection<RankMissionRule> RankMissionRules { get; set; } = new List<RankMissionRule>();
public ICollection<RankSkillRule> RankSkillRules { get; set; } = new List<RankSkillRule>();
}