From fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 13 Feb 2021 15:57:29 +0800 Subject: feat: Timeline add postable. --- BackEnd/Timeline/Models/Http/HttpTimeline.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BackEnd/Timeline/Models/Http/HttpTimeline.cs') diff --git a/BackEnd/Timeline/Models/Http/HttpTimeline.cs b/BackEnd/Timeline/Models/Http/HttpTimeline.cs index 8a865f96..e3e46bd5 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimeline.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimeline.cs @@ -10,7 +10,7 @@ namespace Timeline.Models.Http { public HttpTimeline() { } - public HttpTimeline(string uniqueId, string title, string name, DateTime nameLastModifed, string description, HttpUser owner, TimelineVisibility visibility, List members, string? color, DateTime createTime, DateTime lastModified, bool isHighlight, bool isBookmark, bool manageable, HttpTimelineLinks links) + public HttpTimeline(string uniqueId, string title, string name, DateTime nameLastModifed, string description, HttpUser owner, TimelineVisibility visibility, List members, string? color, DateTime createTime, DateTime lastModified, bool isHighlight, bool isBookmark, bool manageable, bool postable, HttpTimelineLinks links) { UniqueId = uniqueId; Title = title; @@ -26,6 +26,7 @@ namespace Timeline.Models.Http IsHighlight = isHighlight; IsBookmark = isBookmark; Manageable = manageable; + Postable = postable; _links = links; } @@ -80,6 +81,7 @@ namespace Timeline.Models.Http public bool IsBookmark { get; set; } public bool Manageable { get; set; } + public bool Postable { get; set; } #pragma warning disable CA1707 // Identifiers should not contain underscores /// -- cgit v1.2.3