diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2020-12-30 17:48:30 +0200 |
|---|---|---|
| committer | Danail Dimitrov <danaildimitrov321@gmail.com> | 2020-12-30 17:48:30 +0200 |
| commit | fb56c49681746c8c47c1da43c918b37df5f214a1 (patch) | |
| tree | 780a7ae16198a0649988cd4a677e984477ffb150 /src/DevHive.Web/Models | |
| parent | e2958817c79f29722fedc1ea8ddcedea894a0f20 (diff) | |
| download | DevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.tar DevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.tar.gz DevHive-fb56c49681746c8c47c1da43c918b37df5f214a1.zip | |
Adding coomment layers
Diffstat (limited to 'src/DevHive.Web/Models')
| -rw-r--r-- | src/DevHive.Web/Models/Comment/CommentWebModel.cs | 10 | ||||
| -rw-r--r-- | src/DevHive.Web/Models/Comment/GetByIdCommentWebModel.cs | 9 |
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 |
