aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/TimelineEntity.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Timeline/Entities/TimelineEntity.cs')
-rw-r--r--Timeline/Entities/TimelineEntity.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Timeline/Entities/TimelineEntity.cs b/Timeline/Entities/TimelineEntity.cs
index 9cacfcae..c50fe6dd 100644
--- a/Timeline/Entities/TimelineEntity.cs
+++ b/Timeline/Entities/TimelineEntity.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
-using Timeline.Models;
+using Timeline.Models.Http;
namespace Timeline.Entities
{
@@ -26,7 +26,7 @@ namespace Timeline.Entities
public long OwnerId { get; set; }
[ForeignKey(nameof(OwnerId))]
- public User Owner { get; set; } = default!;
+ public UserEntity Owner { get; set; } = default!;
[Column("visibility")]
public TimelineVisibility Visibility { get; set; }