feat(ReadProfile): Unterstützung für das bedingte Laden von Profilobjekten hinzugefügt

- Flag „IncludeObject” in ReadProfile-Anfrage eingeführt
- IProfileObjRepository in ReadProfileHandler eingefügt
- Handler aktualisiert, um Profilobjekte zu laden, wenn IncludeObject wahr ist
This commit is contained in:
2025-07-25 17:42:58 +02:00
parent 8eb8801c41
commit dd4cd1b39e
3 changed files with 16 additions and 9 deletions

View File

@@ -26,5 +26,5 @@ public class Profile
public string? BackColor { get; set; }
[NotMapped]
public IEnumerable<ProfileObject>? Objects;
public IEnumerable<ProfileObject>? Objects { get; set; }
}

View File

@@ -5,10 +5,10 @@ namespace WorkFlow.Domain.Entities;
public class ProfileObject
{
[Column("ObjStateID")]
public int? ObjStateId { get; set; }
public long? ObjStateId { get; set; }
[Column("ObjectID")]
public int? ObjectId { get; set; }
public long? Id { get; set; }
[Column("Headline1")]
public string? Headline1 { get; set; }