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.
43 lines
1.1 KiB
43 lines
1.1 KiB
class MovingCompanyModel {
|
|
List<AppMovingCompanyVoList>? appMovingCompanyVoList;
|
|
|
|
MovingCompanyModel({this.appMovingCompanyVoList});
|
|
|
|
MovingCompanyModel.fromJson(Map<String, dynamic> json) {
|
|
if (json['appMovingCompanyVoList'] != null) {
|
|
appMovingCompanyVoList = [];
|
|
json['appMovingCompanyVoList'].forEach((v) {
|
|
appMovingCompanyVoList!.add(new AppMovingCompanyVoList.fromJson(v));
|
|
});
|
|
}
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
if (this.appMovingCompanyVoList != null) {
|
|
data['appMovingCompanyVoList'] =
|
|
this.appMovingCompanyVoList!.map((v) => v.toJson()).toList();
|
|
}
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class AppMovingCompanyVoList {
|
|
String? name;
|
|
String? tel;
|
|
|
|
AppMovingCompanyVoList({this.name, this.tel});
|
|
|
|
AppMovingCompanyVoList.fromJson(Map<String, dynamic> json) {
|
|
name = json['name'];
|
|
tel = json['tel'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['name'] = this.name;
|
|
data['tel'] = this.tel;
|
|
return data;
|
|
}
|
|
}
|