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.
27 lines
799 B
27 lines
799 B
3 years ago
|
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();
|
||
|
}
|
||
|
}
|
||
|
}
|