using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace server.Models { public class Quote { /// /// Identifier for the quote. /// [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string? Id { get; set; } /// /// The season number during which the quote was said. /// [BsonElement("season")] public int? Season { get; set; } /// /// The episode number during which the quote was said. /// [BsonElement("episode")] public int Episode { get; set; } /// /// The quote text. /// [BsonElement("text")] public string? Text { get; set; } /// /// The source of the quote. /// [BsonElement("source")] public string? Source { get; set; } /// /// The narrator of the quote. /// [BsonElement("narrator")] public string? Narrator { get; set; } } }