refactor: Update Application layer for Codecrete Bill integration

- Change SwissQrCodeExtractionResult to use Bill + RawLines
- Update ISwissQrCodeProcessor to return tuple (Bill, string[])
- Add Codecrete.SwissQRBill.Generator v3.4.0 package reference
- Update ExtractSwissQrCodeQuery handler to use AutoMapper for Bill->DTO mapping
- Remove References property from query (not needed for QR extraction)
This commit is contained in:
2026-07-16 15:47:09 +02:00
parent e321963487
commit 35016f02e1
4 changed files with 54 additions and 127 deletions

View File

@@ -6,8 +6,18 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Remove="DependencyInjection\**" />
<Compile Remove="Features\**" />
<EmbeddedResource Remove="DependencyInjection\**" />
<EmbeddedResource Remove="Features\**" />
<None Remove="DependencyInjection\**" />
<None Remove="Features\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="16.2.0" />
<PackageReference Include="Codecrete.SwissQRBill.Generator" Version="3.4.0" />
<PackageReference Include="FluentValidation" Version="12.1.1" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.1.1" />
<PackageReference Include="MediatR" Version="14.1.0" />
@@ -19,11 +29,6 @@
<ItemGroup>
<Folder Include="Common\Mappings\" />
<Folder Include="DependencyInjection\" />
<Folder Include="Features\Documents\ExtractAttachments\" />
<Folder Include="Features\Documents\ConcatenatePdfs\" />
<Folder Include="Features\Documents\ApplyStamp\" />
<Folder Include="Features\Documents\EmbedCertificate\" />
</ItemGroup>
</Project>