18 lines
497 B
C#
18 lines
497 B
C#
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; }
|
|
}
|