diff options
author | crupest <crupest@outlook.com> | 2020-06-18 17:49:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-18 17:49:02 +0800 |
commit | 2f91cce1c29ac4b9b49ca389b565c66199985f2d (patch) | |
tree | c4e27cac4b2057c645f031be12eda896b96aa435 /Timeline | |
parent | 1eb71943ad8d4769cb6166a6f33c0eecea80fffe (diff) | |
download | timeline-2f91cce1c29ac4b9b49ca389b565c66199985f2d.tar.gz timeline-2f91cce1c29ac4b9b49ca389b565c66199985f2d.tar.bz2 timeline-2f91cce1c29ac4b9b49ca389b565c66199985f2d.zip |
feat(back): Add last modified to timeline.
Diffstat (limited to 'Timeline')
-rw-r--r-- | Timeline/Models/Http/Timeline.cs | 3 |
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!;
|