update to use Constants.EnvelopeStatus instead of int

This commit is contained in:
tekh 2025-08-22 15:26:37 +02:00
parent 290e87048c
commit b7e19db0f1
2 changed files with 5 additions and 5 deletions

View File

@ -57,20 +57,20 @@ public record EnvelopeStatusQuery
/// <summary> /// <summary>
/// Der minimale Statuswert, der berücksichtigt werden. /// Der minimale Statuswert, der berücksichtigt werden.
/// </summary> /// </summary>
public int? MinStatus { get; init; } public Constants.EnvelopeStatus? MinStatus { get; init; }
/// <summary> /// <summary>
/// Der maximale Statuswert, der berücksichtigt werden. /// Der maximale Statuswert, der berücksichtigt werden.
/// </summary> /// </summary>
public int? MaxStatus { get; init; } public Constants.EnvelopeStatus? MaxStatus { get; init; }
/// <summary> /// <summary>
/// Eine Liste von Statuswerten, die einbezogen werden. /// Eine Liste von Statuswerten, die einbezogen werden.
/// </summary> /// </summary>
public int[]? Status { get; init; } public Constants.EnvelopeStatus[]? Status { get; init; }
/// <summary> /// <summary>
/// Eine Liste von Statuswerten, die ignoriert werden werden. /// Eine Liste von Statuswerten, die ignoriert werden werden.
/// </summary> /// </summary>
public int[]? IgnoredStatus { get; init; } public Constants.EnvelopeStatus[]? IgnoredStatus { get; init; }
} }

View File

@ -50,7 +50,7 @@ public class Envelope
[Required] [Required]
[Column("STATUS")] [Column("STATUS")]
public int Status { get; set; } public Constants.EnvelopeStatus Status { get; set; }
[Required] [Required]
[Column("ENVELOPE_UUID", TypeName = "nvarchar(36)")] [Column("ENVELOPE_UUID", TypeName = "nvarchar(36)")]