fix statistics
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#Command
|
||||
@Extends(Command)
|
||||
CommandListStatistics {
|
||||
movies: boolean { @NotNull };
|
||||
shows: boolean { @NotNull };
|
||||
}
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
#Statistics
|
||||
StatisticsFilm {
|
||||
movie: Film {};
|
||||
tickets: Eintrittskarte[] {};
|
||||
movieId: int { @NotNull };
|
||||
movieTitle: string { @NotNull };
|
||||
tickets: int { @NotNull };
|
||||
earnings: int { @NotNull };
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
// Entity StatisticsFilmReduced
|
||||
|
||||
#AddonModel
|
||||
StatisticsFilmReduced {
|
||||
movie: Film {};
|
||||
tickets: int { @NotNull };
|
||||
earnings: int { @NotNull };
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
// Entity OmdbMovie
|
||||
|
||||
#AddonModel
|
||||
StatisticsReduced {
|
||||
movies: StatisticsFilmReduced[] {};
|
||||
shows: StatisticsVorstellungReduced[] {};
|
||||
}
|
||||
@@ -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 };
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
// Entity StatisticsVorstellungReduced
|
||||
|
||||
#AddonModel
|
||||
StatisticsVorstellungReduced {
|
||||
show: Vorstellung {} ;
|
||||
tickets: int { @NotNull };
|
||||
earnings: int { @NotNull };
|
||||
}
|
||||
Reference in New Issue
Block a user