using MediatR;
using TakeoutSaaS.Application.App.Subscriptions.Contracts;

namespace TakeoutSaaS.Application.App.Subscriptions.Commands;

/// <summary>
/// 延期订阅命令。
/// </summary>
public sealed record ExtendSubscriptionCommand : IRequest<SubscriptionListDto?>
{
    /// <summary>
    /// 订阅 ID。
    /// </summary>
    public long SubscriptionId { get; init; }

    /// <summary>
    /// 延期月数。
    /// </summary>
    public int DurationMonths { get; init; }

    /// <summary>
    /// 备注信息。
    /// </summary>
    public string? Notes { get; init; }
}
