admin/src/Oms.Application/Dtos/Customers/ResetCustomerPasswordInput.cs
2026-04-17 11:09:01 +08:00

23 lines
454 B
C#

using System.ComponentModel.DataAnnotations;
namespace Oms.Application.Dtos.Customers;
/// <summary>
/// 重置客户密码入参。
/// </summary>
public class ResetCustomerPasswordInput
{
[Required]
/// <summary>
/// 主键。
/// </summary>
public long Id { get; set; }
[Required]
[StringLength(64)]
/// <summary>
/// 新密码。
/// </summary>
public string NewPassword { get; set; } = string.Empty;
}