decePubClient/Models/UploadMedia.cs

16 lines
389 B
C#
Raw Normal View History

2022-02-14 01:51:52 +01:00
using System.ComponentModel;
using System.Text.Json.Serialization;
namespace decePubClient.Models;
2022-02-14 01:51:37 +01:00
public class UploadMedia
{
2022-02-14 01:51:52 +01:00
public string ContentType { get; set; }
public string FileName { get; set; }
public string AltText { get; set; }
public byte[] Blob { get; set; }
public string Base64Preview { get; set; }
[JsonIgnore, Bindable(false)]
public long Size { get; set; }
2022-02-14 01:51:37 +01:00
}