namespace YBEE.EQM.Application;
///
/// 登录认证返回输出参数
///
public class AuthOutput
{
///
/// 机构名
///
[Required]
public string OrgName { get; set; }
///
/// 用户名
///
[Required]
public string Name { get; set; }
///
/// 登录名
///
[Required]
public string Account { get; set; }
///
/// 是否已激活
///
[Required]
public bool IsActivated { get; set; }
///
/// TOKEN
///
public string AccessToken { get; set; }
}
///
/// 用户登录输出参数
///
public class LoginOutput
{
///
/// 用户ID
///
[Required]
public int Id { get; set; }
///
/// 机构ID
///
[Required]
public short SysOrgId { get; set; }
///
/// 名称
///
[Required]
public string Name { get; set; }
///
/// 头像地址
///
public string Avatar { get; set; }
///
/// 手机
///
public string Mobile { get; set; }
///
/// 电子邮箱
///
public string Email { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 账号
///
[Required]
public string Account { get; set; }
///
/// 用户自定义配置
///
public string Config { get; set; }
///
/// 最后登录IP
///
public string LastLoginIp { get; set; }
///
/// 最后登录时间
///
public DateTime? LastLoginTime { get; set; }
///
/// 最后登陆所用浏览器
///
public string LastLoginBrowser { get; set; }
///
/// 最后登陆所用系统
///
public string LastLoginOs { get; set; }
///
/// 机构信息
///
public SysOrgLiteOutput SysOrg { get; set; }
///
/// 角色信息
///
public List SysRoles { get; set; } = new List();
///
/// 权限信息
///
public List Permissions { get; set; } = new List();
///
/// 系统所有权限信息
///
public List AllPermissions { get; set; } = new List();
///
/// 登录菜单信息---AntDesign版本菜单
///
public List Menus { get; set; } = new List();
}