feat(domain): add workflow API core models and meta codes

This commit is contained in:
2026-10-09 23:05:47 +02:00
parent b0fd71e193
commit 986d0aa256
16 changed files with 453 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
namespace DigitalData.TaskFlow.Domain.Common;
/// <summary>
/// Represents a single metadata item describing the business result state of an API response.
/// </summary>
public sealed record MetaEntry
{
/// <summary>
/// Gets the domain-specific result code.
/// </summary>
public required int Code { get; init; }
/// <summary>
/// Gets the human-readable message that belongs to <see cref="Code"/>.
/// </summary>
public required string Message { get; init; }
}