refactor: Beziehung zwischen „Object“ und „History“ hinzufügen.

This commit is contained in:
2025-08-01 15:08:30 +02:00
parent ec975a2bc3
commit 9d07b1e71c
5 changed files with 9 additions and 4 deletions

View File

@@ -28,6 +28,5 @@ public class PObject
[ForeignKey("ObjStateId")]
public virtual PObjectState? State { get; set; }
[ForeignKey("ObjStateId")]
public virtual IEnumerable<PObjectStateHist>? StateHistory { get; set; } = Array.Empty<PObjectStateHist>();
public virtual IEnumerable<PObjectStateHist>? StateHistories { get; set; }
}

View File

@@ -62,6 +62,4 @@ public class PObjectStateHist
[ForeignKey("StateId")]
public virtual State? State1 { get; set; }
public virtual IEnumerable<PControlsTF>? TFControls { get; set; }
}