Refactor RecAction.ErrorAction to use enum type

Changed ErrorAction property in RecAction from string? to ErrorAction? enum for improved type safety. Added import for ReC.Domain.Constants to support the new type.
This commit is contained in:
2025-12-12 13:02:17 +01:00
parent 282ce3a0b7
commit f9a73fbe0c

View File

@@ -1,4 +1,6 @@
namespace ReC.Domain.Entities;
using ReC.Domain.Constants;
namespace ReC.Domain.Entities;
public class RecAction
{
@@ -36,7 +38,7 @@ public class RecAction
public string? PostprocessingQuery { get; set; }
public string? ErrorAction { get; set; }
public ErrorAction? ErrorAction { get; set; }
public string? AddedWho { get; set; }