aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/Http/Common.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-22 14:45:52 +0800
committercrupest <crupest@outlook.com>2019-04-22 14:45:52 +0800
commita2d8695d1e46d271bab40ea192afffee65f7538f (patch)
tree5dc7ed4618477fb695fc45d26984616ecd5fd74a /Timeline/Entities/Http/Common.cs
parent0920d6ca8d8f92e612148aa1d3c4eaea5f407d94 (diff)
downloadtimeline-a2d8695d1e46d271bab40ea192afffee65f7538f.tar.gz
timeline-a2d8695d1e46d271bab40ea192afffee65f7538f.tar.bz2
timeline-a2d8695d1e46d271bab40ea192afffee65f7538f.zip
Move http models in to a new namespace. Revert last commit.
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;
+ }
+}