2024-11-26 01:44:56 +04:00
|
|
|
import 'data/dto/album_dto.dart';
|
|
|
|
|
2024-11-08 13:07:43 +04:00
|
|
|
class CardData {
|
2024-11-26 01:44:56 +04:00
|
|
|
final String id;
|
2024-11-08 13:07:43 +04:00
|
|
|
final String title;
|
|
|
|
final String artist;
|
|
|
|
final String year;
|
|
|
|
final String url;
|
|
|
|
final List<String> genres;
|
|
|
|
final List<String> tracks;
|
|
|
|
final String summary;
|
|
|
|
final String? imageUrl;
|
|
|
|
|
2024-11-26 01:44:56 +04:00
|
|
|
CardData({
|
|
|
|
required this.id,
|
|
|
|
required this.title,
|
|
|
|
required this.artist,
|
|
|
|
required this.year,
|
|
|
|
required this.url,
|
|
|
|
required this.genres,
|
|
|
|
required this.tracks,
|
|
|
|
required this.summary,
|
|
|
|
this.imageUrl,
|
|
|
|
});
|
|
|
|
|
2024-11-08 13:07:43 +04:00
|
|
|
}
|