diff options
Diffstat (limited to 'Acl.cs')
| -rw-r--r-- | Acl.cs | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,6 @@ -namespace HyperBooru; +using System.ComponentModel.DataAnnotations.Schema; + +namespace HyperBooru; public enum AclRuleAction { Allow, @@ -6,6 +8,7 @@ public enum AclRuleAction { } public class Acl : HBObject { + [ForeignKey("ObjectId")] public HBObject Subject { get; set; } public List<AclRule> Rules { get; set; } } |
