DigitalFactory/Admin.NET/Plugins/Admin.NET.Plugin.GoView/Service/GoViewSys/Dto/GoViewLoginOutput.cs

58 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// 大名科技(天津)有限公司版权所有 电话18020030720 QQ515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
namespace Admin.NET.Plugin.GoView.Service.Dto;
/// <summary>
/// 登录输出
/// </summary>
public class GoViewLoginOutput
{
/// <summary>
/// 用户信息
/// </summary>
public GoViewLoginUserInfo Userinfo { get; set; }
/// <summary>
/// Token
/// </summary>
public GoViewLoginToken Token { get; set; }
}
/// <summary>
/// 登录 Token
/// </summary>
public class GoViewLoginToken
{
/// <summary>
/// Token 名
/// </summary>
public string TokenName { get; set; } = "Authorization";
/// <summary>
/// Token 值
/// </summary>
public string TokenValue { get; set; }
}
/// <summary>
/// 用户信息
/// </summary>
public class GoViewLoginUserInfo
{
/// <summary>
/// 用户 Id
/// </summary>
public string Id { get; set; }
/// <summary>
/// 用户名
/// </summary>
public string Username { get; set; }
/// <summary>
/// 昵称
/// </summary>
public string Nickname { get; set; }
}