using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace StellaOps.Notifier.WebService.Contracts;
///
/// Request payload for acknowledging a pack approval decision.
///
public sealed class PackApprovalAckRequest
{
///
/// Acknowledgement token from the notification.
///
[Required]
[JsonPropertyName("ackToken")]
public string AckToken { get; init; } = string.Empty;
///
/// Approval decision: "approved" or "rejected".
///
[JsonPropertyName("decision")]
public string? Decision { get; init; }
///
/// Optional comment for audit trail.
///
[JsonPropertyName("comment")]
public string? Comment { get; init; }
///
/// Identity acknowledging the approval.
///
[JsonPropertyName("actor")]
public string? Actor { get; init; }
}