22 lines
468 B
C#
22 lines
468 B
C#
|
|
namespace LMS.Repository.User;
|
|||
|
|
public class LoginResponseBase
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public string Token { get; set; }
|
|||
|
|
public string UserName { get; set; }
|
|||
|
|
public long Id { get; set; }
|
|||
|
|
public string NickName { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class LoginResponse : LoginResponseBase
|
|||
|
|
{
|
|||
|
|
public string RefreshToken { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class SimpleLoginResponse : LoginResponseBase
|
|||
|
|
{
|
|||
|
|
public bool IsForver { get; set; }
|
|||
|
|
|
|||
|
|
public DateTime? ExpirationTime { get; set; }
|
|||
|
|
}
|