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>2023-08-16 14:19:33 +1000
commit596f79318b41b7da60da0f82794f56f306842973 (patch)
treea6523f99fa70ea6da1780347201e06943f56778f /Tag.cs
parent8e94a12be4a56447e78d68c37def772bef8cade4 (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