You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
799 B
26 lines
799 B
using AutoMapper; |
|
using Sanhe.Abp.Identity.Dto; |
|
using Volo.Abp.Identity; |
|
|
|
namespace Sanhe.Abp.Identity |
|
{ |
|
public class AbpIdentityApplicationModuleAutoMapperProfile : Profile |
|
{ |
|
public AbpIdentityApplicationModuleAutoMapperProfile() |
|
{ |
|
CreateMap<IdentityClaimType, IdentityClaimTypeDto>() |
|
.MapExtraProperties(); |
|
CreateMap<IdentityUserClaim, IdentityClaimDto>(); |
|
CreateMap<IdentityRoleClaim, IdentityClaimDto>(); |
|
|
|
CreateMap<IdentityUser, IdentityUserDto>() |
|
.MapExtraProperties(); |
|
|
|
CreateMap<IdentityRole, IdentityRoleDto>() |
|
.MapExtraProperties(); |
|
|
|
CreateMap<OrganizationUnit, OrganizationUnitDto>() |
|
.MapExtraProperties(); |
|
} |
|
} |
|
}
|
|
|