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; }
/// Output image format: "png", "webp" or "svg".
public string Format { get; set; } = "png";
/// MIME type of the encoded image (e.g. "image/png", "image/webp").
public string MimeType { get; set; } = "image/png";
}
}