diff --git a/ReallifeGamemode.Server/Entities/Ban.cs b/ReallifeGamemode.Server/Entities/Ban.cs
index 04508df9..3ae95e87 100644
--- a/ReallifeGamemode.Server/Entities/Ban.cs
+++ b/ReallifeGamemode.Server/Entities/Ban.cs
@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public string Reason { get; set; }
public string BannedBy { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/Character.cs b/ReallifeGamemode.Server/Entities/Character.cs
index b3431697..e3166f5b 100644
--- a/ReallifeGamemode.Server/Entities/Character.cs
+++ b/ReallifeGamemode.Server/Entities/Character.cs
@@ -17,7 +17,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public bool Gender { get; set; }
public byte Father { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/CharacterCloth.cs b/ReallifeGamemode.Server/Entities/CharacterCloth.cs
index 0d91b67a..58cb9926 100644
--- a/ReallifeGamemode.Server/Entities/CharacterCloth.cs
+++ b/ReallifeGamemode.Server/Entities/CharacterCloth.cs
@@ -17,7 +17,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public bool Duty { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/Door.cs b/ReallifeGamemode.Server/Entities/Door.cs
index de4718c1..ff50a249 100644
--- a/ReallifeGamemode.Server/Entities/Door.cs
+++ b/ReallifeGamemode.Server/Entities/Door.cs
@@ -31,6 +31,6 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("FactionId")]
public int? FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
}
}
diff --git a/ReallifeGamemode.Server/Entities/DutyCloth.cs b/ReallifeGamemode.Server/Entities/DutyCloth.cs
index e1135e98..647b3729 100644
--- a/ReallifeGamemode.Server/Entities/DutyCloth.cs
+++ b/ReallifeGamemode.Server/Entities/DutyCloth.cs
@@ -20,7 +20,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("Faction")]
public int FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
public bool Gender { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/FactionBankAccount.cs b/ReallifeGamemode.Server/Entities/FactionBankAccount.cs
index f827c760..1502f972 100644
--- a/ReallifeGamemode.Server/Entities/FactionBankAccount.cs
+++ b/ReallifeGamemode.Server/Entities/FactionBankAccount.cs
@@ -20,7 +20,7 @@ namespace ReallifeGamemode.Server.Entities
public int Id { get; set; }
[ForeignKey("Faction")]
public int FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
[StringLength(12)]
public string Bic { get; set; }
[StringLength(32)]
diff --git a/ReallifeGamemode.Server/Entities/FactionRank.cs b/ReallifeGamemode.Server/Entities/FactionRank.cs
index 0bb0ad9f..9130f483 100644
--- a/ReallifeGamemode.Server/Entities/FactionRank.cs
+++ b/ReallifeGamemode.Server/Entities/FactionRank.cs
@@ -13,7 +13,7 @@ namespace ReallifeGamemode.Server.Entities
public int FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
public Faction GetFaction()
{
diff --git a/ReallifeGamemode.Server/Entities/FactionVehicles.cs b/ReallifeGamemode.Server/Entities/FactionVehicles.cs
index 694be201..d1324f1d 100644
--- a/ReallifeGamemode.Server/Entities/FactionVehicles.cs
+++ b/ReallifeGamemode.Server/Entities/FactionVehicles.cs
@@ -15,7 +15,7 @@ namespace ReallifeGamemode.Server.Entities
{
[ForeignKey("Faction")]
public int? FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
public Faction GetFaction()
{
diff --git a/ReallifeGamemode.Server/Entities/GroupBankAccount.cs b/ReallifeGamemode.Server/Entities/GroupBankAccount.cs
index ae4a5a15..62d1e1ae 100644
--- a/ReallifeGamemode.Server/Entities/GroupBankAccount.cs
+++ b/ReallifeGamemode.Server/Entities/GroupBankAccount.cs
@@ -13,7 +13,7 @@ namespace ReallifeGamemode.Server.Entities
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
- public virtual Group Group { get; set; }
+ public Group Group { get; set; }
public int Balance { get; set; }
}
diff --git a/ReallifeGamemode.Server/Entities/GroupVehicle.cs b/ReallifeGamemode.Server/Entities/GroupVehicle.cs
index 59508c2a..e89b849b 100644
--- a/ReallifeGamemode.Server/Entities/GroupVehicle.cs
+++ b/ReallifeGamemode.Server/Entities/GroupVehicle.cs
@@ -10,7 +10,7 @@ namespace ReallifeGamemode.Server.Entities
{
public class GroupVehicle : ServerVehicle
{
- public virtual Group Group { get; set; }
+ public Group Group { get; set; }
[ForeignKey("Group")]
public int? GroupId { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/Logs/Death.cs b/ReallifeGamemode.Server/Entities/Logs/Death.cs
index e9b6ed4b..9e6a6afa 100644
--- a/ReallifeGamemode.Server/Entities/Logs/Death.cs
+++ b/ReallifeGamemode.Server/Entities/Logs/Death.cs
@@ -21,11 +21,11 @@ namespace ReallifeGamemode.Server.Entities.Logs
[ForeignKey("Victim")]
public int VictimId { get; set; }
- public virtual User Victim { get; set; }
+ public User Victim { get; set; }
[ForeignKey("Killer")]
public int? KillerId { get; set; }
- public virtual User Killer { get; set; }
+ public User Killer { get; set; }
public float VictimPositionX { get; set; }
public float VictimPositionY { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/News.cs b/ReallifeGamemode.Server/Entities/News.cs
index 88a8f3a2..0dae2e5e 100644
--- a/ReallifeGamemode.Server/Entities/News.cs
+++ b/ReallifeGamemode.Server/Entities/News.cs
@@ -14,7 +14,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("User")]
public int? UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public string Caption { get; set; }
public string Content { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/ShopVehicles.cs b/ReallifeGamemode.Server/Entities/ShopVehicles.cs
index 6b636449..c8a1e039 100644
--- a/ReallifeGamemode.Server/Entities/ShopVehicles.cs
+++ b/ReallifeGamemode.Server/Entities/ShopVehicles.cs
@@ -19,6 +19,7 @@ namespace ReallifeGamemode.Server.Entities
public class ShopVehicle : ServerVehicle
{
[ForeignKey("Shop")]
+ public int? ShopId { get; set; }
public int BusinessId { get; set; }
public int Price { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/User.cs b/ReallifeGamemode.Server/Entities/User.cs
index 98ecebf2..ccfe3256 100644
--- a/ReallifeGamemode.Server/Entities/User.cs
+++ b/ReallifeGamemode.Server/Entities/User.cs
@@ -44,26 +44,24 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("Character")]
public int? CharacterId { get; set; }
- public virtual Character Character { get; set; }
+ public Character Character { get; set; }
[ForeignKey("Ban")]
public int? BanId { get; set; }
- public virtual Ban Ban { get; set; }
+ public Ban Ban { get; set; }
public int? FactionId { get; set; }
- public virtual Faction Faction { get; set; }
+ public Faction Faction { get; set; }
public bool FactionLeader { get; set; }
public int? FactionRankId { get; set; }
- public virtual FactionRank FactionRank { get; set; }
+ public FactionRank FactionRank { get; set; }
- public virtual Group Group { get; set; }
+ public Group Group { get; set; }
public GroupRank GroupRank { get; set; }
- public virtual Job Job { get; set; }
-
public FactionRank GetFactionRank()
{
using (var dbContext = new DatabaseContext())
diff --git a/ReallifeGamemode.Server/Entities/UserBankAccount.cs b/ReallifeGamemode.Server/Entities/UserBankAccount.cs
index e096d666..72073afa 100644
--- a/ReallifeGamemode.Server/Entities/UserBankAccount.cs
+++ b/ReallifeGamemode.Server/Entities/UserBankAccount.cs
@@ -23,7 +23,7 @@ namespace ReallifeGamemode.Server.Entities
public int Id { get; set; }
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
[StringLength(12)]
public string Bic { get; set; }
[StringLength(32)]
diff --git a/ReallifeGamemode.Server/Entities/UserItem.cs b/ReallifeGamemode.Server/Entities/UserItem.cs
index 3f975a6b..d463511d 100644
--- a/ReallifeGamemode.Server/Entities/UserItem.cs
+++ b/ReallifeGamemode.Server/Entities/UserItem.cs
@@ -21,7 +21,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public int Amount { get; set; }
public int Slot { get; set; }
diff --git a/ReallifeGamemode.Server/Entities/UserVehicle.cs b/ReallifeGamemode.Server/Entities/UserVehicle.cs
index 011c2a30..a262af13 100644
--- a/ReallifeGamemode.Server/Entities/UserVehicle.cs
+++ b/ReallifeGamemode.Server/Entities/UserVehicle.cs
@@ -15,7 +15,7 @@ namespace ReallifeGamemode.Server.Entities
{
[ForeignKey("User")]
public int UserId { get; set; }
- public virtual User User { get; set; }
+ public User User { get; set; }
public override string ToString()
{
diff --git a/ReallifeGamemode.Server/Entities/VehicleMod.cs b/ReallifeGamemode.Server/Entities/VehicleMod.cs
index 14d2cd86..84d485da 100644
--- a/ReallifeGamemode.Server/Entities/VehicleMod.cs
+++ b/ReallifeGamemode.Server/Entities/VehicleMod.cs
@@ -14,7 +14,7 @@ namespace ReallifeGamemode.Server.Entities
[ForeignKey("Vehicle")]
public int ServerVehicleId { get; set; }
- public virtual ServerVehicle Vehicle { get; set; }
+ public ServerVehicle Vehicle { get; set; }
public int Slot { get; set; }
public int ModId { get; set; }
diff --git a/ReallifeGamemode.Server/Migrations/20190513104140_Jobs.Designer.cs b/ReallifeGamemode.Server/Migrations/20190513104140_Jobs.Designer.cs
deleted file mode 100644
index a9f53595..00000000
--- a/ReallifeGamemode.Server/Migrations/20190513104140_Jobs.Designer.cs
+++ /dev/null
@@ -1,1145 +0,0 @@
-//
-using System;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using ReallifeGamemode.Server.Models;
-
-namespace ReallifeGamemode.Migrations
-{
- [DbContext(typeof(DatabaseContext))]
- [Migration("20190513104140_Jobs")]
- partial class Jobs
- {
- protected override void BuildTargetModel(ModelBuilder modelBuilder)
- {
-#pragma warning disable 612, 618
- modelBuilder
- .HasAnnotation("ProductVersion", "2.2.0-rtm-35687")
- .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.ATM", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Balance");
-
- b.Property("Faulty");
-
- b.Property("X");
-
- b.Property("Y");
-
- b.Property("Z");
-
- b.HasKey("Id");
-
- b.ToTable("ATMs");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Ban", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Applied");
-
- b.Property("BannedBy");
-
- b.Property("Reason");
-
- b.Property("UntilDateTime");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("Bans");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.BusinessBankAccount", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Balance");
-
- b.Property("BusinessId");
-
- b.HasKey("Id");
-
- b.HasIndex("BusinessId")
- .IsUnique();
-
- b.ToTable("BusinessBankAccounts");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Character", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Ageing");
-
- b.Property("AgeingOpacity");
-
- b.Property("BeardColor");
-
- b.Property("Blemishes");
-
- b.Property("BlemishesOpacity");
-
- b.Property("Blush");
-
- b.Property("BlushColor");
-
- b.Property("BlushOpacity");
-
- b.Property("BrowDepth");
-
- b.Property("BrowHeight");
-
- b.Property("CheekDepth");
-
- b.Property("CheekboneHeight");
-
- b.Property("CheekboneWidth");
-
- b.Property("ChestHair");
-
- b.Property("ChestHairColor");
-
- b.Property("ChestHairOpacity");
-
- b.Property("ChinDepth");
-
- b.Property("ChinHeight");
-
- b.Property("ChinIndent");
-
- b.Property("ChinWidth");
-
- b.Property("Complexion");
-
- b.Property("ComplexionOpacity");
-
- b.Property("EyeColor");
-
- b.Property("EyeSize");
-
- b.Property("EyebrowColor");
-
- b.Property("Eyebrows");
-
- b.Property("EyebrowsOpacity");
-
- b.Property("FacialHair");
-
- b.Property("FacialHairOpacity");
-
- b.Property("Father");
-
- b.Property("Freckles");
-
- b.Property("FrecklesOpacity");
-
- b.Property("Gender");
-
- b.Property("Hair");
-
- b.Property("HairColor");
-
- b.Property("HairHighlightColor");
-
- b.Property("JawShape");
-
- b.Property("JawWidth");
-
- b.Property("LipThickness");
-
- b.Property("Lipstick");
-
- b.Property("LipstickColor");
-
- b.Property("LipstickOpacity");
-
- b.Property("Makeup");
-
- b.Property("MakeupOpacity");
-
- b.Property("Mother");
-
- b.Property("NeckWidth");
-
- b.Property("NoseBottomHeight");
-
- b.Property("NoseBridgeDepth");
-
- b.Property("NoseBroken");
-
- b.Property("NoseTipHeight");
-
- b.Property("NoseTipLength");
-
- b.Property("NoseWidth");
-
- b.Property("Similarity");
-
- b.Property("SkinSimilarity");
-
- b.Property("SunDamage");
-
- b.Property("SunDamageOpacity");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("Characters");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.CharacterCloth", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClothId");
-
- b.Property("Duty");
-
- b.Property("SlotId");
-
- b.Property("SlotType");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("CharacterClothes");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.ClothCombination", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Gender");
-
- b.Property("Top");
-
- b.Property("Torso");
-
- b.Property("Undershirt");
-
- b.HasKey("Id");
-
- b.ToTable("ClothCombinations");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Door", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Category");
-
- b.Property("FactionId");
-
- b.Property("Locked");
-
- b.Property("Model");
-
- b.Property("Name");
-
- b.Property("Radius");
-
- b.Property("X");
-
- b.Property("Y");
-
- b.Property("Z");
-
- b.HasKey("Id");
-
- b.HasIndex("FactionId");
-
- b.ToTable("Doors");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.DutyCloth", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("ClothId");
-
- b.Property("FactionId");
-
- b.Property("Gender");
-
- b.Property("SlotId");
-
- b.Property("SlotType");
-
- b.HasKey("Id");
-
- b.HasIndex("FactionId");
-
- b.ToTable("DutyClothes");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Faction", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name")
- .HasMaxLength(32);
-
- b.Property("StateOwned");
-
- b.HasKey("Id");
-
- b.ToTable("Factions");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.FactionBankAccount", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Balance");
-
- b.Property("Bic")
- .HasMaxLength(12);
-
- b.Property("FactionId");
-
- b.Property("Iban")
- .HasMaxLength(32);
-
- b.HasKey("Id");
-
- b.HasIndex("FactionId");
-
- b.ToTable("FactionBankAccounts");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.FactionRank", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("FactionId");
-
- b.Property("Order");
-
- b.Property("RankName");
-
- b.HasKey("Id");
-
- b.HasIndex("FactionId");
-
- b.ToTable("FactionRanks");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.GotoPoint", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Description")
- .HasMaxLength(32);
-
- b.Property("X");
-
- b.Property("Y");
-
- b.Property("Z");
-
- b.HasKey("Id");
-
- b.ToTable("GotoPoints");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Group", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name");
-
- b.HasKey("Id");
-
- b.ToTable("Groups");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.GroupBankAccount", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Balance");
-
- b.Property("GroupId");
-
- b.HasKey("Id");
-
- b.HasIndex("GroupId");
-
- b.ToTable("GroupBankAccounts");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Interior", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("EnterPositionStr")
- .HasColumnName("EnterPosition");
-
- b.Property("ExitPositionStr")
- .HasColumnName("ExitPosition");
-
- b.Property("Name");
-
- b.HasKey("Id");
-
- b.ToTable("Interiors");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Job", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Name");
-
- b.HasKey("Id");
-
- b.ToTable("Jobs");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Logs.BankAccountTransactionHistory", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Fee");
-
- b.Property("MoneySent");
-
- b.Property("NewReceiverBalance");
-
- b.Property("NewSenderBalance");
-
- b.Property("Origin")
- .HasMaxLength(32);
-
- b.Property("Receiver")
- .HasMaxLength(32);
-
- b.Property("ReceiverBalance");
-
- b.Property("Sender")
- .HasMaxLength(32);
-
- b.Property("SenderBalance");
-
- b.Property("Timestamp")
- .ValueGeneratedOnAdd();
-
- b.HasKey("Id");
-
- b.ToTable("BankAccountTransactionLogs");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Logs.Death", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("CauseOfDeath")
- .HasMaxLength(64);
-
- b.Property("KillerHeading");
-
- b.Property("KillerId");
-
- b.Property("KillerPositionX");
-
- b.Property("KillerPositionY");
-
- b.Property("KillerPositionZ");
-
- b.Property("Timestamp")
- .ValueGeneratedOnAdd();
-
- b.Property("VictimHeading");
-
- b.Property("VictimId");
-
- b.Property("VictimPositionX");
-
- b.Property("VictimPositionY");
-
- b.Property("VictimPositionZ");
-
- b.HasKey("Id");
-
- b.HasIndex("KillerId");
-
- b.HasIndex("VictimId");
-
- b.ToTable("DeathLogs");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.News", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Caption");
-
- b.Property("Content");
-
- b.Property("Timestamp");
-
- b.Property("UserId");
-
- b.HasKey("Id");
-
- b.HasIndex("UserId");
-
- b.ToTable("News");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Saves.SavedBlip", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Alpha");
-
- b.Property("Color");
-
- b.Property("Dimension");
-
- b.Property("DrawDistance");
-
- b.Property("Name");
-
- b.Property("PositionX");
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.Property("Rotation");
-
- b.Property("Scale");
-
- b.Property("ShortRange");
-
- b.Property("Sprite");
-
- b.HasKey("Id");
-
- b.ToTable("Blips");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Saves.SavedMarker", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("ColorA");
-
- b.Property("ColorB");
-
- b.Property("ColorG");
-
- b.Property("ColorR");
-
- b.Property("Dimension");
-
- b.Property("DirectionX");
-
- b.Property("DirectionY");
-
- b.Property("DirectionZ");
-
- b.Property("PositionX");
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.Property("RotationX");
-
- b.Property("RotationY");
-
- b.Property("RotationZ");
-
- b.Property("Scale");
-
- b.Property("Type");
-
- b.Property("Visible");
-
- b.HasKey("Id");
-
- b.ToTable("Markers");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Saves.SavedPed", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Dimension");
-
- b.Property("HashModel");
-
- b.Property("Heading");
-
- b.Property("PositionX");
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.HasKey("Id");
-
- b.ToTable("Peds");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Saves.SavedPickup", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("Dimension");
-
- b.Property("PositionX")
- .HasMaxLength(128);
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.Property("RespawnTime");
-
- b.Property("RotationX");
-
- b.Property("RotationY");
-
- b.Property("RotationZ");
-
- b.Property("Vehicle");
-
- b.HasKey("Id");
-
- b.ToTable("Pickups");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.Saves.SavedTextLabel", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active");
-
- b.Property("ColorA");
-
- b.Property("ColorB");
-
- b.Property("ColorG");
-
- b.Property("ColorR");
-
- b.Property("Dimension");
-
- b.Property("DrawDistance");
-
- b.Property("Font");
-
- b.Property("LOS");
-
- b.Property("PositionX");
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.Property("Text")
- .IsRequired();
-
- b.HasKey("Id");
-
- b.ToTable("TextLabels");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.ServerVehicle", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("Active")
- .ValueGeneratedOnAdd()
- .HasDefaultValue(true);
-
- b.Property("Discriminator")
- .IsRequired();
-
- b.Property("DistanceDriven");
-
- b.Property("Heading");
-
- b.Property("Locked");
-
- b.Property("Model");
-
- b.Property("NumberPlate")
- .HasMaxLength(8);
-
- b.Property("PositionX");
-
- b.Property("PositionY");
-
- b.Property("PositionZ");
-
- b.Property("PrimaryColor");
-
- b.Property("SecondaryColor");
-
- b.Property("TankAmount");
-
- b.HasKey("Id");
-
- b.ToTable("ServerVehicles");
-
- b.HasDiscriminator("Discriminator").HasValue("ServerVehicle");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.TuningGarage", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("X");
-
- b.Property("Y");
-
- b.Property("Z");
-
- b.HasKey("Id");
-
- b.ToTable("TuningGarages");
- });
-
- modelBuilder.Entity("ReallifeGamemode.Server.Entities.User", b =>
- {
- b.Property("Id")
- .ValueGeneratedOnAdd();
-
- b.Property("AdminLevel");
-
- b.Property("BanId");
-
- b.Property("BusinessId");
-
- b.Property("CharacterId");
-
- b.Property("Dead");
-
- b.Property("Email")
- .HasMaxLength(64);
-
- b.Property("FactionId");
-
- b.Property