This commit is contained in:
VegaZ
2018-09-24 23:08:17 +02:00
parent c245d695d8
commit b2b9ec05c9
5 changed files with 42 additions and 7 deletions

View File

@@ -36,6 +36,10 @@ namespace reallife_gamemode.Server.Entities
public float PositionY { get; set; }
public float PositionZ { get; set; }
[ForeignKey("Ban")]
public int? BanId { get; set; }
public Ban Ban { get; set; }
public bool IsAdmin(AdminLevel level) => AdminLevel >= level;
}
}