Add BatchId and AddedWho to DTO; make BatchId nullable
Added BatchId and AddedWho properties to ResultViewDto. Changed BatchId in ResultView from required to nullable to align with DTO and support optional batch IDs.
This commit is contained in:
@@ -30,6 +30,8 @@ public record ResultViewDto
|
||||
|
||||
public string? Error { get; set; }
|
||||
|
||||
public string? BatchId { get; set; }
|
||||
|
||||
public string? AddedWho { get; init; }
|
||||
|
||||
public DateTime? AddedWhen { get; init; }
|
||||
|
||||
@@ -55,7 +55,7 @@ public class ResultView
|
||||
public string? Error { get; set; }
|
||||
|
||||
[Column("BATCH_ID")]
|
||||
public required string BatchId { get; set; }
|
||||
public string? BatchId { get; set; }
|
||||
|
||||
[Column("REFERENCE1")]
|
||||
public string? Reference1 { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user