2023-09-22 16:06:08 +08:00
|
|
|
class RecipientInformationEntity {
|
|
|
|
|
int? errorCode;
|
|
|
|
|
String? description;
|
|
|
|
|
String? errorMsg;
|
|
|
|
|
RecipientInformationData? data;
|
|
|
|
|
|
|
|
|
|
RecipientInformationEntity(
|
|
|
|
|
{this.errorCode, this.description, this.errorMsg, this.data});
|
|
|
|
|
|
|
|
|
|
RecipientInformationEntity.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
errorCode = json['errorCode'];
|
|
|
|
|
description = json['description'];
|
|
|
|
|
errorMsg = json['errorMsg'];
|
|
|
|
|
data = json['data'] != null ? RecipientInformationData.fromJson(json['data']) : null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['errorCode'] = errorCode;
|
|
|
|
|
data['description'] = description;
|
|
|
|
|
data['errorMsg'] = errorMsg;
|
|
|
|
|
if (this.data != null) {
|
|
|
|
|
data['data'] = this.data!.toJson();
|
|
|
|
|
}
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class RecipientInformationData {
|
2024-03-29 18:32:33 +08:00
|
|
|
int? uid;
|
2023-09-22 16:06:08 +08:00
|
|
|
String? nickname;
|
|
|
|
|
String? headUrl;
|
|
|
|
|
String? userid;
|
|
|
|
|
|
|
|
|
|
RecipientInformationData({this.uid, this.nickname, this.headUrl, this.userid});
|
|
|
|
|
|
|
|
|
|
RecipientInformationData.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
uid = json['uid'];
|
|
|
|
|
nickname = json['nickname'];
|
|
|
|
|
headUrl = json['headUrl'];
|
|
|
|
|
userid = json['userid'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['uid'] = uid;
|
|
|
|
|
data['nickname'] = nickname;
|
|
|
|
|
data['headUrl'] = headUrl;
|
|
|
|
|
data['userid'] = userid;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|