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>
/// Der minimale Statuswert, der berücksichtigt werden.
/// </summary>
public int? MinStatus { get; init; }
public Constants.EnvelopeStatus? MinStatus { get; init; }
/// <summary>
/// Der maximale Statuswert, der berücksichtigt werden.
/// </summary>
public int? MaxStatus { get; init; }
public Constants.EnvelopeStatus? MaxStatus { get; init; }
/// <summary>
/// Eine Liste von Statuswerten, die einbezogen werden.
/// </summary>
public int[]? Status { get; init; }
public Constants.EnvelopeStatus[]? Status { get; init; }
/// <summary>
/// Eine Liste von Statuswerten, die ignoriert werden werden.
/// </summary>
public int[]? IgnoredStatus { get; init; }
public Constants.EnvelopeStatus[]? IgnoredStatus { get; init; }
}

View File

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