Make Info non-nullable in InsertResultCommand

Changed the Info property from short? to short in InsertResultCommand,
making it a required field and ensuring it cannot be null. This enforces
that all InsertResultCommand instances must provide a value for Info.
This commit is contained in:
2026-04-15 16:57:45 +02:00
parent 05dfb6f424
commit 9eb54565cb

View File

@@ -11,7 +11,7 @@ public record InsertResultCommand : IInsertProcedure
public required RecStatus Status { get; set; }
public string? Header { get; set; }
public string? Body { get; set; }
public short? Info { get; set; }
public short Info { get; set; }
public string? InfoDetail { get; set; }
public string? Error { get; set; }
public required ResultType Type { get; set; }