CodeLiturgy.Dashboard/BlueWest.Data.Application/SessionToken/SessionToken.cs

34 lines
781 B
C#

using BlueWest.WebApi.Context.Users;
using MapTo;
namespace BlueWest.Data.Application
{
[MapFrom(new []
{
typeof(SessionTokenUnique)
})]
public partial class SessionToken
{
[IgnoreMemberMapTo]
public string Id { get; set; }
public string Token { get; set; }
public TimeSpan ValidFor { get; set;}
public bool IsValid { get; set; }
public DateTime CreatedDate { get; set; }
public ApplicationUser User { get; set; }
public string UserId { get; set; }
public ApplicationDevice ApplicationDevice { get; set; }
public SessionData SessionData { get; set; }
public string AccessToken { get; set; }
}
}