aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/UserInfo.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-23 20:41:19 +0800
committer杨宇千 <crupest@outlook.com>2019-10-23 20:41:19 +0800
commit9a163719b76958374d1c27616393368e54e8b8a5 (patch)
treeb005aa3d8bc34d8e710ce7fae30236c62dcbe712 /Timeline/Models/UserInfo.cs
parent3ddb38839ac07de4edf071faeb753b62acb0bed1 (diff)
downloadtimeline-9a163719b76958374d1c27616393368e54e8b8a5.tar.gz
timeline-9a163719b76958374d1c27616393368e54e8b8a5.tar.bz2
timeline-9a163719b76958374d1c27616393368e54e8b8a5.zip
...
Diffstat (limited to 'Timeline/Models/UserInfo.cs')
-rw-r--r--Timeline/Models/UserInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Models/UserInfo.cs b/Timeline/Models/UserInfo.cs
index e502855b..b60bdfa2 100644
--- a/Timeline/Models/UserInfo.cs
+++ b/Timeline/Models/UserInfo.cs
@@ -12,8 +12,8 @@ namespace Timeline.Models
Administrator = administrator;
}
- public string Username { get; set; }
- public bool Administrator { get; set; }
+ public string Username { get; set; } = default!;
+ public bool Administrator { get; set; } = default!;
public override string ToString()
{