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 | 4262a25addf26705e4c5ab07acafd3eb8702fa4b (patch) | |
tree | d39469b839a1ef31bcb0b3afdeb0ae351bf63bd0 /Timeline/Entities/User.cs | |
parent | 167deab9648f2f2fc7f69b9eeee03f0d18be3c50 (diff) | |
download | timeline-4262a25addf26705e4c5ab07acafd3eb8702fa4b.tar.gz timeline-4262a25addf26705e4c5ab07acafd3eb8702fa4b.tar.bz2 timeline-4262a25addf26705e4c5ab07acafd3eb8702fa4b.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; } } } |