summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Principal.cs')
-rw-r--r--Principal.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Principal.cs b/Principal.cs
index d736bf2..18b82d0 100644
--- a/Principal.cs
+++ b/Principal.cs
@@ -4,13 +4,12 @@ namespace HyperBooru;
[Index(nameof(Name))]
public class HBPrincipal : HBObject {
- public string Name { get; set; }
+ public string Name { get; set; }
+ public List<Group> MemberOf { get; set; }
}
public class User : HBPrincipal {
public string PasswordHash { get; set; }
}
-public class Group : HBPrincipal {
- public List<HBPrincipal> Members { get; set; }
-} \ No newline at end of file
+public class Group : HBPrincipal {} \ No newline at end of file