summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-09-20 11:45:46 +1000
committerJake Mannens <jake@asger.xyz>2023-09-20 11:45:46 +1000
commitccad8db591129f5a9effb6469b477bb5c23ee229 (patch)
tree3eb9aa30261575280d7668e541bb334e1524e116 /Principal.cs
parentcb8179b5e5a8d5253d063ed607205f52643410fa (diff)
Completed initial filter functionality
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