ow
This commit is contained in:
1 parent
31fbe199c1
commit
1c0c83af5f
469 files changed
+62544
-5
No files matched your search
@@ -0,0 +1,35 @@
|
||||
|
||||
using CloudBuilder.Core.Authorization;
|
||||
using CloudBuilder.Core.DatabaseAccessor.Entity;
|
||||
using CloudBuilder.Security.Entity;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.Json.Serialization;
|
||||
namespace CloudBuilder.Security.Data
|
||||
{
|
||||
/// <summary>
|
||||
/// 排除实体类标记
|
||||
/// </summary>
|
||||
[NotMapped]
|
||||
[TypeScript]
|
||||
public class SecurityFunctionDisplayData : SecurityFunctionEntity
|
||||
{
|
||||
public const string PERMISSION_NAME = "PermissionName";
|
||||
|
||||
public SecurityFunctionDisplayData()
|
||||
{
|
||||
}
|
||||
public SecurityFunctionDisplayData(SecurityFunctionEntity entity)
|
||||
{
|
||||
CopyFrom(entity);
|
||||
}
|
||||
|
||||
public string? FunctionNameParent { get; set; }
|
||||
|
||||
public int Orderby { get; set; }
|
||||
|
||||
public string? PermissionName { get; set; }
|
||||
|
||||
public List<string>? SonSecurityFunctions { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user