aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/HttpTimeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-13 21:24:33 +0800
committercrupest <crupest@outlook.com>2021-02-13 21:24:33 +0800
commita39b1d690632f336ac5d73186200e393ff241ac0 (patch)
tree3c14af38ec31aa6d2990b9d4444c436ad1f3fdd6 /BackEnd/Timeline/Models/Http/HttpTimeline.cs
parentfe5128137f530daf8ca315cb89811121c6c2c9da (diff)
parent42034bfb60c03b30dec6ddc93d35ced29070b0e7 (diff)
downloadtimeline-a39b1d690632f336ac5d73186200e393ff241ac0.tar.gz
timeline-a39b1d690632f336ac5d73186200e393ff241ac0.tar.bz2
timeline-a39b1d690632f336ac5d73186200e393ff241ac0.zip
Merge branch 'master' into frontend
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimeline.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/HttpTimeline.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimeline.cs b/BackEnd/Timeline/Models/Http/HttpTimeline.cs
index 87ebf0bb..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, 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;
@@ -25,6 +25,8 @@ namespace Timeline.Models.Http
LastModified = lastModified;
IsHighlight = isHighlight;
IsBookmark = isBookmark;
+ Manageable = manageable;
+ Postable = postable;
_links = links;
}
@@ -78,6 +80,8 @@ namespace Timeline.Models.Http
public bool IsHighlight { get; set; }
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>