diff --git a/src/ReC.Application/Common/Dto/ResultViewDto.cs b/src/ReC.Application/Common/Dto/ResultViewDto.cs index 33d720c..49dd9c8 100644 --- a/src/ReC.Application/Common/Dto/ResultViewDto.cs +++ b/src/ReC.Application/Common/Dto/ResultViewDto.cs @@ -1,32 +1,36 @@ -namespace ReC.Application.Common.Dto; +using ReC.Domain.Entities; + +namespace ReC.Application.Common.Dto; public record ResultViewDto { - public long Id { get; set; } + public long Id { get; init; } - public long? ActionId { get; set; } + public OutResDto? Root { get; init; } - public RecActionViewDto? Action { get; set; } + public long? ActionId { get; init; } - public long? ProfileId { get; set; } + public RecActionViewDto? Action { get; init; } - public ProfileViewDto? Profile { get; set; } + public long? ProfileId { get; init; } - public string? ProfileName { get; set; } + public ProfileViewDto? Profile { get; init; } - public short? StatusCode { get; set; } + public string? ProfileName { get; init; } - public string? StatusName { get; set; } + public short? StatusCode { get; init; } - public string? Header { get; set; } + public string? StatusName { get; init; } - public string? Body { get; set; } + public string? Header { get; init; } - public string? AddedWho { get; set; } + public string? Body { get; init; } - public DateTime? AddedWhen { get; set; } + public string? AddedWho { get; init; } - public string? ChangedWho { get; set; } + public DateTime? AddedWhen { get; init; } - public DateTime? ChangedWhen { get; set; } + public string? ChangedWho { get; init; } + + public DateTime? ChangedWhen { get; init; } } \ No newline at end of file