diff options
Diffstat (limited to 'Tag.cs')
| -rw-r--r-- | Tag.cs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
