decePubClient/Models/UploadMedia.cs

17 lines
420 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; }
2022-02-15 00:08:41 +01:00
[JsonIgnore, Bindable(false)]
public string Base64Preview { get; set; }
2022-02-14 01:51:52 +01:00
[JsonIgnore, Bindable(false)]
public long Size { get; set; }
2022-02-14 01:51:37 +01:00
}