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.
16 lines
549 B
16 lines
549 B
using System.ComponentModel.DataAnnotations; |
|
using Volo.Abp.Identity; |
|
using Volo.Abp.Validation; |
|
|
|
namespace Sanhe.Abp.Identity.Dto |
|
{ |
|
public abstract class IdentityUserClaimCreateOrUpdateDto |
|
{ |
|
[Required] |
|
[DynamicMaxLength(typeof(IdentityUserClaimConsts), nameof(IdentityUserClaimConsts.MaxClaimTypeLength))] |
|
public string ClaimType { get; set; } |
|
|
|
[DynamicMaxLength(typeof(IdentityUserClaimConsts), nameof(IdentityUserClaimConsts.MaxClaimValueLength))] |
|
public string ClaimValue { get; set; } |
|
} |
|
}
|
|
|