aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Models')
-rw-r--r--Timeline/Models/Http/Timeline.cs3
-rw-r--r--Timeline/Models/Timeline.cs1
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!;