using Admin.NET.Core; namespace Admin.NET.Application { /// /// 用户登录输出参数 /// public class LoginOutput { /// /// 主键 /// public long Id { get; set; } /// /// 账号 /// public string Account { get; set; } /// /// 昵称 /// public string NickName { get; set; } /// /// 姓名 /// public string Name { get; set; } /// /// 头像 /// public string Avatar { get; set; } /// /// 生日 /// public DateTimeOffset? Birthday { get; set; } /// /// 性别(字典 1男 2女) /// public int Sex { get; set; } /// /// 邮箱 /// public String Email { get; set; } /// /// 手机 /// public String Phone { get; set; } /// /// 电话 /// public String Tel { get; set; } /// /// 产线id /// public long ProductionlineId { get; set; } /// /// 所属车间 /// public LesWorkShopType WorkShopType { get; set; } /// /// 管理员类型(1超级管理员 2管理员 3普通账号) /// public int AdminType { get; set; } /// /// 最后登陆IP /// public string LastLoginIp { get; set; } /// /// 最后登陆时间 /// public DateTimeOffset? LastLoginTime { get; set; } /// /// 最后登陆地址 /// public string LastLoginAddress { get; set; } /// /// 最后登陆所用浏览器 /// public string LastLoginBrowser { get; set; } /// /// 最后登陆所用系统 /// public string LastLoginOs { get; set; } /// /// 员工信息 /// public EmpOutput LoginEmpInfo { get; set; } = new EmpOutput(); /// /// 具备应用信息 /// public List Apps { get; set; } = new List(); /// /// 角色信息 /// public List Roles { 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(); /// /// 数据范围(机构)信息 /// public List DataScopes { get; set; } = new List(); ///// ///// 租户信息 ///// //public List Tenants { get; set; } ///// ///// 密码 ///// //public string Password { get; set; } ///// ///// 账户过期 ///// //public string AccountNonExpired { get; set; } ///// ///// 凭证过期 ///// //public string CredentialsNonExpired { get; set; } ///// ///// 账户锁定 ///// //public bool AccountNonLocked { get; set; } ///// ///// 用户名称 ///// //public string UserName { get; set; } ///// ///// 权限 ///// //public List Authorities { get; set; } = new List(); ///// ///// 是否启动 ///// //public bool Enabled { get; set; } } public class LoginPdaOutput { /// /// 主键 /// public long Id { get; set; } /// /// 账号 /// public string Account { get; set; } /// /// 昵称 /// public string NickName { get; set; } /// /// 姓名 /// public string Name { get; set; } /// /// 头像 /// public string Avatar { get; set; } /// /// 生日 /// public DateTimeOffset? Birthday { get; set; } /// /// 性别(字典 1男 2女) /// public int Sex { get; set; } /// /// 邮箱 /// public String Email { get; set; } /// /// 手机 /// public String Phone { get; set; } /// /// 电话 /// public String Tel { get; set; } /// /// 产线id /// public long ProductionlineId { get; set; } /// /// 所属车间 /// public LesWorkShopType WorkShopType { get; set; } /// /// 管理员类型(1超级管理员 2管理员 3普通账号) /// public int AdminType { get; set; } /// /// 最后登陆IP /// public string LastLoginIp { get; set; } /// /// 最后登陆时间 /// public DateTimeOffset? LastLoginTime { get; set; } /// /// 最后登陆地址 /// public string LastLoginAddress { get; set; } /// /// 最后登陆所用浏览器 /// public string LastLoginBrowser { get; set; } /// /// 最后登陆所用系统 /// public string LastLoginOs { get; set; } /// /// 员工信息 /// public List WmsPdaPowerOutputs { get; set; } } }