From 2f91cce1c29ac4b9b49ca389b565c66199985f2d Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 18 Jun 2020 17:49:02 +0800 Subject: feat(back): Add last modified to timeline. --- Timeline/Models/Http/Timeline.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Timeline/Models/Http/Timeline.cs') 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 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!; -- cgit v1.2.3