blob: ac84d2c889ab9a964066e7aeb3a18a6bde3f365f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Http;
namespace DevHive.Web.Models.Post.Post
{
public class UpdatePostWebModel
{
[Required]
[NotNull]
public Guid PostId { get; set; }
[NotNull]
[Required]
public string NewMessage { get; set; }
public List<IFormFile> Files { get; set; } = new();
}
}
|