aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-13 15:46:02 +0800
committercrupest <crupest@outlook.com>2021-02-13 15:46:02 +0800
commit57b95cf3c53c0248355ffa46214224cdba4bf79b (patch)
treef3f399e819c5dcb6897aac67bde798eeabe4343e /BackEnd/Timeline/Models/Http
parentd45f776470a7cece565a46655f286fcb06cb3a87 (diff)
downloadtimeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.tar.gz
timeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.tar.bz2
timeline-57b95cf3c53c0248355ffa46214224cdba4bf79b.zip
feat: Add timeline manageable.
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 87ebf0bb..8a865f96 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, 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, HttpTimelineLinks links)
{
UniqueId = uniqueId;
Title = title;
@@ -25,6 +25,7 @@ namespace Timeline.Models.Http
LastModified = lastModified;
IsHighlight = isHighlight;
IsBookmark = isBookmark;
+ Manageable = manageable;
_links = links;
}
@@ -78,6 +79,7 @@ namespace Timeline.Models.Http
public bool IsHighlight { get; set; }
public bool IsBookmark { get; set; }
+ public bool Manageable { get; set; }
#pragma warning disable CA1707 // Identifiers should not contain underscores
/// <summary>