aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/User.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-01-29 00:17:45 +0800
committercrupest <crupest@outlook.com>2020-01-29 00:17:45 +0800
commitb6043126fae039c58512f60a576b10925b06df4c (patch)
tree480e4e0fa03f0736cfee97876603fdb87d3fd3bd /Timeline/Models/User.cs
parent1a653fca9e4e3371dd65782c987a736e2259d66a (diff)
downloadtimeline-b6043126fae039c58512f60a576b10925b06df4c.tar.gz
timeline-b6043126fae039c58512f60a576b10925b06df4c.tar.bz2
timeline-b6043126fae039c58512f60a576b10925b06df4c.zip
...
Diffstat (limited to 'Timeline/Models/User.cs')
-rw-r--r--Timeline/Models/User.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Timeline/Models/User.cs b/Timeline/Models/User.cs
new file mode 100644
index 00000000..05395022
--- /dev/null
+++ b/Timeline/Models/User.cs
@@ -0,0 +1,19 @@
+using Timeline.Models.Validation;
+
+namespace Timeline.Models
+{
+ public class User
+ {
+ [Username]
+ public string? Username { get; set; }
+ public bool? Administrator { get; set; }
+ public string? Nickname { get; set; }
+ public string? AvatarUrl { get; set; }
+
+
+ #region secret
+ public string? Password { get; set; }
+ public long? Version { get; set; }
+ #endregion secret
+ }
+}