L3 правочка

This commit is contained in:
Timourka 2024-03-11 08:58:41 +04:00
parent 49ee34839a
commit ca53b86051

View File

@ -16,7 +16,7 @@ namespace AutomobilePlantDatabaseImplement.Models
public double Cost { get; set; }
[ForeignKey("ComponentId")]
public virtual List<CarComponent> ProductComponents { get; set; } = new();
public virtual List<CarComponent> CarComponents { get; set; } = new();
public static Component? Create(ComponentBindingModel model)
{