refactoring
This commit is contained in:
parent
797e4d381a
commit
8b5e50626e
40 changed files with 161 additions and 103 deletions
|
|
@ -2,6 +2,9 @@
|
|||
{
|
||||
public interface IApplicationUser
|
||||
{
|
||||
string Id { get; set; }
|
||||
string UserName { get; set; }
|
||||
string Avatar { get ; set; }
|
||||
IAccountBalance AccountBalance { get; set; }
|
||||
string DedicatedGoogleCalendar { get; set; }
|
||||
ILocation PostalAddress { get; set; }
|
||||
|
|
|
|||
21
YavscLib/Identity/UserInfo.cs
Normal file
21
YavscLib/Identity/UserInfo.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
namespace Yavsc.Models.Auth
|
||||
{
|
||||
public class UserInfo {
|
||||
|
||||
public UserInfo()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public UserInfo(string userId, string userName, string avatar)
|
||||
{
|
||||
UserId = userId;
|
||||
UserName = userName;
|
||||
Avatar = avatar;
|
||||
}
|
||||
public string UserId { get; set; }
|
||||
|
||||
public string UserName { get; set; }
|
||||
public string Avatar { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue