diff --git a/MotorPlant/MotorPlantDatabaseImplement/Migrations/20240322111242_InitMigration.cs b/MotorPlant/MotorPlantDatabaseImplement/Migrations/20240322111242_InitMigration.cs index 943e89f..dd0a6da 100644 --- a/MotorPlant/MotorPlantDatabaseImplement/Migrations/20240322111242_InitMigration.cs +++ b/MotorPlant/MotorPlantDatabaseImplement/Migrations/20240322111242_InitMigration.cs @@ -1,4 +1,4 @@ -using System; + using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable diff --git a/MotorPlant/MotorPlantDatabaseImplement/Models/Component.cs b/MotorPlant/MotorPlantDatabaseImplement/Models/Component.cs index d2b422a..223ccc7 100644 --- a/MotorPlant/MotorPlantDatabaseImplement/Models/Component.cs +++ b/MotorPlant/MotorPlantDatabaseImplement/Models/Component.cs @@ -14,7 +14,7 @@ namespace MotorPlantDatabaseImplement.Models [Required] public double Cost { get; set; } [ForeignKey("ComponentId")] - public virtual List DressComponents { get; set; } = new(); + public virtual List EngineComponents { get; set; } = new(); public static Component? Create(ComponentBindingModel model) { if (model == null)