From 06f7ccdea12e211d05f6eef75e6e2fb4b493377c Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 03 四月 2025 16:02:50 +0800 Subject: [PATCH] fix:验重 --- LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs b/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs index 74cce24..ae5bc76 100644 --- a/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs +++ b/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs @@ -1,5 +1,7 @@ -锘縰sing System; +锘縰sing LifePayment.Domain.Shared; +using System; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using ZeroD.Util; namespace LifePayment.Application.Contracts @@ -17,8 +19,14 @@ public string PhoneNumber { get; set; } /// <summary> + /// 瀵嗙爜 + /// </summary> + public string Password { get; set; } + + /// <summary> /// 璐︽埛 /// </summary> + //[RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "璐﹀彿鏍煎紡涓嶆纭�")] public string UserName { get; set; } public string Remark { get; set; } @@ -31,7 +39,7 @@ /// <summary> /// 娓犻亾鍒楄〃 /// </summary> - public Guid[] ChannlesId { get; set; } + public string[] ChannlesId { get; set; } /// <summary> /// 缁勭粐鏋舵瀯鍏徃id @@ -78,6 +86,16 @@ /// 澶囨敞 /// </summary> public string Remark { get; set; } + } + + /// <summary> + /// 閲嶇疆瀵嗙爜鍩虹杈撳叆鍙傛暟 + /// </summary> + public class ResetPasswordBaseInput + { + public Guid UserId { get; set; } + + public string? Password { get; set; } } public class UpdateBackClientUserInput : CreateBackClientUserInput @@ -234,6 +252,11 @@ public Guid Id { get; set; } /// <summary> + /// 娓犻亾num + /// </summary> + public string ChannlesNum { get; set; } + + /// <summary> /// 娓犻亾鍚� /// </summary> public string Name { get; set; } -- Gitblit v1.9.1