Zeeshaun 84f8087647
All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 48s
Deploy Promiscuity Character API / deploy (push) Successful in 59s
Deploy Promiscuity Locations API / deploy (push) Successful in 44s
k8s smoke test / test (push) Successful in 7s
Adding endpoint to only get locations visible to character
2026-03-13 10:49:57 -05:00

22 lines
506 B
C#

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace CharacterApi.Models;
public class Character
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
public string OwnerUserId { get; set; } = string.Empty;
public string Name { get; set; } = string.Empty;
public Coord Coord { get; set; } = new();
public int VisionRadius { get; set; } = 3;
public DateTime CreatedUtc { get; set; } = DateTime.UtcNow;
}