L3 правочка #12
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user