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/HttpTimeline.cs | |
parent | 86160e4a5697615452a7e06dc78f8be4c8b2515f (diff) | |
download | timeline-928ba0ce419bacba113951095278a5138ead34cf.tar.gz timeline-928ba0ce419bacba113951095278a5138ead34cf.tar.bz2 timeline-928ba0ce419bacba113951095278a5138ead34cf.zip |
...
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimeline.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/HttpTimeline.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimeline.cs b/BackEnd/Timeline/Models/Http/HttpTimeline.cs index e3e46bd5..83398baf 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimeline.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimeline.cs @@ -10,11 +10,12 @@ 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, bool manageable, bool postable, HttpTimelineLinks links)
+ public HttpTimeline(string uniqueId, string title, string name, string nameV2, 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;
Name = name;
+ NameV2 = nameV2;
NameLastModifed = nameLastModifed;
Description = description;
Owner = owner;
@@ -43,6 +44,10 @@ namespace Timeline.Models.Http /// </summary>
public string Name { get; set; } = default!;
/// <summary>
+ /// Name of timeline.
+ /// </summary>
+ public string NameV2 { get; set; } = default!;
+ /// <summary>
/// Last modified time of timeline name.
/// </summary>
public DateTime NameLastModifed { get; set; } = default!;
|