feat(api): StatWorkWorkLoadController переделал методы для избранного

This commit is contained in:
Mikhail Trubnikov
2024-08-27 17:07:31 +10:00
parent e2f0591b22
commit 5d50a7f2d3
3 changed files with 52 additions and 22 deletions

View File

@@ -4,8 +4,14 @@ namespace PARR.API.Contracts.V1.Requests
{
public class StatWorkWorkLoadRequest
{
public List<Guid> Jobs { get; set; } = new List<Guid>();
public List<StatWorkWorkLoadJobRequest> JobsRequests { get; set; } = new List<StatWorkWorkLoadJobRequest>();
public required WorkloadBaseQuery Filter { get; set; }
}
public class StatWorkWorkLoadJobRequest
{
public Guid JobId { get; set; }
public Guid WorkGroupId { get; set; }
}
}

View File

@@ -3,5 +3,7 @@
public class StatWorkWorkLoadResponse : StatWorkLoadDataBaseResponse
{
public required ApplicationInWorkBaseResponse Job { get; set; }
public required WorkGroupResponse WorkGroup { get; set; }
}
}