From 1badf2610ecea218f094095a27388853c7396ae7 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Tue, 24 Dec 2024 17:00:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E7=AE=A1=E7=90=86=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs | 6 ++++++ IRaCIS.Core.Application/Service/Management/_MapConfig.cs | 2 ++ 2 files changed, 8 insertions(+) diff --git a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs index 824a66fd7..42faa9c52 100644 --- a/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs +++ b/IRaCIS.Core.Application/Service/Management/DTO/UserModel.cs @@ -220,11 +220,17 @@ namespace IRaCIS.Application.Contracts public class UserAddUserType { + public Guid Id { get; set; } + public UserTypeEnum UserTypeEnum { get; set; } public Guid UserTypeId { get; set; } public bool IsUserRoleDisabled { get; set; } + + public DateTime CreateTime { get; set; } + + public DateTime UpdateTime { get; set; } } public class EditPasswordCommand diff --git a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs index 11bcd4302..64110b524 100644 --- a/IRaCIS.Core.Application/Service/Management/_MapConfig.cs +++ b/IRaCIS.Core.Application/Service/Management/_MapConfig.cs @@ -151,7 +151,9 @@ namespace IRaCIS.Core.Application.Service CreateMap() .ForMember(d => d.IdentityUserId, c => c.MapFrom(t => t.Id)); + CreateMap(); + CreateMap(); } }