namespace DocumentService.Application.Common.DTOs;
///
/// DTO for attachment check result returned to API layer
///
public record AttachmentCheckResult
{
///
/// Indicates whether the PDF contains any attachments
///
public bool HasAttachments { get; init; }
///
/// Total number of attachments in the PDF
///
public int AttachmentCount { get; init; }
///
/// List of attachment metadata (file details)
///
public List Attachments { get; init; } = new();
}
///
/// DTO for individual attachment metadata
///
public record AttachmentDto
{
///
/// Attachment file name (e.g., "invoice.xml", "document.pdf")
///
public string FileName { get; init; } = string.Empty;
///
/// MIME type of the attachment (e.g., "text/xml", "application/pdf")
///
public string MimeType { get; init; } = string.Empty;
///
/// Attachment file size in bytes
///
public long Size { get; init; }
}