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.
This commit is contained in:
2025-12-15 16:53:25 +01:00
parent c672a10c97
commit 25c6c41b26

View File

@@ -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; }
}