summaryrefslogtreecommitdiff
path: root/HBObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'HBObject.cs')
-rw-r--r--HBObject.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/HBObject.cs b/HBObject.cs
index ba1c226..2962adf 100644
--- a/HBObject.cs
+++ b/HBObject.cs
@@ -8,8 +8,10 @@ namespace HyperBooru;
public class HBObject {
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
- public int ObjectId { get; set; }
- public Guid Guid { get; set; } = Guid.NewGuid();
- public virtual List<Tag> Tags { get; set; } = new();
- public Acl? Acl { get; set; }
+ public int ObjectId { get; set; }
+ public Guid Guid { get; set; } = Guid.NewGuid();
+ public virtual List<Tag> Tags { get; set; } = new();
+ public Acl? Acl { get; set; }
+ public SecurityIdentifier Owner { get; set; } =
+ new SecurityIdentifier(WellKnownSidType.WorldSid);
} \ No newline at end of file