forked from piaocbn2j/MTMusic
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
661 B
28 lines
661 B
10 months ago
|
class MusicListBean {
|
||
|
int? code;
|
||
|
String? msg;
|
||
|
int? id;
|
||
|
String? name;
|
||
|
String? coverPath;
|
||
|
String? musicPath;
|
||
|
String? singerName;
|
||
|
String? uploadUserName;
|
||
|
bool? likeOrNot;
|
||
|
bool? collectOrNot;
|
||
|
MusicListBean.formMap(Map map){
|
||
|
code = map['code'];
|
||
|
msg= map['msg'];
|
||
|
if (map['data'] == '') return;
|
||
|
Map? data = map['data'];
|
||
|
if (data == null) return;
|
||
|
id = data['id'];
|
||
|
name = data['name'];
|
||
|
coverPath = data['coverPath'];
|
||
|
musicPath = data['musicPath'];
|
||
|
singerName = data['singerName'];
|
||
|
uploadUserName = data['uploadUserName'];
|
||
|
likeOrNot = data['likeOrNot'];
|
||
|
collectOrNot = data['collectOrNot'];
|
||
|
}
|
||
|
}
|