aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
blob: 1d2669ee33d6a7c68582879da67cd84e8ca50531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using DevHive.Web.Models.Comment;
using Microsoft.AspNetCore.Http;

namespace DevHive.Web.Models.Post
{
	public class ReadPostWebModel
	{
		public Guid PostId { get; set; }

		public string CreatorFirstName { get; set; }

		public string CreatorLastName { get; set; }

		public string CreatorUsername { get; set; }

		public string Message { get; set; }

		public DateTime TimeCreated { get; set; }

		public List<ReadCommentWebModel> Comments { get; set; }

		public List<IFormFile> Files { get; set; }
	}
}