Browse Source

feat(data-protected): 更改数据保护错误注释

pull/1013/head
colin 1 year ago
parent
commit
b2669d7231
  1. 8
      aspnet-core/modules/data-protection/LINGYUN.Abp.DataProtectionManagement.Domain.Shared/LINGYUN/Abp/DataProtectionManagement/DataProtectionManagementErrorCodes.cs

8
aspnet-core/modules/data-protection/LINGYUN.Abp.DataProtectionManagement.Domain.Shared/LINGYUN/Abp/DataProtectionManagement/DataProtectionManagementErrorCodes.cs

@ -8,11 +8,11 @@ public static class DataProtectionManagementErrorCodes
{
public const string Prefix = Namespace + ":001";
/// <summary>
/// 已经存在相同的类型
/// 已经存在名为 {Name} 的实体类型定义
/// </summary>
public const string DuplicateTypeInfo = Prefix + "100";
/// <summary>
/// 已经存在相同的属性
/// 实体类型已经存在名为 {Name} 的属性定义
/// </summary>
public const string DuplicateProperty = Prefix + "200";
}
@ -21,7 +21,7 @@ public static class DataProtectionManagementErrorCodes
{
public const string Prefix = Namespace + ":002";
/// <summary>
/// 已经存在相同的实体数据访问规则
/// 已为角色 {RoleName} 分配了实体 {Name} 的 {Operation} 访问规则!
/// </summary>
public const string DuplicateEntityRule = Prefix + "100";
}
@ -30,7 +30,7 @@ public static class DataProtectionManagementErrorCodes
{
public const string Prefix = Namespace + ":003";
/// <summary>
/// 已经存在相同的实体数据访问规则
/// 已为组织机构 {OrgCode} 分配了实体 {Name} 的 {Operation} 访问规则!
/// </summary>
public const string DuplicateEntityRule = Prefix + "100";
}

Loading…
Cancel
Save