diff options
author | crupest <crupest@outlook.com> | 2020-06-14 01:03:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-14 01:03:20 +0800 |
commit | 7ed5306c62262921264bf9c83e00a4c9f3ae33b1 (patch) | |
tree | 96f2c2c2ae927bf68e2e8306f6e4c90aa7508c05 /Timeline/Models | |
parent | 4cfb50d40384e5dea1805f8d6fc5ab38cd32d93b (diff) | |
download | timeline-7ed5306c62262921264bf9c83e00a4c9f3ae33b1.tar.gz timeline-7ed5306c62262921264bf9c83e00a4c9f3ae33b1.tar.bz2 timeline-7ed5306c62262921264bf9c83e00a4c9f3ae33b1.zip |
feat(back): Fix #103 .
Diffstat (limited to 'Timeline/Models')
-rw-r--r-- | Timeline/Models/Http/Timeline.cs | 3 | ||||
-rw-r--r-- | Timeline/Models/Timeline.cs | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Timeline/Models/Http/Timeline.cs b/Timeline/Models/Http/Timeline.cs index fb767f10..a942db1e 100644 --- a/Timeline/Models/Http/Timeline.cs +++ b/Timeline/Models/Http/Timeline.cs @@ -26,7 +26,8 @@ namespace Timeline.Models.Http public class TimelineInfo
{
- public string? Name { get; set; }
+ public string UniqueId { get; set; } = default!;
+ public string Name { get; set; } = default!;
public string Description { get; set; } = default!;
public UserInfo Owner { get; set; } = default!;
public TimelineVisibility Visibility { get; set; }
diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs index 803a5c5c..c47d7be3 100644 --- a/Timeline/Models/Timeline.cs +++ b/Timeline/Models/Timeline.cs @@ -70,6 +70,7 @@ namespace Timeline.Models public class Timeline
#pragma warning restore CA1724 // Type names should not match namespaces
{
+ public Guid UniqueID { get; set; } = default!;
public string Name { get; set; } = default!;
public string Description { get; set; } = default!;
public User Owner { get; set; } = default!;
|