diff options
author | crupest <crupest@outlook.com> | 2021-01-07 22:13:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 22:13:24 +0800 |
commit | 34b2304997bfac1e186dad660ec62d8d87fec75f (patch) | |
tree | 2ca5678d575eae81f71220896a9862468c93fcc3 /BackEnd/Timeline/Models/Http/Timeline.cs | |
parent | e701f8bab033dd364673215e66d58a1cb9fea339 (diff) | |
parent | 04186d5f1091266b85758d4b4255c6a7c1b498f6 (diff) | |
download | timeline-34b2304997bfac1e186dad660ec62d8d87fec75f.tar.gz timeline-34b2304997bfac1e186dad660ec62d8d87fec75f.tar.bz2 timeline-34b2304997bfac1e186dad660ec62d8d87fec75f.zip |
Merge pull request #204 from crupest/back-dev
Timeline info includes highlight and bookmark info.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/Timeline.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/Timeline.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/Timeline.cs b/BackEnd/Timeline/Models/Http/Timeline.cs index 06fa4e5a..5e5889f6 100644 --- a/BackEnd/Timeline/Models/Http/Timeline.cs +++ b/BackEnd/Timeline/Models/Http/Timeline.cs @@ -86,7 +86,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, DateTime createTime, DateTime lastModified, HttpTimelineLinks links)
+ public HttpTimeline(string uniqueId, string title, string name, DateTime nameLastModifed, string description, HttpUser owner, TimelineVisibility visibility, List<HttpUser> members, DateTime createTime, DateTime lastModified, bool isHighlight, bool isBookmark, HttpTimelineLinks links)
{
UniqueId = uniqueId;
Title = title;
@@ -98,6 +98,8 @@ namespace Timeline.Models.Http Members = members;
CreateTime = createTime;
LastModified = lastModified;
+ IsHighlight = isHighlight;
+ IsBookmark = isBookmark;
_links = links;
}
@@ -144,6 +146,10 @@ namespace Timeline.Models.Http /// </summary>
public DateTime LastModified { get; set; } = default!;
+ public bool IsHighlight { get; set; }
+
+ public bool IsBookmark { get; set; }
+
#pragma warning disable CA1707 // Identifiers should not contain underscores
/// <summary>
/// Related links.
|