diff options
author | crupest <crupest@outlook.com> | 2020-01-21 01:11:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-01-21 01:11:17 +0800 |
commit | 747bf829351c30069647a44f98ac19f1a214370f (patch) | |
tree | a45506852659b9d8e2bfe0b9e58a496060f7cd9b /Timeline/Models/Http/User.cs | |
parent | 40eea04e1ec9b71c5215e9dce5a6963ea60cafaa (diff) | |
download | timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.gz timeline-747bf829351c30069647a44f98ac19f1a214370f.tar.bz2 timeline-747bf829351c30069647a44f98ac19f1a214370f.zip |
...
Diffstat (limited to 'Timeline/Models/Http/User.cs')
-rw-r--r-- | Timeline/Models/Http/User.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Timeline/Models/Http/User.cs b/Timeline/Models/Http/User.cs index 516c1329..69bfacf2 100644 --- a/Timeline/Models/Http/User.cs +++ b/Timeline/Models/Http/User.cs @@ -3,6 +3,12 @@ using Timeline.Models.Validation; namespace Timeline.Models.Http
{
+ public class User
+ {
+ public string Username { get; set; } = default!;
+ public bool Administrator { get; set; }
+ }
+
public class UserPutRequest
{
[Required]
|