Initial commit
This commit is contained in:
16
Backend/Entitys/Permission.cs
Normal file
16
Backend/Entitys/Permission.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace Backend.Entitys;
|
||||
|
||||
public class Permission {
|
||||
public int Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public string PermissionKey { get; set; }
|
||||
}
|
||||
|
||||
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