Types return only Ids of related Entities

This commit is contained in:
2025-03-08 12:54:07 +01:00
parent 4cb48dd1b4
commit 6909c367e5
8 changed files with 30 additions and 30 deletions

View File

@ -13,10 +13,12 @@ public abstract class Job
[MaxLength(64)]
public string? ParentJobId { get; init; }
[JsonIgnore]
public Job? ParentJob { get; init; }
[MaxLength(64)]
public ICollection<string>? DependsOnJobsIds { get; init; }
[JsonIgnore]
public ICollection<Job>? DependsOnJobs { get; init; }
public JobType JobType { get; init; }