|
@@ -7,7 +7,8 @@ namespace RunnersMeet.Server.Domain;
|
|
|
public class Track : IUserData
|
|
public class Track : IUserData
|
|
|
{
|
|
{
|
|
|
public ObjectId TrackId { get; set; } = ObjectId.Empty;
|
|
public ObjectId TrackId { get; set; } = ObjectId.Empty;
|
|
|
- public string Owner { get; set; } = String.Empty;
|
|
|
|
|
|
|
+ [BsonRef("users")]
|
|
|
|
|
+ public UserProfile Owner { get; set; } = new UserProfile();
|
|
|
public string FileHash { get; set; } = String.Empty;
|
|
public string FileHash { get; set; } = String.Empty;
|
|
|
public string DisplayName { get; set; } = String.Empty;
|
|
public string DisplayName { get; set; } = String.Empty;
|
|
|
public double Distance { get; set; }
|
|
public double Distance { get; set; }
|