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; }
}
}