From 7ed5306c62262921264bf9c83e00a4c9f3ae33b1 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 14 Jun 2020 01:03:20 +0800 Subject: feat(back): Fix #103 . --- Timeline/Models/Http/Timeline.cs | 3 ++- Timeline/Models/Timeline.cs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'Timeline/Models') 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!; -- cgit v1.2.3