Zeeshaun 82e4ae8a81
All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 46s
Deploy Promiscuity Character API / deploy (push) Successful in 58s
Deploy Promiscuity Inventory API / deploy (push) Successful in 45s
Deploy Promiscuity Locations API / deploy (push) Successful in 59s
k8s smoke test / test (push) Successful in 7s
Merge branch 'main' of https://git.ranaze.com/null/promiscuity into main
2026-03-19 16:44:12 -05:00

25 lines
609 B
C#

using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
namespace CharacterApi.Models;
[BsonIgnoreExtraElements]
public class VisibleLocation
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
[BsonElement("name")]
public string Name { get; set; } = string.Empty;
[BsonElement("coord")]
public LocationCoord Coord { get; set; } = new();
[BsonElement("biomeKey")]
public string BiomeKey { get; set; } = "plains";
[BsonElement("locationObject")]
public VisibleLocationObject? LocationObject { get; set; }
}