Introduced ReadResultViewQuery for querying result views with optional filters (Id, ActionId, ProfileId). Cleaned up ResultViewDto.cs by removing an unused using directive and reformatting the namespace declaration. Added necessary usings to support the new query.
34 lines
744 B
C#
34 lines
744 B
C#
namespace ReC.Application.Common.Dto;
|
|
|
|
public record ResultViewDto
|
|
{
|
|
public long Id { get; init; }
|
|
|
|
public OutResDto? Root { 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 short? StatusCode { get; init; }
|
|
|
|
public string? StatusName { get; init; }
|
|
|
|
public string? Header { get; init; }
|
|
|
|
public string? Body { get; init; }
|
|
|
|
public string? AddedWho { get; init; }
|
|
|
|
public DateTime? AddedWhen { get; init; }
|
|
|
|
public string? ChangedWho { get; init; }
|
|
|
|
public DateTime? ChangedWhen { get; init; }
|
|
} |