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:
2026-04-16 09:58:46 +02:00
parent 6d86760354
commit d8c7499436
2 changed files with 3 additions and 1 deletions

View File

@@ -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; }

View File

@@ -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; }