diff options
author | crupest <crupest@outlook.com> | 2022-04-10 16:04:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-10 16:04:03 +0800 |
commit | 928ba0ce419bacba113951095278a5138ead34cf (patch) | |
tree | ad4bc6b985c21e751199a25a77f36da7163a47c5 /BackEnd/Timeline/Models/Http/HttpTimelinePost.cs | |
parent | 86160e4a5697615452a7e06dc78f8be4c8b2515f (diff) | |
download | timeline-928ba0ce419bacba113951095278a5138ead34cf.tar.gz timeline-928ba0ce419bacba113951095278a5138ead34cf.tar.bz2 timeline-928ba0ce419bacba113951095278a5138ead34cf.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePost.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/HttpTimelinePost.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs index 5e069821..5c6a7167 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs @@ -11,7 +11,7 @@ namespace Timeline.Models.Http {
public HttpTimelinePost() { }
- public HttpTimelinePost(long id, List<HttpTimelinePostDataDigest> dataList, bool deleted, DateTime time, HttpUser? author, string? color, DateTime lastUpdated, string timelineName, bool editable)
+ public HttpTimelinePost(long id, List<HttpTimelinePostDataDigest> dataList, bool deleted, DateTime time, HttpUser? author, string? color, DateTime lastUpdated, string timelineOwnerV2, string timelineNameV2, string timelineName, bool editable)
{
Id = id;
DataList = dataList;
@@ -20,6 +20,8 @@ namespace Timeline.Models.Http Author = author;
Color = color;
LastUpdated = lastUpdated;
+ TimelineOwnerV2 = timelineOwnerV2;
+ TimelineNameV2 = timelineNameV2;
TimelineName = timelineName;
Editable = editable;
}
@@ -27,7 +29,7 @@ namespace Timeline.Models.Http /// <summary>
/// Post id.
/// </summary>
- public long Id { get; set; }
+ public long Id { get; set; } /// <summary>
/// The data list.
/// </summary>
@@ -54,6 +56,14 @@ namespace Timeline.Models.Http /// Last updated time.
/// </summary>
public DateTime LastUpdated { get; set; } = default!;
+ /// <summary> + /// Timeline owner username. + /// </summary>
+ public string TimelineOwnerV2 { get; set; } = default!;
+ /// <summary>
+ /// Timeline name.
+ /// </summary>
+ public string TimelineNameV2 { get; set; } = default!;
/// <summary>
/// Timeline name.
/// </summary>
|