aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Models/Post/ReadPostServiceModel.cs
blob: 6bf3b7d0ed1d4f78a9bda620c296ca28a17d18f5 (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
using System;
using System.Collections.Generic;
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<ReadCommentServiceModel> Comments { get; set; } = new();

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