From 397255519a5df3c3c46f09820a436a656855441a Mon Sep 17 00:00:00 2001 From: haraldnilsen Date: Mon, 18 Sep 2023 12:03:57 +0200 Subject: [PATCH] :card_file_box: created movieDB model Co-authored-by: Sindre Kjelsrud --- backend/Models/db/MovieDB.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 backend/Models/db/MovieDB.cs diff --git a/backend/Models/db/MovieDB.cs b/backend/Models/db/MovieDB.cs new file mode 100644 index 0000000..960db65 --- /dev/null +++ b/backend/Models/db/MovieDB.cs @@ -0,0 +1,21 @@ +#nullable disable + +using Microsoft.EntityFrameworkCore; + +namespace backend; + +[PrimaryKey(nameof(Id))] +public class MovieDB +{ + public int Id { get; set; } + + public string Title { get; set; } + + public string Year { get; set; } + + public string imdbID { get; set; } + + public string Type { get; set; } + + public string Poster { get; set; } +} \ No newline at end of file