mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
technical edits
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Govor.Core.Models;
|
||||
using Govor.Core.Models.Messages;
|
||||
using Microsoft.AspNetCore.Http;
|
||||
|
||||
namespace Govor.Contracts.Requests;
|
||||
|
||||
public class AvatarUploadRequest
|
||||
{
|
||||
[Required]
|
||||
public IFormFile FromFile { get; set; }
|
||||
[Required]
|
||||
public MediaType Type { get; set; }
|
||||
[Required, MaxLength(255)]
|
||||
public string MimeType { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user