movie importer and show planner

This commit is contained in:
2025-10-31 22:13:02 +01:00
parent 3db883ba71
commit f0fc12b5dc
48 changed files with 293 additions and 409 deletions

View File

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

View File

@@ -7,6 +7,6 @@ Film {
description: string { @NotNull @MaxLen(2000) } ;
duration: int { @NotNull } ;
image: string { @NotNull } ;
rating: short { } ;
rating: short { @NotNull } ;
category: Filmkategorie { } ;
}

View File

@@ -1,7 +0,0 @@
// Entity Kartenstatus
#BaseModel
Kartenstatus {
id: int { @Id @AutoIncremented @ObjectType } ;
name: string { @NotNull @Unique } ;
}

View 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 {} ;
}

View File

@@ -0,0 +1,6 @@
// Entity OmdbSearch
#Omdb
OmdbSearch {
search: OmdbMovie[] {} ;
}

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