fix relation between factionweapon and faction
This commit is contained in:
@@ -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; }
|
||||||
|
|||||||
Reference in New Issue
Block a user