-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#11 Determine return date for not available movies
- Loading branch information
Showing
16 changed files
with
351 additions
and
63 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,26 @@ | ||
package domain | ||
|
||
type Media struct { | ||
const MOVIE string = "movie" | ||
const GAME string = "game" | ||
|
||
type Movie struct { | ||
Title string `json:"title"` | ||
Branch string `json:"branch"` | ||
IsAvailable string `json:"isAvailable"` | ||
} | ||
|
||
//Platform als DVD/Bluray verwenden? -> Gleich zu behandeln, ggf vorteile bei geneuer Suche | ||
|
||
type Game struct { | ||
Title string `json:"title"` | ||
Branch string `json:"branch"` | ||
IsAvailable bool `json:"isAvailable"` | ||
Platform string `json:"platform"` | ||
IsAvailable string `json:"isAvailable"` | ||
} | ||
|
||
type Media struct { | ||
Title string | ||
Branch string | ||
Platform string | ||
IsAvailable bool | ||
} |
This file was deleted.
Oops, something went wrong.
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.