From 93669a6358304a8b0360a26740d1440bd332ffea Mon Sep 17 00:00:00 2001 From: TekH Date: Wed, 25 Mar 2026 10:59:33 +0100 Subject: [PATCH] Add Type and TypeName to ResultView model Imported ResultType and added Type (ResultType?) and TypeName (string?) properties to ResultView to support representing result types alongside status information. --- src/ReC.Domain/Views/ResultView.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ReC.Domain/Views/ResultView.cs b/src/ReC.Domain/Views/ResultView.cs index cc578e5..4a27c11 100644 --- a/src/ReC.Domain/Views/ResultView.cs +++ b/src/ReC.Domain/Views/ResultView.cs @@ -1,4 +1,5 @@ -using System.ComponentModel.DataAnnotations.Schema; +using ReC.Domain.Constants; +using System.ComponentModel.DataAnnotations.Schema; namespace ReC.Domain.Views; @@ -21,6 +22,10 @@ public class ResultView public string? StatusName { get; set; } + public ResultType? Type { get; set; } + + public string? TypeName { get; set; } + public string? Header { get; set; } public string? Body { get; set; }