Browse Source
Merge pull request #14861 from wangj90/dev
add DisplayName for IdentityRoleCreateOrUpdateDtoBase Name property
pull/15841/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs
|
|
@ -8,6 +8,7 @@ public class IdentityRoleCreateOrUpdateDtoBase : ExtensibleObject |
|
|
{ |
|
|
{ |
|
|
[Required] |
|
|
[Required] |
|
|
[DynamicStringLength(typeof(IdentityRoleConsts), nameof(IdentityRoleConsts.MaxNameLength))] |
|
|
[DynamicStringLength(typeof(IdentityRoleConsts), nameof(IdentityRoleConsts.MaxNameLength))] |
|
|
|
|
|
[Display(Name = "RoleName")] |
|
|
public string Name { get; set; } |
|
|
public string Name { get; set; } |
|
|
|
|
|
|
|
|
public bool IsDefault { get; set; } |
|
|
public bool IsDefault { get; set; } |
|
|
|