summaryrefslogtreecommitdiff
path: root/rust/scripts/populate/structures.py
diff options
context:
space:
mode:
authornil0j <nil.jimeno@estudiant.fjaverianas.com>2024-09-27 17:27:02 +0200
committernil0j <nil.jimeno@estudiant.fjaverianas.com>2024-09-27 17:27:02 +0200
commit4328dd17bfcd4c33a77c4405d52c3660a6c62bf5 (patch)
tree62b48c5088fac13b93a3bcdaa85f4594601cf3fe /rust/scripts/populate/structures.py
parentdb58cb58b5d5612ec2aa347d0f8531b26ab2e7f3 (diff)
update
Diffstat (limited to 'rust/scripts/populate/structures.py')
-rw-r--r--rust/scripts/populate/structures.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/rust/scripts/populate/structures.py b/rust/scripts/populate/structures.py
new file mode 100644
index 0000000..31feb1b
--- /dev/null
+++ b/rust/scripts/populate/structures.py
@@ -0,0 +1,13 @@
+class song:
+ def __init__(self, name, lyrics):
+ self.name = name
+ self.lyrics = lyrics
+
+
+class album:
+ def __init__(self, name, cover, songs, artist_id, release=None):
+ self.name = name
+ self.cover = cover
+ self.songs = songs
+ self.artist = artist_id
+ self.release = release