reserveA_action_log_modol.dart
1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
class ReserveActionLogModol {
int? ret;
List<ReserveActionLogSunModol>? data;
String? msg;
ReserveActionLogModol({this.ret, this.data, this.msg});
ReserveActionLogModol.fromJson(Map<String, dynamic> json) {
ret = json['ret'];
if (json['data'] != null) {
data = <ReserveActionLogSunModol>[];
json['data'].forEach((v) {
data!.add(new ReserveActionLogSunModol.fromJson(v));
});
}
msg = json['msg'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['ret'] = this.ret;
if (this.data != null) {
data['data'] = this.data!.map((v) => v.toJson()).toList();
}
data['msg'] = this.msg;
return data;
}
}
class ReserveActionLogSunModol {
String? content;
String? upDate;
String? nickName;
String? logPhoto;
ReserveActionLogSunModol(
{this.content, this.upDate, this.nickName, this.logPhoto});
ReserveActionLogSunModol.fromJson(Map<String, dynamic> json) {
content = json['content'];
upDate = json['up_date'];
nickName = json['nick_name'];
logPhoto = json['log_photo'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['content'] = this.content;
data['up_date'] = this.upDate;
data['nick_name'] = this.nickName;
data['log_photo'] = this.logPhoto;
return data;
}
}