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.
104 lines
3.4 KiB
104 lines
3.4 KiB
class ConnectHistoryData {
|
|
List<Records>? records;
|
|
int? total;
|
|
int? size;
|
|
int? current;
|
|
int? pages;
|
|
|
|
ConnectHistoryData(
|
|
{this.records, this.total, this.size, this.current, this.pages});
|
|
|
|
ConnectHistoryData.fromJson(Map<String, dynamic> json) {
|
|
if (json['records'] != null) {
|
|
records = <Records>[];
|
|
json['records'].forEach((v) {
|
|
records!.add(new Records.fromJson(v));
|
|
});
|
|
}
|
|
total = json['total'];
|
|
size = json['size'];
|
|
current = json['current'];
|
|
pages = json['pages'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
if (this.records != null) {
|
|
data['records'] = this.records!.map((v) => v.toJson()).toList();
|
|
}
|
|
data['total'] = this.total;
|
|
data['size'] = this.size;
|
|
data['current'] = this.current;
|
|
data['pages'] = this.pages;
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class Records {
|
|
String? createTime;
|
|
String? anchorMiId;
|
|
String? anchorProfilePhoto;
|
|
String? anchorNickName;
|
|
String? dateObjectMiId;
|
|
String? dateObjectProfilePhoto;
|
|
String? dateObjectNickName;
|
|
int? dateObjectProvinceCode;
|
|
String? dateObjectProvinceName;
|
|
int? dateObjectCityCode;
|
|
String? dateObjectCityName;
|
|
String? dateObjectBirthYear;
|
|
String? dateObjectBirthDate;
|
|
int? dateObjectAge;
|
|
|
|
Records(
|
|
{this.createTime,
|
|
this.anchorMiId,
|
|
this.anchorProfilePhoto,
|
|
this.anchorNickName,
|
|
this.dateObjectMiId,
|
|
this.dateObjectProfilePhoto,
|
|
this.dateObjectNickName,
|
|
this.dateObjectProvinceCode,
|
|
this.dateObjectProvinceName,
|
|
this.dateObjectCityCode,
|
|
this.dateObjectCityName,
|
|
this.dateObjectBirthYear,
|
|
this.dateObjectBirthDate,
|
|
this.dateObjectAge});
|
|
|
|
Records.fromJson(Map<String, dynamic> json) {
|
|
createTime = json['createTime'];
|
|
anchorMiId = json['anchorMiId'];
|
|
anchorProfilePhoto = json['anchorProfilePhoto'];
|
|
anchorNickName = json['anchorNickName'];
|
|
dateObjectMiId = json['dateObjectMiId'];
|
|
dateObjectProfilePhoto = json['dateObjectProfilePhoto'];
|
|
dateObjectNickName = json['dateObjectNickName'];
|
|
dateObjectProvinceCode = json['dateObjectProvinceCode'];
|
|
dateObjectProvinceName = json['dateObjectProvinceName'];
|
|
dateObjectCityCode = json['dateObjectCityCode'];
|
|
dateObjectCityName = json['dateObjectCityName'];
|
|
dateObjectBirthYear = json['dateObjectBirthYear'];
|
|
dateObjectBirthDate = json['dateObjectBirthDate'];
|
|
dateObjectAge = json['dateObjectAge'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['createTime'] = this.createTime;
|
|
data['anchorMiId'] = this.anchorMiId;
|
|
data['anchorProfilePhoto'] = this.anchorProfilePhoto;
|
|
data['anchorNickName'] = this.anchorNickName;
|
|
data['dateObjectMiId'] = this.dateObjectMiId;
|
|
data['dateObjectProfilePhoto'] = this.dateObjectProfilePhoto;
|
|
data['dateObjectNickName'] = this.dateObjectNickName;
|
|
data['dateObjectProvinceCode'] = this.dateObjectProvinceCode;
|
|
data['dateObjectProvinceName'] = this.dateObjectProvinceName;
|
|
data['dateObjectCityCode'] = this.dateObjectCityCode;
|
|
data['dateObjectCityName'] = this.dateObjectCityName;
|
|
data['dateObjectBirthYear'] = this.dateObjectBirthYear;
|
|
data['dateObjectBirthDate'] = this.dateObjectBirthDate;
|
|
data['dateObjectAge'] = this.dateObjectAge;
|
|
return data;
|
|
}
|
|
}
|