diff options
author | crupest <crupest@outlook.com> | 2021-02-13 15:46:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-02-13 15:46:02 +0800 |
commit | 4538aa0be40316a967d6fbcbc08bc9670b9bbcf0 (patch) | |
tree | 9a3b573c2325fa500b565f82f734bd7540f765c9 /BackEnd/Timeline/Models/Http/HttpTimeline.cs | |
parent | 01c3c5800f9b8a7b89d98b28ea748d496497c0b2 (diff) | |
download | timeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.tar.gz timeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.tar.bz2 timeline-4538aa0be40316a967d6fbcbc08bc9670b9bbcf0.zip |
feat: Add timeline manageable.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimeline.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/HttpTimeline.cs | 4 |
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>
|