summaryrefslogtreecommitdiff
path: root/Tag.cs
diff options
context:
space:
mode:
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