refactor: models use guids as PKs now
This commit is contained in:
@@ -2,10 +2,10 @@ namespace GamificationService.Models.Database;
|
||||
|
||||
public class PlayerSkill
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long PlayerId { get; set; }
|
||||
public Guid Id { get; set; }
|
||||
public Guid PlayerId { get; set; }
|
||||
public Player Player { get; set; } = null!;
|
||||
public long SkillId { get; set; }
|
||||
public Guid SkillId { get; set; }
|
||||
public Skill Skill { get; set; } = null!;
|
||||
public int Score { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user