aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-18 17:49:02 +0800
committercrupest <crupest@outlook.com>2020-06-18 17:49:02 +0800
commitc5c50332aebd9a3e7d5d2c9163f0cad6c6ba241b (patch)
tree0f7dc1c0a58042c13f08b3d557e8c4226827ef56 /Timeline/Models/Http/Timeline.cs
parent5c1b88ce2df221d6a021b9246c952dbf5ee58550 (diff)
downloadtimeline-c5c50332aebd9a3e7d5d2c9163f0cad6c6ba241b.tar.gz
timeline-c5c50332aebd9a3e7d5d2c9163f0cad6c6ba241b.tar.bz2
timeline-c5c50332aebd9a3e7d5d2c9163f0cad6c6ba241b.zip
feat(back): Add last modified to timeline.
Diffstat (limited to 'Timeline/Models/Http/Timeline.cs')
-rw-r--r--Timeline/Models/Http/Timeline.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Timeline/Models/Http/Timeline.cs b/Timeline/Models/Http/Timeline.cs
index a942db1e..80e6e69d 100644
--- a/Timeline/Models/Http/Timeline.cs
+++ b/Timeline/Models/Http/Timeline.cs
@@ -28,12 +28,15 @@ namespace Timeline.Models.Http
{
public string UniqueId { get; set; } = default!;
public string Name { get; set; } = default!;
+ public DateTime NameLastModifed { get; set; } = default!;
public string Description { get; set; } = default!;
public UserInfo Owner { get; set; } = default!;
public TimelineVisibility Visibility { get; set; }
#pragma warning disable CA2227 // Collection properties should be read only
public List<UserInfo> Members { get; set; } = default!;
#pragma warning restore CA2227 // Collection properties should be read only
+ public DateTime CreateTime { get; set; } = default!;
+ public DateTime LastModified { get; set; } = default!;
#pragma warning disable CA1707 // Identifiers should not contain underscores
public TimelineInfoLinks _links { get; set; } = default!;