Location fixes

This commit is contained in:
hz
2026-01-21 17:43:39 -06:00
parent fc647890a6
commit 900951b1a7
3 changed files with 11 additions and 0 deletions
@@ -9,9 +9,12 @@ public class Location
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
[BsonElement("name")]
public string Name { get; set; } = string.Empty;
[BsonElement("coord")]
public required Coord Coord { get; set; }
[BsonElement("createdUtc")]
public DateTime CreatedUtc { get; set; } = DateTime.UtcNow;
}