From 214541ee9cae9cb83d0c2521521c9bb0e6ea26c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BF=8A?= Date: Mon, 28 Nov 2022 14:34:41 +0000 Subject: [PATCH] add DisplayName for IdentityRoleCreateOrUpdateDtoBase Name property --- .../Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs index 61e6eee2a5..7495361ef0 100644 --- a/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs +++ b/modules/identity/src/Volo.Abp.Identity.Application.Contracts/Volo/Abp/Identity/IdentityRoleCreateOrUpdateDtoBase.cs @@ -8,6 +8,7 @@ public class IdentityRoleCreateOrUpdateDtoBase : ExtensibleObject { [Required] [DynamicStringLength(typeof(IdentityRoleConsts), nameof(IdentityRoleConsts.MaxNameLength))] + [Display(Name = "RoleName")] public string Name { get; set; } public bool IsDefault { get; set; }