summaryrefslogtreecommitdiff
path: root/Principal.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Principal.cs')
-rw-r--r--Principal.cs12
1 files changed, 4 insertions, 8 deletions
diff --git a/Principal.cs b/Principal.cs
index 677f926..3e1a607 100644
--- a/Principal.cs
+++ b/Principal.cs
@@ -1,14 +1,10 @@
-using Microsoft.EntityFrameworkCore;
-using System.Security.Principal;
+namespace HyperBooru;
-namespace HyperBooru;
-
-[Index(nameof(Name))]
-public class Principal {
+public interface IPrincipal {
public string Name { get; set; }
public SecurityIdentifier Sid { get; set; }
}
-public class User : Principal {}
+public interface IUser : IPrincipal {}
-public class Group : Principal {} \ No newline at end of file
+public interface IGroup : IPrincipal {} \ No newline at end of file