diff options
author | crupest <crupest@outlook.com> | 2019-02-07 00:39:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-02-07 00:39:51 +0800 |
commit | 101631a0041f22570d7c2d9378cbfd0cec5ca14b (patch) | |
tree | 93a50ac104e1f590f9d7aa3d8f0e140a0992035d /Timeline/Entities/User.cs | |
parent | 478dfefdbf4b118d7453673a3aa93a638586b850 (diff) | |
download | timeline-101631a0041f22570d7c2d9378cbfd0cec5ca14b.tar.gz timeline-101631a0041f22570d7c2d9378cbfd0cec5ca14b.tar.bz2 timeline-101631a0041f22570d7c2d9378cbfd0cec5ca14b.zip |
Add authorization.
Diffstat (limited to 'Timeline/Entities/User.cs')
-rw-r--r-- | Timeline/Entities/User.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Timeline/Entities/User.cs b/Timeline/Entities/User.cs index 87c38c32..3f7e9ac6 100644 --- a/Timeline/Entities/User.cs +++ b/Timeline/Entities/User.cs @@ -10,5 +10,6 @@ namespace Timeline.Entities public int Id { get; set; } public string Username { get; set; } public string Password { get; set; } + public string[] Roles { get; set; } } } |