18 lines
482 B
C#
18 lines
482 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Catalog.Communication.Models;
|
|
|
|
public sealed class UploadFileResponse
|
|
{
|
|
[JsonPropertyName("result")]
|
|
public bool Result { get; init; }
|
|
|
|
[JsonPropertyName("message")]
|
|
public string Message { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("fileName")]
|
|
public string FileName { get; init; } = string.Empty;
|
|
|
|
[JsonPropertyName("fileNameLink")]
|
|
public string FileNameLink { get; init; } = string.Empty;
|
|
}
|