Files
ReC/src/ReC.Application/Common/Dto/ResultViewDto.cs
TekH 6c9eab6df6 Refactor ResultViewDto status and add info/error fields
Replaced StatusCode with a RecStatus Status property in ResultViewDto. Added Info and Error string properties to provide additional result details. Imported ReC.Domain.Constants for RecStatus usage.
2026-03-30 13:21:48 +02:00

38 lines
807 B
C#

using ReC.Domain.Constants;
namespace ReC.Application.Common.Dto;
public record ResultViewDto
{
public long Id { get; init; }
public long? ActionId { get; init; }
public RecActionViewDto? Action { get; init; }
public long? ProfileId { get; init; }
public ProfileViewDto? Profile { get; init; }
public string? ProfileName { get; init; }
public RecStatus Status { get; set; }
public string? StatusName { get; init; }
public string? Header { get; init; }
public string? Body { get; init; }
public string? Info { get; set; }
public string? Error { get; set; }
public string? AddedWho { get; init; }
public DateTime? AddedWhen { get; init; }
public string? ChangedWho { get; init; }
public DateTime? ChangedWhen { get; init; }
}