created models
This commit is contained in:
1 parent
905fd87b43
commit
56bdbee43d
3 files changed
+54
No files matched your search
@@ -0,0 +1,35 @@
|
|||||||
|
import { EntryId } from './entryId.model';
|
||||||
|
import { EntryRating } from './entryRating.model';
|
||||||
|
|
||||||
|
export interface Entry {
|
||||||
|
id: number;
|
||||||
|
|
||||||
|
entryId: EntryId;
|
||||||
|
entryRating: EntryRating;
|
||||||
|
|
||||||
|
title: string;
|
||||||
|
original_title: string;
|
||||||
|
release_date: Date;
|
||||||
|
runtime: number;
|
||||||
|
|
||||||
|
storyline: string;
|
||||||
|
country: string;
|
||||||
|
|
||||||
|
certification: number;
|
||||||
|
network_studio: string;
|
||||||
|
collection_id: number;
|
||||||
|
|
||||||
|
watchlist: boolean;
|
||||||
|
favorit: boolean;
|
||||||
|
hidden: boolean;
|
||||||
|
|
||||||
|
is_tvseries: boolean;
|
||||||
|
status: string;
|
||||||
|
|
||||||
|
date_first_seen: Date;
|
||||||
|
date_last_seen: Date;
|
||||||
|
|
||||||
|
|
||||||
|
// front specific
|
||||||
|
poster_path: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
import { Entry } from './entry.model';
|
||||||
|
|
||||||
|
export interface EntryId {
|
||||||
|
id: number;
|
||||||
|
entry: Entry;
|
||||||
|
tmdb_id: string;
|
||||||
|
imdb_id: string;
|
||||||
|
tvdb_id: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
import { Entry } from './entry.model';
|
||||||
|
|
||||||
|
export interface EntryRating {
|
||||||
|
id: number;
|
||||||
|
entry: Entry;
|
||||||
|
user_rating: number;
|
||||||
|
tmdb_rating: number;
|
||||||
|
imdb_rating: number;
|
||||||
|
rotten_tomatoes_rating: number;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user