aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/reading/Books.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/reading/Books.scala')
-rw-r--r--src/main/scala/reading/Books.scala71
1 files changed, 40 insertions, 31 deletions
diff --git a/src/main/scala/reading/Books.scala b/src/main/scala/reading/Books.scala
index 29c26d2..af23146 100644
--- a/src/main/scala/reading/Books.scala
+++ b/src/main/scala/reading/Books.scala
@@ -1,52 +1,61 @@
package reading
-import reading.models.{Book, Period, Theme, Genre}, Period._, Theme._, Genre._
+import reading.models.{Book, Period, Theme, Genre, Program}
+import Period._
+import Theme._
+import Genre._
+import Program._
object Books {
def apply(): Seq[Book] = Seq(
Book(
- title = "Les Dix petits nègres",
- author = "Agatha Christie",
- period = Siecle20,
- genres = Seq(Policier),
- themes = Seq(Peur),
- pages = 250
+ title = "Les Dix petits nègres",
+ author = "Agatha Christie",
+ period = Siecle20,
+ genres = Seq(Policier),
+ themes = Seq(Peur),
+ program = Monstre,
+ pages = 250
),
Book(
- title = "Le Joueur",
- author = "Fiódor Dostoyevski",
- period = Siecle19,
- genres = Seq(),
- themes = Seq(Peur),
- pages = 170
+ title = "Le Joueur",
+ author = "Fiódor Dostoyevski",
+ period = Siecle19,
+ genres = Seq(),
+ themes = Seq(Peur),
+ program = Heros,
+ pages = 170
),
Book(
- title = "Voyage au bout de la nuit",
- author = "Céline",
- period = Siecle20,
- genres = Seq(),
- themes = Seq(Peur),
- pages = 380
+ title = "Voyage au bout de la nuit",
+ author = "Céline",
+ period = Siecle20,
+ genres = Seq(),
+ themes = Seq(Peur),
+ program = IndividuEtSociete,
+ pages = 380
),
Book(
- title = "Le Petit Prince",
- author = "Antoine de Saint Exupéry",
- period = Siecle19,
- genres = Seq(Policier),
- themes = Seq(Amitie),
- pages = 130
+ title = "Le Petit Prince",
+ author = "Antoine de Saint Exupéry",
+ period = Siecle19,
+ genres = Seq(Policier),
+ themes = Seq(Amitie),
+ program = RecitAventure,
+ pages = 130
),
Book(
- title = "Les Frères Karamazov",
- author = "Fiódor Dostoyevski",
- period = Siecle19,
- genres = Seq(),
- themes = Seq(Famille),
- pages = 850
+ title = "Les Frères Karamazov",
+ author = "Fiódor Dostoyevski",
+ period = Siecle19,
+ genres = Seq(),
+ themes = Seq(Famille),
+ program = Autrui,
+ pages = 850
)
)
}