Make RecResultView properties nullable for flexibility

Changed ActionId, ProfileId, StatusCode, AddedWho, and AddedWhen
to nullable types in RecResultView to better support optional or
missing data scenarios. This improves compatibility with cases
where these fields may not always have values.
This commit is contained in:
2025-12-15 16:43:39 +01:00
parent 68e7ee54f9
commit 1e21218f31

View File

@@ -4,13 +4,13 @@ public class RecResultView
{
public long Id { get; set; }
public long ActionId { get; set; }
public long? ActionId { get; set; }
public long ProfileId { get; set; }
public long? ProfileId { get; set; }
public string? ProfileName { get; set; }
public short StatusCode { get; set; }
public short? StatusCode { get; set; }
public string? StatusName { get; set; }
@@ -18,9 +18,9 @@ public class RecResultView
public string? Body { get; set; }
public string AddedWho { get; set; } = null!;
public string? AddedWho { get; set; }
public DateTime AddedWhen { get; set; }
public DateTime? AddedWhen { get; set; }
public string? ChangedWho { get; set; }