QrRapido/Models/DTOs/QRResponseDto.cs
Ricardo Carneiro 7a0c12f8d2
Some checks failed
Deploy QR Rapido / test (push) Failing after 17s
Deploy QR Rapido / build-and-push (push) Has been skipped
Deploy QR Rapido / deploy-staging (push) Has been skipped
Deploy QR Rapido / deploy-production (push) Has been skipped
feat: api separada do front-end e area do desenvolvedor.
2026-03-08 12:40:51 -03:00

22 lines
836 B
C#

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";
}
}