aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline
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
commit85ac5c4513bd464d29696bc99fcda45ac228d1a2 (patch)
tree0c278a353acc948b4e762164061a8b2bb710fe61 /BackEnd/Timeline
parent65c2c772d6625d8a793b6174b554b6c6943f41ad (diff)
downloadtimeline-85ac5c4513bd464d29696bc99fcda45ac228d1a2.tar.gz
timeline-85ac5c4513bd464d29696bc99fcda45ac228d1a2.tar.bz2
timeline-85ac5c4513bd464d29696bc99fcda45ac228d1a2.zip
feat: Revert timeline post entity change.
Diffstat (limited to 'BackEnd/Timeline')
-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")]