Files
yavsc/Yavsc.Server/ViewModels/Account/Me.cs
2018-07-16 02:36:44 +02:00

41 lines
1.0 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Yavsc.Abstract.Identity;
namespace Yavsc.Models.Auth
{
public class Me : IApplicationUser {
public Me(string userId, string userName, string email, string avatar, ILocation address, string gCalId)
{
Id = userId;
UserName = userName;
EMail = email;
Avatar = avatar;
PostalAddress = address;
DedicatedGoogleCalendar = gCalId;
}
public string Id { get; set; }
public string UserName { get; set; }
public string EMail { get; set; }
public string[] Roles { get; set; }
/// <summary>
/// Known as profile, could point to an avatar
/// </summary>
/// <returns></returns>
public string Avatar { get; set; }
public IAccountBalance AccountBalance
{
get; set;
}
public string DedicatedGoogleCalendar
{
get; set;
}
public ILocation PostalAddress
{
get; set;
}
}
}