🗃️ created movieDB model

Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
haraldnilsen 2023-09-18 12:03:57 +02:00
parent 3385b98c6e
commit 397255519a

View file

@ -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; }
}