15 lines
379 B
C#
15 lines
379 B
C#
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;
|
|
}
|