Compare commits
4
Commits
fd78ac884c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
efe4c39ab8 | ||
|
|
6b5f498511 | ||
|
|
d7c80f2532 | ||
|
|
f24cfb2fc1 |
@@ -0,0 +1,22 @@
|
|||||||
|
using xExceptions.Attributes;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Constants
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Kind of a Policy Definition ...
|
||||||
|
/// </summary>
|
||||||
|
public enum XPolicyKind
|
||||||
|
{
|
||||||
|
[StringValue("roleBased")]
|
||||||
|
RoleBased = 0,
|
||||||
|
|
||||||
|
[StringValue("scopeBased")]
|
||||||
|
ScopeBased = 1,
|
||||||
|
|
||||||
|
[StringValue("claimBased")]
|
||||||
|
ClaimBased = 2,
|
||||||
|
|
||||||
|
[StringValue("composite")]
|
||||||
|
Composite = 3
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
using xIdentityModels.Constants;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Dtos
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Policy Definition Model which can be converted to AuthorizationPolicy ...
|
||||||
|
/// </summary>
|
||||||
|
public class XPolicyDefinitionDto : XBaseIntIDEntityDto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Policy Name, e.g. enabledEditorPolicy ...
|
||||||
|
/// </summary>
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Display Name ...
|
||||||
|
/// </summary>
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Policy Kind ...
|
||||||
|
/// </summary>
|
||||||
|
public XPolicyKind Kind { get; set; } = XPolicyKind.RoleBased;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated Role Names (explicit list) ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredRoles { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// if provided, all Roles with Weight >= MinRoleWeight will be Injected ...
|
||||||
|
/// </summary>
|
||||||
|
public int? MinRoleWeight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated Scope Names ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredScopes { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Json Array of { "Type": "...", "Values": ["..."] } ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredClaims { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Requires IsBanned=false and IsEnabled=true Claims ...
|
||||||
|
/// </summary>
|
||||||
|
public bool RequireEnabledUser { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Requires Authenticated User ...
|
||||||
|
/// </summary>
|
||||||
|
public bool RequireAuthenticatedUser { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Dtos
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Role Definition Model (mirror of ASP.NET IdentityRole + Weight) ...
|
||||||
|
/// </summary>
|
||||||
|
public class XRoleDefinitionDto : XBaseIntIDEntityDto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Normalized Role Name, e.g. chief_clerk ...
|
||||||
|
/// </summary>
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Persian Display Name, e.g. سر دبیر ...
|
||||||
|
/// </summary>
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Role Weight, same as XUserRole enum (user=0 ... admin=10) ...
|
||||||
|
/// </summary>
|
||||||
|
public int Weight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Optional Parent Role for Inheritance ...
|
||||||
|
/// </summary>
|
||||||
|
public string ParentRoleName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Dtos
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Scope Definition Model (mirror of IdentityServer ApiScope) ...
|
||||||
|
/// </summary>
|
||||||
|
public class XScopeDefinitionDto : XBaseIntIDEntityDto
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Scope Name, e.g. XAPI.read ...
|
||||||
|
/// </summary>
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Display Name ...
|
||||||
|
/// </summary>
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Description ...
|
||||||
|
/// </summary>
|
||||||
|
public string Description { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated List of User Claims ...
|
||||||
|
/// </summary>
|
||||||
|
public string UserClaims { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Optional ApiResource Name on IdentityServer ...
|
||||||
|
/// </summary>
|
||||||
|
public string ApiResourceName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -251,6 +251,198 @@ namespace xIdentityModels.Extensions
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Policy Kind ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsKindValid(this XPolicyDefinition source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault();
|
||||||
|
switch (source.Kind)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.Composite:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!(source.RequiredRoles.IsNullOrEmpty() &&
|
||||||
|
source.RequiredClaims.IsNullOrEmpty() &&
|
||||||
|
source.RequiredScopes.IsNullOrEmpty());
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.ClaimBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredClaims.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.ScopeBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredScopes.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.RoleBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredRoles.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Policy Kind ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsKindValid(this XPolicyDefinitionDto source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault();
|
||||||
|
switch (source.Kind)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.Composite:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!(source.RequiredRoles.IsNullOrEmpty() &&
|
||||||
|
source.RequiredClaims.IsNullOrEmpty() &&
|
||||||
|
source.RequiredScopes.IsNullOrEmpty());
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.ClaimBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredClaims.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.ScopeBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredScopes.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
|
||||||
|
//
|
||||||
|
case Constants.XPolicyKind.RoleBased:
|
||||||
|
//
|
||||||
|
result =
|
||||||
|
!source.RequiredRoles.IsNullOrEmpty();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XPolicyDefinition source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
source.IsKindValid() &&
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XPolicyDefinitionDto source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
source.IsKindValid() &&
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XRoleDefinition source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XRoleDefinitionDto source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XScopeDefinition source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Validate Item for Add or Update ...
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsValidForAdd(this XScopeDefinitionDto source)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
var result =
|
||||||
|
!source.IsNullOrDefault() &&
|
||||||
|
!source.Name.IsNullOrEmpty();
|
||||||
|
|
||||||
|
//
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Validate Item for Add or Update ...
|
/// Validate Item for Add or Update ...
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -330,7 +522,6 @@ namespace xIdentityModels.Extensions
|
|||||||
result.Add(new(ClaimTypes.Name, source.OwnerId));
|
result.Add(new(ClaimTypes.Name, source.OwnerId));
|
||||||
result.Add(new(XCustomClaims.UserId, source.OwnerId));
|
result.Add(new(XCustomClaims.UserId, source.OwnerId));
|
||||||
result.Add(new(JwtClaimTypes.Subject, source.OwnerId));
|
result.Add(new(JwtClaimTypes.Subject, source.OwnerId));
|
||||||
result.Add(new(XCustomClaims.Picture, source.Owner.Avatar));
|
|
||||||
result.Add(new(XCustomClaims.UserName, source.Owner.Username));
|
result.Add(new(XCustomClaims.UserName, source.Owner.Username));
|
||||||
result.Add(new(XCustomClaims.LastName, source.Owner.Lastname));
|
result.Add(new(XCustomClaims.LastName, source.Owner.Lastname));
|
||||||
result.Add(new(XCustomClaims.AuthType, XAuthorization.XApiKey));
|
result.Add(new(XCustomClaims.AuthType, XAuthorization.XApiKey));
|
||||||
@@ -346,6 +537,12 @@ namespace xIdentityModels.Extensions
|
|||||||
result.Add(new(JwtClaimTypes.Scope, scope));
|
result.Add(new(JwtClaimTypes.Scope, scope));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
if (!source.Owner.Avatar.IsNullOrEmpty())
|
||||||
|
{
|
||||||
|
result.Add(new(XCustomClaims.Picture, source.Owner.Avatar));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -0,0 +1,70 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
using xIdentityModels.Constants;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Policy Definition Model which can be converted to AuthorizationPolicy ...
|
||||||
|
/// </summary>
|
||||||
|
public class XPolicyDefinition : XBaseIntIDEntity
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Policy Name, e.g. enabledEditorPolicy ...
|
||||||
|
/// </summary>
|
||||||
|
[Required]
|
||||||
|
[StringLength(200)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Display Name ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(255)]
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Policy Kind ...
|
||||||
|
/// </summary>
|
||||||
|
public XPolicyKind Kind { get; set; } = XPolicyKind.RoleBased;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated Role Names (explicit list) ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredRoles { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// if provided, all Roles with Weight >= MinRoleWeight will be Injected ...
|
||||||
|
/// </summary>
|
||||||
|
public int? MinRoleWeight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated Scope Names ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredScopes { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Json Array of { "Type": "...", "Values": ["..."] } ...
|
||||||
|
/// </summary>
|
||||||
|
public string RequiredClaims { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Requires IsBanned=false and IsEnabled=true Claims ...
|
||||||
|
/// </summary>
|
||||||
|
public bool RequireEnabledUser { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Requires Authenticated User ...
|
||||||
|
/// </summary>
|
||||||
|
public bool RequireAuthenticatedUser { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Role Definition Model (mirror of ASP.NET IdentityRole + Weight) ...
|
||||||
|
/// </summary>
|
||||||
|
public class XRoleDefinition : XBaseIntIDEntity
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Normalized Role Name, e.g. chief_clerk ...
|
||||||
|
/// </summary>
|
||||||
|
[Required]
|
||||||
|
[StringLength(256)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Persian Display Name, e.g. سر دبیر ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(255)]
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Role Weight, same as XUserRole enum (user=0 ... admin=10) ...
|
||||||
|
/// </summary>
|
||||||
|
public int Weight { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Optional Parent Role for Inheritance ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(256)]
|
||||||
|
public string ParentRoleName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
using xModels.Base;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
namespace xIdentityModels.Models
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// a Scope Definition Model (mirror of IdentityServer ApiScope) ...
|
||||||
|
/// </summary>
|
||||||
|
public class XScopeDefinition : XBaseIntIDEntity
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Unique Scope Name, e.g. XAPI.read ...
|
||||||
|
/// </summary>
|
||||||
|
[Required]
|
||||||
|
[StringLength(200)]
|
||||||
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Display Name ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(255)]
|
||||||
|
public string DisplayName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Description ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(1000)]
|
||||||
|
public string Description { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Comma Separated List of User Claims ...
|
||||||
|
/// </summary>
|
||||||
|
public string UserClaims { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Optional ApiResource Name on IdentityServer ...
|
||||||
|
/// </summary>
|
||||||
|
[StringLength(200)]
|
||||||
|
public string ApiResourceName { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Is Enabled ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsEnabled { get; set; } = true;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Seeded from Constants, cannot be removed ...
|
||||||
|
/// </summary>
|
||||||
|
public bool IsSystem { get; set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user