Initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace WebDesktopBackend.Entitys.Permissions {
|
||||
public class Permission {
|
||||
public const int NotSet = 0;
|
||||
public const int Allow = 1;
|
||||
public const int Deny = 2;
|
||||
|
||||
public int Id { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public string PermissionName { get; set; }
|
||||
public int Type { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace WebDesktopBackend.Entitys.Permissions {
|
||||
public class PermissionGroup {
|
||||
public string Permission { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string[] Permissions { get; set; }
|
||||
public string[] Inherits { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user