Make BatchId in ResultView a required string

Changed the BatchId property in the ResultView class from a nullable string to a required non-nullable string. This ensures that BatchId must always be provided when creating a ResultView instance, improving data integrity.
This commit is contained in:
2026-04-16 09:55:57 +02:00
parent 6b1daf77cb
commit 6d86760354

View File

@@ -55,7 +55,7 @@ public class ResultView
public string? Error { get; set; }
[Column("BATCH_ID")]
public string? BatchId { get; set; }
public required string BatchId { get; set; }
[Column("REFERENCE1")]
public string? Reference1 { get; set; }