summaryrefslogtreecommitdiff
path: root/windows/WinUI/CentralLogin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'windows/WinUI/CentralLogin.cs')
-rw-r--r--windows/WinUI/CentralLogin.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/windows/WinUI/CentralLogin.cs b/windows/WinUI/CentralLogin.cs
new file mode 100644
index 00000000..97265dcf
--- /dev/null
+++ b/windows/WinUI/CentralLogin.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Newtonsoft.Json;
+
+namespace WinUI
+{
+ class CentralLogin
+ {
+
+
+ public CentralLogin(string email, string password, bool isNew)
+ {
+ Login = email;
+ Password = password;
+ IsNew = isNew;
+ }
+
+ [JsonProperty("login")]
+ public string Login { get; set; }
+
+ [JsonProperty("password")]
+ public string Password { get; set; }
+
+ [JsonProperty("register")]
+ public bool IsNew { get; set; }
+ }
+}