using YBEE.EQM.Core;
namespace YBEE.EQM.Application
{
public class UpdateSysUserStatusInput : BaseId
{
///
/// 状态-正常_0、停用_1、删除_2
///
public CommonStatus Status { get; set; }
}
public class QuerySysUserInput : BaseId
{
}
///
/// 更新用户密码输入参数
///
public class ChangeSysUserPasswordInput
{
///
/// 旧密码
///
[Required(ErrorMessage = "旧密码不能为空")]
public string OldPassword { get; set; }
///
/// 新密码
///
[Required(ErrorMessage = "新密码不能为空")]
public string NewPassword { get; set; }
}
///
/// 更新用户头像输入参数
///
public class UploadSysUserAvatarInput : BaseId
{
///
/// 头像
///
[Required(ErrorMessage = "头像不能为空")]
public string Avatar { get; set; }
}
///
/// 分页查询用户
///
public class SysUserPageInput : PageInputBase
{
///
/// 机构ID
///
public short? SysOrgId { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 账户
///
public string Account { get; set; }
///
/// 手机号
///
public string Mobile { get; set; }
///
/// 电子邮箱
///
public string Email { get; set; }
}
}