diff options
author | nil <nil@tfwhyno.gf> | 2024-10-02 17:48:56 +0200 |
---|---|---|
committer | nil <nil@tfwhyno.gf> | 2024-10-02 17:48:56 +0200 |
commit | 0972fa6eab8c9111311f082ba8abfdc6b4a40945 (patch) | |
tree | 4eedbdc1a7cfdeee9d651c9871a9f26ab6da56d4 /scripts/populate/structures.py | |
parent | 012c2c03b29a987ca4eead023ded22e01aa7477b (diff) |
commit changes
Diffstat (limited to 'scripts/populate/structures.py')
-rw-r--r-- | scripts/populate/structures.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/populate/structures.py b/scripts/populate/structures.py new file mode 100644 index 0000000..31feb1b --- /dev/null +++ b/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 |