aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/User.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-12 19:56:20 +0800
committerGitHub <noreply@github.com>2020-03-12 19:56:20 +0800
commitd51954c2eaf07769e045270a02c19e46e01fe73f (patch)
tree70681348ddfc3bc8c3d9a92ae010a02020830573 /Timeline/Models/User.cs
parenteb9554b4fe78eaced12329e7fd7d8d62a58a1c6c (diff)
parent45527eb0c836d14725019c3facdff6c8391531cf (diff)
downloadtimeline-d51954c2eaf07769e045270a02c19e46e01fe73f.tar.gz
timeline-d51954c2eaf07769e045270a02c19e46e01fe73f.tar.bz2
timeline-d51954c2eaf07769e045270a02c19e46e01fe73f.zip
Merge pull request #69 from crupest/image
Post image feature.
Diffstat (limited to 'Timeline/Models/User.cs')
-rw-r--r--Timeline/Models/User.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Timeline/Models/User.cs b/Timeline/Models/User.cs
new file mode 100644
index 00000000..37777eba
--- /dev/null
+++ b/Timeline/Models/User.cs
@@ -0,0 +1,18 @@
+namespace Timeline.Models
+{
+ public class User
+ {
+ public string? Username { get; set; }
+ public string? Nickname { get; set; }
+
+ #region adminsecret
+ public bool? Administrator { get; set; }
+ #endregion adminsecret
+
+ #region secret
+ public long? Id { get; set; }
+ public string? Password { get; set; }
+ public long? Version { get; set; }
+ #endregion secret
+ }
+}