Files
Govor/Govor.Contracts/Requests/MediaUploadRequest.cs

13 lines
379 B
C#

using System.ComponentModel.DataAnnotations;
using Govor.Core.Models;
namespace Govor.Contracts.Requests;
public class MediaUploadRequest
{
public byte[] Data { get; set; }
public string FileName { get; set; }
public string EncryptedKey { get; set; } = string.Empty;
public MediaType Type { get; set; }
public string MimeType { get; set; } = string.Empty;
}