mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 18:42:56 +00:00
12 lines
273 B
C#
12 lines
273 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace CleanArchitecture.Api.Models;
|
|
|
|
public sealed class DetailedError
|
|
{
|
|
[JsonPropertyName("code")]
|
|
public string Code { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("data")]
|
|
public object? Data { get; init; }
|
|
} |