using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace QuestionsApi.Models; public class QuestionAttempt { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string? Id { get; set; } public string QuestionExternalId { get; set; } = ""; public string UserId { get; set; } = ""; public string ChoiceId { get; set; } = ""; public bool IsCorrect { get; set; } public DateTime CreatedUtc { get; set; } = DateTime.UtcNow; }