aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-12 18:31:14 +0800
committercrupest <crupest@outlook.com>2021-02-12 18:31:14 +0800
commit1caf863b870d4b628533db8279e6e5758832eef0 (patch)
tree5f00e893d81f7099184b1de467ad6da0eeee076f
parent0ecc55b0deba68cd2ff923a7a14d1d50502fd976 (diff)
downloadtimeline-1caf863b870d4b628533db8279e6e5758832eef0.tar.gz
timeline-1caf863b870d4b628533db8279e6e5758832eef0.tar.bz2
timeline-1caf863b870d4b628533db8279e6e5758832eef0.zip
feat: Revert timeline post entity change.
-rw-r--r--BackEnd/Timeline/Entities/TimelinePostEntity.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/BackEnd/Timeline/Entities/TimelinePostEntity.cs b/BackEnd/Timeline/Entities/TimelinePostEntity.cs
index 1f0270cb..317d43fc 100644
--- a/BackEnd/Timeline/Entities/TimelinePostEntity.cs
+++ b/BackEnd/Timeline/Entities/TimelinePostEntity.cs
@@ -26,6 +26,16 @@ namespace Timeline.Entities
[ForeignKey(nameof(AuthorId))]
public UserEntity? Author { get; set; } = default!;
+ [Column("content_type")]
+ public string? ContentType { get; set; }
+
+ [Column("content")]
+ public string? Content { get; set; }
+
+ [Column("extra_content")]
+ public string? ExtraContent { get; set; }
+
+ [Column("deleted")]
public bool Deleted { get; set; }
[Column("color")]