aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-31 22:49:57 +0800
committerGitHub <noreply@github.com>2020-08-31 22:49:57 +0800
commit3e7e533016b04df4993df66842409cf5857983ee (patch)
tree187696f3303241177820ca65fa441655a03de257 /Timeline/Models/Timeline.cs
parentb2404a381178e962a09af018d3c0031f1918991a (diff)
parent7e414fb4a09e6d35fa32d48fdba38a537ffe1d23 (diff)
downloadtimeline-3e7e533016b04df4993df66842409cf5857983ee.tar.gz
timeline-3e7e533016b04df4993df66842409cf5857983ee.tar.bz2
timeline-3e7e533016b04df4993df66842409cf5857983ee.zip
Merge pull request #158 from crupest/dev
Develop new features of back end.
Diffstat (limited to 'Timeline/Models/Timeline.cs')
-rw-r--r--Timeline/Models/Timeline.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs
index 34c253a0..a5987577 100644
--- a/Timeline/Models/Timeline.cs
+++ b/Timeline/Models/Timeline.cs
@@ -43,6 +43,10 @@ namespace Timeline.Models
public ImageTimelinePostContent(string dataTag) { DataTag = dataTag; }
public string Type { get; } = TimelinePostContentTypes.Image;
+
+ /// <summary>
+ /// The tag of the data. The tag of the entry in DataManager. Also the etag (not quoted).
+ /// </summary>
public string DataTag { get; set; }
}
@@ -74,6 +78,7 @@ namespace Timeline.Models
public string UniqueID { get; set; } = default!;
public string Name { get; set; } = default!;
public DateTime NameLastModified { get; set; } = default!;
+ public string Title { get; set; } = default!;
public string Description { get; set; } = default!;
public User Owner { get; set; } = default!;
public TimelineVisibility Visibility { get; set; }
@@ -86,6 +91,7 @@ namespace Timeline.Models
public class TimelineChangePropertyRequest
{
+ public string? Title { get; set; }
public string? Description { get; set; }
public TimelineVisibility? Visibility { get; set; }
}