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:
parent
d27c3f3fc7
commit
d7c2796d79
20
src/ReC.Application/Common/Dto/OutResDto.cs
Normal file
20
src/ReC.Application/Common/Dto/OutResDto.cs
Normal 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; }
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
namespace ReC.Application.OutResults.Queries;
|
||||
|
||||
public class ReadOutResQuery
|
||||
{
|
||||
public long ProfileId { get; set; }
|
||||
|
||||
public long ActionId { get; set; }
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user