movie importer and show planner
This commit is contained in:
@@ -5,6 +5,8 @@ Eintrittskarte {
|
||||
id: int { @Id @AutoIncremented @ObjectType } ;
|
||||
show: Vorstellung { } ;
|
||||
seat: Sitzplatz { } ;
|
||||
code: string { @Unique } ;
|
||||
state: Kartenstatus { } ;
|
||||
code: string { @Unique @NotNull } ;
|
||||
reserved: timestamp { @NotNull } ;
|
||||
booked: timestamp { } ;
|
||||
cancelled: timestamp {} ;
|
||||
}
|
||||
|
||||
@@ -7,6 +7,6 @@ Film {
|
||||
description: string { @NotNull @MaxLen(2000) } ;
|
||||
duration: int { @NotNull } ;
|
||||
image: string { @NotNull } ;
|
||||
rating: short { } ;
|
||||
rating: short { @NotNull } ;
|
||||
category: Filmkategorie { } ;
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
// Entity Kartenstatus
|
||||
|
||||
#BaseModel
|
||||
Kartenstatus {
|
||||
id: int { @Id @AutoIncremented @ObjectType } ;
|
||||
name: string { @NotNull @Unique } ;
|
||||
}
|
||||
15
TelosysTools/models/InfiniMotion/OmdbMovie.entity
Normal file
15
TelosysTools/models/InfiniMotion/OmdbMovie.entity
Normal file
@@ -0,0 +1,15 @@
|
||||
// Entity OmdbMovie
|
||||
|
||||
#Omdb
|
||||
OmdbMovie {
|
||||
imdbID: string {} ;
|
||||
title: string {} ;
|
||||
year: string {} ;
|
||||
rated: string {} ;
|
||||
released: string {} ;
|
||||
runtime: string {} ;
|
||||
genre: string {} ;
|
||||
plot: string {} ;
|
||||
poster: string {} ;
|
||||
imdbRating: string {} ;
|
||||
}
|
||||
6
TelosysTools/models/InfiniMotion/OmdbSearch.entity
Normal file
6
TelosysTools/models/InfiniMotion/OmdbSearch.entity
Normal file
@@ -0,0 +1,6 @@
|
||||
// Entity OmdbSearch
|
||||
|
||||
#Omdb
|
||||
OmdbSearch {
|
||||
search: OmdbMovie[] {} ;
|
||||
}
|
||||
11
TelosysTools/models/InfiniMotion/Plan.entity
Normal file
11
TelosysTools/models/InfiniMotion/Plan.entity
Normal file
@@ -0,0 +1,11 @@
|
||||
// Entity Plan
|
||||
|
||||
#BaseModel
|
||||
Plan {
|
||||
id: int { @Id @AutoIncremented @ObjectType } ;
|
||||
hall: Kinosaal { } ;
|
||||
movie: Film { } ;
|
||||
weekday: byte { @NotNull } ;
|
||||
time: time { @NotNull } ;
|
||||
first: date { @NotNull } ;
|
||||
}
|
||||
Reference in New Issue
Block a user