summaryrefslogtreecommitdiff
path: root/Tag.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-16 14:19:33 +1000
committerJake Mannens <jake@asger.xyz>2025-08-18 10:59:32 +1000
commitacd4ca24259da98839847130bf34a27d10b0cf9f (patch)
treea493ec45586f4b80e4125a066e842b8e86546341 /Tag.cs
parent38c60cee378b9c2ad42fc9dc79bc492b919a68f5 (diff)
Fixed most existing dialogs
Diffstat (limited to 'Tag.cs')
-rw-r--r--Tag.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tag.cs b/Tag.cs
index c662c42..0f7fed2 100644
--- a/Tag.cs
+++ b/Tag.cs
@@ -19,4 +19,9 @@ public class Tag : HBObject {
public virtual TagDefinition TagDefinition { get; set; }
public DateTime CreateTime { get; set; } = DateTime.Now;
public virtual HBObject Target { get; set; }
+
+ public Tag() {}
+
+ public Tag(TagDefinition tagDef) =>
+ this.TagDefinition = tagDef;
} \ No newline at end of file