aboutsummaryrefslogtreecommitdiff
path: root/src/Web/DevHive.Web.Models/Post/UpdatePostWebModel.cs
blob: a0c9b61f9458b7171ffd4189dda88091d989567b (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
{
	public class UpdatePostWebModel
	{
		[Required]
		[NotNull]
		public Guid PostId { get; set; }

		[NotNull]
		[Required]
		public string NewMessage { get; set; }

		public List<IFormFile> Files { get; set; } = new();
	}
}