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(); } }