This commit is contained in:
Louis Heredero 2024-04-30 15:50:02 +02:00
parent dc6c8b642c
commit 931e9b43e6
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
4 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package ch.hevs.isc.slopify_v2
import scala.collection.mutable.ArrayBuffer
class Album(val name: String) {
private var songs: ArrayBuffer[Song] = new ArrayBuffer()
}

View File

@ -0,0 +1,7 @@
package ch.hevs.isc.slopify_v2
import scala.collection.mutable.ArrayBuffer
class Artist(val name: String) {
private var albums: ArrayBuffer[Album] = new ArrayBuffer()
}

View File

@ -0,0 +1,7 @@
package ch.hevs.isc.slopify_v2
import scala.collection.mutable.ArrayBuffer
class DataBase {
private var artists: ArrayBuffer[Artist] = new ArrayBuffer()
}

View File

@ -0,0 +1,5 @@
package ch.hevs.isc.slopify_v2
class Song(val title: String, val number: Int) {
}