From 6d8676035449127be09908fa556b0423717030ad Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 16 Apr 2026 09:55:57 +0200 Subject: [PATCH] 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. --- src/ReC.Domain/Views/ResultView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReC.Domain/Views/ResultView.cs b/src/ReC.Domain/Views/ResultView.cs index 1af9064..2c1b6fe 100644 --- a/src/ReC.Domain/Views/ResultView.cs +++ b/src/ReC.Domain/Views/ResultView.cs @@ -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; }