🗃️ created movieDB model
Co-authored-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
3385b98c6e
commit
397255519a
1 changed files with 21 additions and 0 deletions
21
backend/Models/db/MovieDB.cs
Normal file
21
backend/Models/db/MovieDB.cs
Normal 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; }
|
||||
}
|
Reference in a new issue