aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Models/Comment
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Web/Models/Comment')
-rw-r--r--src/DevHive.Web/Models/Comment/CommentWebModel.cs10
-rw-r--r--src/DevHive.Web/Models/Comment/GetByIdCommentWebModel.cs9
2 files changed, 19 insertions, 0 deletions
diff --git a/src/DevHive.Web/Models/Comment/CommentWebModel.cs b/src/DevHive.Web/Models/Comment/CommentWebModel.cs
new file mode 100644
index 0000000..37806a5
--- /dev/null
+++ b/src/DevHive.Web/Models/Comment/CommentWebModel.cs
@@ -0,0 +1,10 @@
+using System;
+
+namespace DevHive.Web.Models.Comment
+{
+ public class CommentWebModel
+ {
+ public Guid UserId { get; set; }
+ public string Message { get; set; }
+ }
+} \ No newline at end of file
diff --git a/src/DevHive.Web/Models/Comment/GetByIdCommentWebModel.cs b/src/DevHive.Web/Models/Comment/GetByIdCommentWebModel.cs
new file mode 100644
index 0000000..3d03348
--- /dev/null
+++ b/src/DevHive.Web/Models/Comment/GetByIdCommentWebModel.cs
@@ -0,0 +1,9 @@
+using System;
+
+namespace DevHive.Web.Models.Comment
+{
+ public class GetByIdCommentWebModel : CommentWebModel
+ {
+ public DateTime Date { get; set; }
+ }
+} \ No newline at end of file