From 101631a0041f22570d7c2d9378cbfd0cec5ca14b Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 7 Feb 2019 00:39:51 +0800 Subject: Add authorization. --- Timeline/Entities/User.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Timeline/Entities/User.cs') 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; } } } -- cgit v1.2.3