aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Models/Post/ReadPostServiceModel.cs
blob: 2c4fb5736b21f41810fd370216098f80824d5458 (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
27
28
using System;
using System.Collections.Generic;
using DevHive.Common.Models.Misc;
using DevHive.Services.Models.Comment;
using Microsoft.AspNetCore.Mvc;

namespace DevHive.Services.Models.Post
{
	public class ReadPostServiceModel
	{
		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<IdModel> Comments { get; set; } = new();

		public List<string> FileUrls { get; set; }
		// public List<FileContentResult> Files { get; set; } = new();
	}
}