refactor: models use guids as PKs now

This commit is contained in:
2025-09-29 14:40:46 +03:00
parent 8bc18c25b5
commit 56c874e220
12 changed files with 27 additions and 27 deletions

View File

@@ -4,10 +4,10 @@ namespace GamificationService.Models.Database;
public class MissionRankRule
{
public long Id { get; set; }
public long MissionId { get; set; }
public Guid Id { get; set; }
public Guid MissionId { get; set; }
public Mission Mission { get; set; } = null!;
public long RankId { get; set; }
public Guid RankId { get; set; }
public Rank Rank { get; set; } = null!;
public MissionRankRuleType Type { get; set; }
}