aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs')
-rw-r--r--src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs b/src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs
new file mode 100644
index 0000000..a7aa882
--- /dev/null
+++ b/src/Services/DevHive.Services.Models/Post/ReadPostServiceModel.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using DevHive.Common.Models.Misc;
+
+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();
+ }
+}