diff options
author | crupest <crupest@outlook.com> | 2020-06-18 16:21:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 16:21:39 +0800 |
commit | ddfd4cedaf696e6ad19f40bec4db0f9d0e28dc65 (patch) | |
tree | b9c9feb7fa9405772eceb5bdfe20ac12f4ccb83d /Timeline/Models | |
parent | 4a46206ea5f004ecb595de4bfd573b6263ac462b (diff) | |
download | timeline-ddfd4cedaf696e6ad19f40bec4db0f9d0e28dc65.tar.gz timeline-ddfd4cedaf696e6ad19f40bec4db0f9d0e28dc65.tar.bz2 timeline-ddfd4cedaf696e6ad19f40bec4db0f9d0e28dc65.zip |
Add last modified info to timeline.
Diffstat (limited to 'Timeline/Models')
-rw-r--r-- | Timeline/Models/Timeline.cs | 3 |
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
|