using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Guestlist;

public sealed class GuestEntryDocument
{
    [BsonId]
    [BsonRepresentation(BsonType.ObjectId)]
    public string? Id { get; set; }

    public string Name { get; set; } = "";

    public string? Notes { get; set; }

    public string AddedByUserId { get; set; } = "";

    public string AddedByUsername { get; set; } = "";

    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}