namespace QYZH.InteractiveMagazine.Models.Dto;
///
/// 管理员登录输入
///
public class AdminLoginInput
{
///
/// 用户名
///
public string UserName { get; set; } = string.Empty;
///
/// 密码
///
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;
///
/// 角色ID集合
///
public List RoleIds { get; set; } = [];
///
/// 角色集合
///
public List Roles { get; set; } = [];
///
/// 菜单树
///
public List Menus { get; set; } = [];
///
/// 权限编码集合
///
public List PermissionCodes { get; set; } = [];
}
public class AdminUserInfoOutput
{
public long UserId { get; set; }
public string UserName { get; set; } = string.Empty;
public string Type { get; set; } = string.Empty;
public int Status { get; set; }
///
/// 角色ID集合
///
public List RoleIds { get; set; } = [];
///
/// 角色集合
///
public List Roles { get; set; } = [];
///
/// 菜单树
///
public List Menus { get; set; } = [];
///
/// 权限编码集合
///
public List PermissionCodes { get; set; } = [];
}