//
namespace SafeCampus.System;
///
/// 编辑个人信息参数
///
public class UpdateInfoInput : SysUser
{
///
/// 姓名
///
[Required(ErrorMessage = "Name不能为空")]
public override string Name { get; set; }
}
public class UpdateSignatureInput
{
///
/// 签名图片
///
[Required(ErrorMessage = "Signature签名图片不能为空")]
public string Signature { get; set; }
}
///
/// 更新个人工作台
///
public class UpdateWorkbenchInput
{
///
/// 工作台数据
///
[Required(ErrorMessage = "WorkbenchData不能为空")]
public string WorkbenchData { get; set; }
}
///
/// 更新个人密码
///
public class UpdatePasswordInput
{
///
/// 密码
///
[Required(ErrorMessage = "Password不能为空")]
public string Password { get; set; }
///
/// 新密码
///
[Required(ErrorMessage = "NewPassword不能为空")]
public string NewPassword { get; set; }
}
///
/// 设置默认模块输入
///
public class SetDefaultModuleInput
{
///
/// 模块Id
///
[Required(ErrorMessage = "Id不能为空")]
public long Id { get; set; }
///
/// 是否默认
///
[Required(ErrorMessage = "IfDefault不能为空")]
public bool IfDefault { get; set; }
}