added xml comments for existing api parts and pieces.

This commit is contained in:
StevanFreeborn
2022-06-21 17:17:32 -05:00
parent 19729f4cc7
commit 5e201182ba
9 changed files with 149 additions and 14 deletions
+18
View File
@@ -5,22 +5,40 @@ namespace server.Models
{
public class Quote
{
/// <summary>
/// Identifier for the quote.
/// </summary>
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
/// <summary>
/// The season number during which the quote was said.
/// </summary>
[BsonElement("season")]
public int? Season { get; set; }
/// <summary>
/// The episode number during which the quote was said.
/// </summary>
[BsonElement("episode")]
public int Episode { get; set; }
/// <summary>
/// The quote text.
/// </summary>
[BsonElement("text")]
public string? Text { get; set; }
/// <summary>
/// The source of the quote.
/// </summary>
[BsonElement("source")]
public string? Source { get; set; }
/// <summary>
/// The narrator of the quote.
/// </summary>
[BsonElement("narrator")]
public string? Narrator { get; set; }
}