add changes

This commit is contained in:
StevanFreeborn
2022-06-19 16:42:35 -05:00
parent 58f3c0e930
commit 11619d3638
12 changed files with 340 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace server.Models
{
public class Quote
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string? Id { get; set; }
[BsonElement("season")]
public int? Season { get; set; }
[BsonElement("episode")]
public int Episode { get; set; }
[BsonElement("text")]
public string? Text { get; set; }
[BsonElement("source")]
public string? Source { get; set; }
[BsonElement("narrator")]
public string? Narrator { get; set; }
}
}