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:
@@ -55,7 +55,7 @@ public class ResultView
|
|||||||
public string? Error { get; set; }
|
public string? Error { get; set; }
|
||||||
|
|
||||||
[Column("BATCH_ID")]
|
[Column("BATCH_ID")]
|
||||||
public string? BatchId { get; set; }
|
public required string BatchId { get; set; }
|
||||||
|
|
||||||
[Column("REFERENCE1")]
|
[Column("REFERENCE1")]
|
||||||
public string? Reference1 { get; set; }
|
public string? Reference1 { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user