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.
36 lines
825 B
36 lines
825 B
using System; |
|
using System.Collections.Generic; |
|
using System.ComponentModel.DataAnnotations; |
|
using System.Linq; |
|
using System.Threading.Tasks; |
|
|
|
namespace AX.FireTrainingSys.DTOs |
|
{ |
|
/// <summary> |
|
/// 修改密码信息。 |
|
/// </summary> |
|
public class ModifyPasswordInfo |
|
{ |
|
/// <summary> |
|
/// 旧密码。 |
|
/// </summary> |
|
[Required] |
|
public string Password { get; set; } |
|
/// <summary> |
|
/// 新密码。 |
|
/// </summary> |
|
[RegularExpression(RegexHelper.Password)] |
|
[Required] |
|
public string NewPassword { get; set; } |
|
} |
|
|
|
//专用于数据同步 |
|
public class PasswordInfo |
|
{ |
|
/// <summary> |
|
/// 新密码。 |
|
/// </summary> |
|
[Required] |
|
public string Password { get; set; } |
|
} |
|
}
|
|
|