Add OutResDto and ReadOutResQuery for output handling

Added a new `OutResDto` record in the `ReC.Application.Common.Dto` namespace to represent output result data with properties like `Id`, `ActionId`, `Header`, `Body`, and audit fields.

Added a new `ReadOutResQuery` class in the `ReC.Application.OutResults.Queries` namespace to facilitate querying output results based on `ProfileId` and `ActionId`.
This commit is contained in:
tekh 2025-12-03 14:42:36 +01:00
parent d27c3f3fc7
commit d7c2796d79
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,20 @@
namespace ReC.Application.Common.Dto;
public record OutResDto
{
public long Id { get; set; }
public long ActionId { get; set; }
public string? Header { get; set; }
public string? Body { get; set; }
public string AddedWho { get; set; } = null!;
public DateTime AddedWhen { get; set; }
public string? ChangedWho { get; set; }
public DateTime? ChangedWhen { get; set; }
}

View File

@ -0,0 +1,8 @@
namespace ReC.Application.OutResults.Queries;
public class ReadOutResQuery
{
public long ProfileId { get; set; }
public long ActionId { get; set; }
}