summaryrefslogtreecommitdiff
path: root/rust/scripts/populate/structures.py
blob: 31feb1b334a38a44b1ace217f5a61eb05a69960c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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