namespace QRRapidoApp.Models.DTOs
{
    public class QRResponseDto
    {
        public bool Success { get; set; }
        public string? QRCodeBase64 { get; set; }
        public string? QRId { get; set; }
        public string? Message { get; set; }
        public string? ErrorCode { get; set; }
        public int RemainingCredits { get; set; }
        public int RemainingFreeQRs { get; set; }
        public bool FromCache { get; set; }
        public string? NewDeviceId { get; set; }
        public long GenerationTimeMs { get; set; }

        /// <summary>Output image format: "png", "webp" or "svg".</summary>
        public string Format { get; set; } = "png";

        /// <summary>MIME type of the encoded image (e.g. "image/png", "image/webp").</summary>
        public string MimeType { get; set; } = "image/png";
    }
}