From a46460a3cc71497bc7d360ab3d7068059bc7a0cc Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 4 Feb 2021 21:26:01 +0800 Subject: ... --- BackEnd/Timeline/Models/Http/HttpTimelinePost.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePost.cs') diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs index a563bea0..5981d7a4 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs @@ -9,13 +9,14 @@ namespace Timeline.Models.Http { public HttpTimelinePost() { } - public HttpTimelinePost(long id, HttpTimelinePostContent? content, bool deleted, DateTime time, HttpUser? author, DateTime lastUpdated) + public HttpTimelinePost(long id, HttpTimelinePostContent? content, bool deleted, DateTime time, HttpUser? author, string? color, DateTime lastUpdated) { Id = id; Content = content; Deleted = deleted; Time = time; Author = author; + Color = color; LastUpdated = lastUpdated; } @@ -40,6 +41,10 @@ namespace Timeline.Models.Http /// public HttpUser? Author { get; set; } = default!; /// + /// The color. + /// + public string? Color { get; set; } + /// /// Last updated time. /// public DateTime LastUpdated { get; set; } = default!; -- cgit v1.2.3