using System.Collections.Generic; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace GameAuthApi.Models; public class Location { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } public string LocationType { get; set; } = "World"; public int? X { get; set; } public int? Y { get; set; } public int? Z { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string N { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string NE { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string E { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string SE { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string S { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string SW { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string W { get; set; } [BsonRepresentation(BsonType.ObjectId)] public string NW { get; set; } public List Players { get; set; } = []; [BsonRepresentation(BsonType.ObjectId)] public List Content { get; set; } = []; }