aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-18 16:21:39 +0800
committercrupest <crupest@outlook.com>2020-06-18 16:21:39 +0800
commit3e471ac783d91fcc61a90b759fecefe3b80014ba (patch)
tree7821cc512b7262954f4981042dcf599768e068f4 /Timeline/Models/Timeline.cs
parent3dc9460798798e5ba155fae7b6afe84522c2c619 (diff)
downloadtimeline-3e471ac783d91fcc61a90b759fecefe3b80014ba.tar.gz
timeline-3e471ac783d91fcc61a90b759fecefe3b80014ba.tar.bz2
timeline-3e471ac783d91fcc61a90b759fecefe3b80014ba.zip
Add last modified info to timeline.
Diffstat (limited to 'Timeline/Models/Timeline.cs')
-rw-r--r--Timeline/Models/Timeline.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs
index d4b3e849..3701ed35 100644
--- a/Timeline/Models/Timeline.cs
+++ b/Timeline/Models/Timeline.cs
@@ -72,12 +72,15 @@ namespace Timeline.Models
{
public string UniqueID { get; set; } = default!;
public string Name { get; set; } = default!;
+ public DateTime NameLastModified { get; set; } = default!;
public string Description { get; set; } = default!;
public User Owner { get; set; } = default!;
public TimelineVisibility Visibility { get; set; }
#pragma warning disable CA2227 // Collection properties should be read only
public List<User> 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!;
}
public class TimelineChangePropertyRequest