aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/Http/Common.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-05-06 14:22:10 +0800
committerGitHub <noreply@github.com>2019-05-06 14:22:10 +0800
commitea84a067eee6dcd10dd0bc89967ef608677ef37e (patch)
tree37c2b6f9dcb3d6f57867ebc7538523d1a338183d /Timeline/Entities/Http/Common.cs
parentae848e311b46a25ec1ed571432d55e800ac7595b (diff)
parent070a4a8399201150a633c80608a13cc44781a3c4 (diff)
downloadtimeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.gz
timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.tar.bz2
timeline-ea84a067eee6dcd10dd0bc89967ef608677ef37e.zip
Merge pull request #22 from crupest/user-admin
Develop user management feature.
Diffstat (limited to 'Timeline/Entities/Http/Common.cs')
-rw-r--r--Timeline/Entities/Http/Common.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/Timeline/Entities/Http/Common.cs b/Timeline/Entities/Http/Common.cs
new file mode 100644
index 00000000..9575e6fa
--- /dev/null
+++ b/Timeline/Entities/Http/Common.cs
@@ -0,0 +1,29 @@
+namespace Timeline.Entities.Http
+{
+ public class ReturnCodeMessageResponse
+ {
+ public ReturnCodeMessageResponse()
+ {
+
+ }
+
+ public ReturnCodeMessageResponse(int code)
+ {
+ ReturnCode = code;
+ }
+
+ public ReturnCodeMessageResponse(string message)
+ {
+ Message = message;
+ }
+
+ public ReturnCodeMessageResponse(int code, string message)
+ {
+ ReturnCode = code;
+ Message = message;
+ }
+
+ public int? ReturnCode { get; set; } = null;
+ public string Message { get; set; } = null;
+ }
+}