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:
32
src/ReC.Application/Common/Dto/RecResultViewDto.cs
Normal file
32
src/ReC.Application/Common/Dto/RecResultViewDto.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user