order api + statistics + plantuml fix

This commit is contained in:
2025-11-17 20:01:17 +01:00
parent a5b40b0fb5
commit 32dcd47131
15 changed files with 119 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
// Entity OmdbMovie
#Omdb
#AddonModel
OmdbMovie {
imdbID: string {} ;
title: string {} ;

View File

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

View File

@@ -0,0 +1,7 @@
// Entity OrderTransaction
#AddonModel
OrderTransaction {
order: Bestellung { } ;
tickets: Eintrittskarte[] {} ;
}

View File

@@ -4,5 +4,5 @@
StatisticsFilm {
movie: Film {};
tickets: Eintrittskarte[] {};
earnings: int {};
earnings: int { @NotNull };
}

View File

@@ -0,0 +1,8 @@
// Entity StatisticsFilmReduced
#AddonModel
StatisticsFilmReduced {
movie: Film {};
tickets: int { @NotNull };
earnings: int { @NotNull };
}

View File

@@ -0,0 +1,7 @@
// Entity OmdbMovie
#AddonModel
StatisticsReduced {
movies: StatisticsFilmReduced[] {};
shows: StatisticsVorstellungReduced[] {};
}

View File

@@ -2,7 +2,7 @@
#Statistics
StatisticsVorstellung {
show: Vorstellung {};
tickets: Eintrittskarte[] {};
earnings: int {};
show: Vorstellung { };
tickets: Eintrittskarte[] { };
earnings: int { @NotNull };
}

View File

@@ -0,0 +1,8 @@
// Entity StatisticsVorstellungReduced
#AddonModel
StatisticsVorstellungReduced {
show: Vorstellung {} ;
tickets: int { @NotNull };
earnings: int { @NotNull };
}