aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-13 15:57:29 +0800
committercrupest <crupest@outlook.com>2021-02-13 15:57:29 +0800
commitfd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2 (patch)
tree60cc46ed16a3d84b654cce4b3f364f5eccce52b0 /BackEnd/Timeline/Models/Http
parent4538aa0be40316a967d6fbcbc08bc9670b9bbcf0 (diff)
downloadtimeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.tar.gz
timeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.tar.bz2
timeline-fd5f842e807ecf0d3a4c385fd0e5e3a52b0a79b2.zip
feat: Timeline add postable.
Diffstat (limited to 'BackEnd/Timeline/Models/Http')
-rw-r--r--BackEnd/Timeline/Models/Http/HttpTimeline.cs4
1 files changed, 3 insertions, 1 deletions
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<HttpUser> 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<HttpUser> 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
/// <summary>