-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor report params to immutable data classes
- Loading branch information
1 parent
3a9b676
commit 0d84d59
Showing
18 changed files
with
307 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package dartzee.reporting | ||
|
||
import dartzee.game.GameType | ||
import java.sql.Timestamp | ||
|
||
data class ReportParametersGame( | ||
val gameType: GameType?, | ||
val gameParams: String, | ||
val dtStartFrom: Timestamp?, | ||
val dtStartTo: Timestamp?, | ||
val unfinishedOnly: Boolean, | ||
val dtFinishFrom: Timestamp?, | ||
val dtFinishTo: Timestamp?, | ||
val partOfMatch: MatchFilter?, | ||
val pendingChanges: Boolean? | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package dartzee.reporting | ||
|
||
import dartzee.db.PlayerEntity | ||
|
||
data class ReportParametersPlayers( | ||
val includedPlayers: Map<PlayerEntity, IncludedPlayerParameters>, | ||
val excludedPlayers: List<PlayerEntity>, | ||
val excludeOnlyAi: Boolean, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.