fix relation between factionweapon and faction

This commit is contained in:
hydrant
2019-07-31 20:11:15 +02:00
parent de85609f44
commit d5111ce9b6

View File

@@ -14,7 +14,7 @@ namespace ReallifeGamemode.Server.Entities
public int Id { get; set; } public int Id { get; set; }
[ForeignKey("Faction")] [ForeignKey("Faction")]
public int FactionId { get; set; } public int? FactionId { get; set; }
public Faction Faction { get; set; } public Faction Faction { get; set; }
public string WeaponModel { get; set; } public string WeaponModel { get; set; }