Catalog/Catalog.Communication/Models/UploadImageResponse.cs

15 lines
379 B
C#
Raw Permalink Normal View History

using System.Text.Json.Serialization;
namespace Catalog.Communication.Models;
public sealed class UploadImageResponse
{
[JsonPropertyName("result")]
public bool Result { get; init; }
[JsonPropertyName("message")]
public string Message { get; init; } = string.Empty;
[JsonPropertyName("imgPath")]
public string ImgPath { get; init; } = string.Empty;
}