You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using Entity.DbModel.System.App;
|
|
|
|
|
using HybirdFrameworkCore.Entity;
|
|
|
|
|
|
|
|
|
|
namespace Entity.Dto.Req.App;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取App用户分页列表输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PageCustomerReq : QueryPageModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Account { get; set; } = "";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RealName { get; set; } = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 增加App用户输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class AddAppCustomerReq : AppCustomer
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新App用户输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class UpdateAppCustomerReq : AddAppCustomerReq
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 修改用户密码输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CustomerPwdReq
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "账号不能为空")]
|
|
|
|
|
public string LoginNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "当前密码不能为空")]
|
|
|
|
|
public string PasswordOld { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required(ErrorMessage = "新密码不能为空"), MinLength(5, ErrorMessage = "密码需要大于5个字符")]
|
|
|
|
|
public string PasswordNew { get; set; }
|
|
|
|
|
}
|