Add project files.

This commit is contained in:
OlgunR
2026-05-21 14:35:02 +02:00
parent b315aead20
commit dc551c2313
106 changed files with 303666 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
namespace DXApp.TemplateKitProject.Models;
public class PdfExtractionResult
{
public List<ExtractedAttachment> Attachments { get; init; } = [];
public bool HasAttachments => Attachments.Count > 0;
public ExtractedAttachment? ZugferdXmlAttachment =>
Attachments.FirstOrDefault(a => a.IsZugferdXml);
public bool HasZugferdXml => ZugferdXmlAttachment is not null;
}
public class ExtractedAttachment
{
public string OriginalFileName { get; init; }
public string SavedFilePath { get; init; }
public long FileSizeBytes { get; init; }
public bool IsZugferdXml { get; init; }
}