41 lines
841 B
C#
41 lines
841 B
C#
|
|
namespace QYZH.InteractiveMagazine.Models.Dto;
|
||
|
|
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 管理员登录输入
|
||
|
|
/// </summary>
|
||
|
|
public class AdminLoginInput
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 用户名
|
||
|
|
/// </summary>
|
||
|
|
public string UserName { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 密码
|
||
|
|
/// </summary>
|
||
|
|
public string Password { get; set; } = string.Empty;
|
||
|
|
}
|
||
|
|
|
||
|
|
public class AdminLoginOutput
|
||
|
|
{
|
||
|
|
public string Token { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public long UserId { get; set; }
|
||
|
|
|
||
|
|
public string UserName { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string Type { get; set; } = string.Empty;
|
||
|
|
}
|
||
|
|
|
||
|
|
public class AdminUserInfoOutput
|
||
|
|
{
|
||
|
|
public long UserId { get; set; }
|
||
|
|
|
||
|
|
public string UserName { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string Type { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string Status { get; set; } = string.Empty;
|
||
|
|
}
|