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.
39 lines
656 B
39 lines
656 B
|
|
class GetCommentBean {
|
|
int? code;
|
|
String? msg;
|
|
int? total;
|
|
List<CommentBean>? rows;
|
|
|
|
GetCommentBean.formMap(Map map) {
|
|
code = map['code'];
|
|
msg = map['msg'];
|
|
total = map['total'];
|
|
|
|
List<dynamic>? rowList = map['rows'];
|
|
if (rowList == null) return;
|
|
|
|
rows = rowList
|
|
.map((item) => CommentBean._formMap(item))
|
|
.toList();
|
|
}
|
|
}
|
|
|
|
|
|
|
|
class CommentBean {
|
|
int? id;
|
|
String? content;
|
|
String? time;
|
|
String? username;
|
|
String? avatar;
|
|
|
|
CommentBean._formMap(Map map) {
|
|
id = map['id'];
|
|
content = map['content'];
|
|
time = map['time'];
|
|
username = map['username'];
|
|
avatar = map['avatar'];
|
|
}
|
|
}
|