mirror of https://github.com/abpframework/abp.git
5 changed files with 69 additions and 0 deletions
@ -0,0 +1,26 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
[Serializable] |
|||
public class IdentityClaimTypeEto |
|||
{ |
|||
public Guid Id { get; set; } |
|||
|
|||
public Guid? TenantId { get; set; } |
|||
|
|||
public virtual string Name { get; set; } |
|||
|
|||
public virtual bool Required { get; set; } |
|||
|
|||
public virtual bool IsStatic { get; set; } |
|||
|
|||
public virtual string Regex { get; set; } |
|||
|
|||
public virtual string RegexDescription { get; set; } |
|||
|
|||
public virtual string Description { get; set; } |
|||
|
|||
public virtual IdentityClaimValueType ValueType { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,21 @@ |
|||
using System; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public class IdentityRoleEto |
|||
{ |
|||
public Guid Id { get; set; } |
|||
|
|||
public Guid? TenantId { get; set; } |
|||
|
|||
public virtual string Name { get; protected internal set; } |
|||
|
|||
public virtual string NormalizedName { get; protected internal set; } |
|||
|
|||
public virtual bool IsDefault { get; set; } |
|||
|
|||
public virtual bool IsStatic { get; set; } |
|||
|
|||
public virtual bool IsPublic { get; set; } |
|||
} |
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
using AutoMapper; |
|||
|
|||
namespace Volo.Abp.Identity |
|||
{ |
|||
public class IdentityDomainMappingProfile : Profile |
|||
{ |
|||
public IdentityDomainMappingProfile() |
|||
{ |
|||
CreateMap<IdentityClaimType, IdentityClaimTypeEto>(); |
|||
CreateMap<IdentityRoleEto, IdentityRoleEto>(); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue