From ac61e142795d9572798f33f384481a47ba5b6457 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期四, 04 十二月 2025 09:20:55 +0800
Subject: [PATCH] feat:开发
---
LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs | 49 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 48 insertions(+), 1 deletions(-)
diff --git a/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs b/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs
index d1f3f9e..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; }
@@ -29,6 +37,11 @@
public string[] RoleNames { get; set; }
/// <summary>
+ /// 娓犻亾鍒楄〃
+ /// </summary>
+ public string[] ChannlesId { get; set; }
+
+ /// <summary>
/// 缁勭粐鏋舵瀯鍏徃id
/// </summary>
public Guid? CompanyOrgId { get; set; }
@@ -75,6 +88,16 @@
public string Remark { get; set; }
}
+ /// <summary>
+ /// 閲嶇疆瀵嗙爜鍩虹杈撳叆鍙傛暟
+ /// </summary>
+ public class ResetPasswordBaseInput
+ {
+ public Guid UserId { get; set; }
+
+ public string? Password { get; set; }
+ }
+
public class UpdateBackClientUserInput : CreateBackClientUserInput
{
/// <summary>
@@ -131,6 +154,12 @@
/// </summary>
public IEnumerable<RoleDto> Roles { get; set; }
+
+ /// <summary>
+ /// 瑙掕壊淇℃伅
+ /// </summary>
+ public IEnumerable<UserChannleDto> Channles { get; set; }
+
/// <summary>
/// 澶囨敞
/// </summary>
@@ -215,6 +244,24 @@
public string Remark { get; set; }
}
+ public class UserChannleDto
+ {
+ /// <summary>
+ /// 娓犻亾Id
+ /// </summary>
+ public Guid Id { get; set; }
+
+ /// <summary>
+ /// 娓犻亾num
+ /// </summary>
+ public string ChannlesNum { get; set; }
+
+ /// <summary>
+ /// 娓犻亾鍚�
+ /// </summary>
+ public string Name { get; set; }
+ }
+
public class GetRolesInput : PageInput
{
/// <summary>
--
Gitblit v1.10.0