From 25c6c41b269190c1e66c1a17b680569daad31c41 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 16:53:25 +0100 Subject: [PATCH] Add RecResultViewDto for result view data representation Introduced RecResultViewDto in the ReC.Application.Common.Dto namespace. This DTO encapsulates properties for result entity view data, including related action and profile details, status, content, and audit information. --- .../Common/Dto/RecResultViewDto.cs | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/ReC.Application/Common/Dto/RecResultViewDto.cs diff --git a/src/ReC.Application/Common/Dto/RecResultViewDto.cs b/src/ReC.Application/Common/Dto/RecResultViewDto.cs new file mode 100644 index 0000000..6783bf6 --- /dev/null +++ b/src/ReC.Application/Common/Dto/RecResultViewDto.cs @@ -0,0 +1,32 @@ +namespace ReC.Application.Common.Dto; + +public record RecResultViewDto +{ + public long Id { get; set; } + + public long? ActionId { get; set; } + + public RecActionViewDto? Action { get; set; } + + public long? ProfileId { get; set; } + + public ProfileViewDto? Profile { get; set; } + + public string? ProfileName { get; set; } + + public short? StatusCode { get; set; } + + public string? StatusName { get; set; } + + public string? Header { get; set; } + + public string? Body { get; set; } + + public string? AddedWho { get; set; } + + public DateTime? AddedWhen { get; set; } + + public string? ChangedWho { get; set; } + + public DateTime? ChangedWhen { get; set; } +} \ No newline at end of file