aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Models/Comment
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2020-12-30 17:48:30 +0200
committerDanail Dimitrov <danaildimitrov321@gmail.com>2020-12-30 17:48:30 +0200
commitfb56c49681746c8c47c1da43c918b37df5f214a1 (patch)
tree780a7ae16198a0649988cd4a677e984477ffb150 /src/DevHive.Services/Models/Comment
parente2958817c79f29722fedc1ea8ddcedea894a0f20 (diff)
downloadDevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.tar
DevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.tar.gz
DevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.zip
Adding coomment layers
Diffstat (limited to 'src/DevHive.Services/Models/Comment')
-rw-r--r--src/DevHive.Services/Models/Comment/CommentServiceModel.cs10
-rw-r--r--src/DevHive.Services/Models/Comment/GetByIdCommentServiceModel.cs9
-rw-r--r--src/DevHive.Services/Models/Comment/UpdateCommnetServiceModel.cs9
3 files changed, 28 insertions, 0 deletions
diff --git a/src/DevHive.Services/Models/Comment/CommentServiceModel.cs b/src/DevHive.Services/Models/Comment/CommentServiceModel.cs
new file mode 100644
index 0000000..f3638ac
--- /dev/null
+++ b/src/DevHive.Services/Models/Comment/CommentServiceModel.cs
@@ -0,0 +1,10 @@
+using System;
+
+namespace DevHive.Services.Models.Comment
+{
+ public class CommentServiceModel
+ {
+ public Guid UserId { get; set; }
+ public string Message { get; set; }
+ }
+} \ No newline at end of file
diff --git a/src/DevHive.Services/Models/Comment/GetByIdCommentServiceModel.cs b/src/DevHive.Services/Models/Comment/GetByIdCommentServiceModel.cs
new file mode 100644
index 0000000..c2b84b3
--- /dev/null
+++ b/src/DevHive.Services/Models/Comment/GetByIdCommentServiceModel.cs
@@ -0,0 +1,9 @@
+using System;
+
+namespace DevHive.Services.Models.Comment
+{
+ public class GetByIdCommentServiceModel : CommentServiceModel
+ {
+ public DateTime Date { get; set; }
+ }
+} \ No newline at end of file
diff --git a/src/DevHive.Services/Models/Comment/UpdateCommnetServiceModel.cs b/src/DevHive.Services/Models/Comment/UpdateCommnetServiceModel.cs
new file mode 100644
index 0000000..3a461c5
--- /dev/null
+++ b/src/DevHive.Services/Models/Comment/UpdateCommnetServiceModel.cs
@@ -0,0 +1,9 @@
+using System;
+
+namespace DevHive.Services.Models.Comment
+{
+ public class UpdateCommentServiceModel : CommentServiceModel
+ {
+ public Guid Id { get; set; }
+ }
+}