This commit implements a complete rebranding of the project: - Updated all namespaces from `DocumentOperator` to `DocumentService`. - Renamed file paths, embedded resources, and test data references. - Updated configuration keys, logging paths, and Redis instance names. - Revised documentation to reflect the new project name. - Modified project and solution files to align with the new structure. - Updated class names, DTOs, commands, queries, and handlers. - Adjusted middleware, controllers, and API endpoints. - Updated Swagger metadata and API titles to `DocumentService API`. - Refactored test namespaces, resource paths, and embedded resources. - Updated build and deployment configurations for the new name. - Replaced all references to `DocumentOperator` in comments and literals. These changes ensure consistency across the codebase and documentation.
28 lines
692 B
C#
28 lines
692 B
C#
namespace DocumentService.Application.Common.DTOs;
|
|
|
|
/// <summary>
|
|
/// DTO for ZUGFeRD check result
|
|
/// </summary>
|
|
public record ZugferdCheckResult
|
|
{
|
|
/// <summary>
|
|
/// Indicates whether the PDF contains ZUGFeRD XML attachment
|
|
/// </summary>
|
|
public bool HasZugferd { get; init; }
|
|
|
|
/// <summary>
|
|
/// ZUGFeRD XML file name (e.g., "factur-x.xml")
|
|
/// </summary>
|
|
public string? ZugferdFileName { get; init; }
|
|
|
|
/// <summary>
|
|
/// ZUGFeRD XML file size in bytes
|
|
/// </summary>
|
|
public long? ZugferdFileSize { get; init; }
|
|
|
|
/// <summary>
|
|
/// MIME type of the ZUGFeRD XML file
|
|
/// </summary>
|
|
public string? ZugferdMimeType { get; init; }
|
|
}
|