using MediatR;

namespace CMSMicroservice.Application.PackageCQ.Commands.PurchaseGoldenPackage;

/// <summary>
/// خرید پکیج طلایی (شروع فرآیند پرداخت)
/// </summary>
public record PurchaseGoldenPackageCommand : IRequest<PurchaseGoldenPackageResponseDto>
{
    public long UserId { get; init; }
    public long PackageId { get; init; }
    public string ReturnUrl { get; init; } = string.Empty;
}

public class PurchaseGoldenPackageResponseDto
{
    public bool Success { get; set; }
    public string Message { get; set; } = string.Empty;
    public long OrderId { get; set; }
    public string PaymentGatewayUrl { get; set; } = string.Empty;
    public string TrackingCode { get; set; } = string.Empty;
}
