Rough character selection screen + API

This commit is contained in:
2025-12-24 00:00:24 -06:00
parent 9a56091e8e
commit d9eededbfa
169 changed files with 5643 additions and 189 deletions
@@ -0,0 +1,17 @@
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 DateTime CreatedUtc { get; set; } = DateTime.UtcNow;
}
@@ -0,0 +1,6 @@
namespace CharacterApi.Models;
public class CreateCharacterRequest
{
public string Name { get; set; } = string.Empty;
}