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:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user