diff --git a/WorkFlow.Domain/Entities/ProfileObjState.cs b/WorkFlow.Domain/Entities/ProfileObjState.cs index 09f2427..b5cfb16 100644 --- a/WorkFlow.Domain/Entities/ProfileObjState.cs +++ b/WorkFlow.Domain/Entities/ProfileObjState.cs @@ -44,6 +44,9 @@ namespace WorkFlow.Domain.Entities public required DateTime AddedWhen { get; init; } [ForeignKey("MwfProfileId")] - public Profile? Profile { get; init; } + public Profile? Profile { get; init; } = null; + + [ForeignKey("StateId")] + public WfState? State { get; init; } = null; } } \ No newline at end of file