fix statistics

This commit is contained in:
2025-11-19 00:19:49 +01:00
parent 32dcd47131
commit c19d8540fa
9 changed files with 17 additions and 31 deletions

View File

@@ -1,4 +1,6 @@
#Command
@Extends(Command)
CommandListStatistics {
movies: boolean { @NotNull };
shows: boolean { @NotNull };
}

View File

@@ -2,7 +2,8 @@
#Statistics
StatisticsFilm {
movie: Film {};
tickets: Eintrittskarte[] {};
movieId: int { @NotNull };
movieTitle: string { @NotNull };
tickets: int { @NotNull };
earnings: int { @NotNull };
}

View File

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

View File

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

View File

@@ -2,7 +2,10 @@
#Statistics
StatisticsVorstellung {
show: Vorstellung { };
tickets: Eintrittskarte[] { };
showId: int { @NotNull };
showHallName: string { @NotNull };
showStart: timestamp { @NotNull };
movieTitle: string { @NotNull };
tickets: int { @NotNull };
earnings: int { @NotNull };
}

View File

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