app-starlock/lib/tools/aliyunRealNameAuth/realNameVertify_entity.dart
2024-05-22 10:41:44 +08:00

42 lines
1.0 KiB
Dart
Executable File

class LockCertifyEntity {
LockCertifyEntity(
{this.errorCode, this.description, this.errorMsg, this.data});
LockCertifyEntity.fromJson(Map<String, dynamic> json) {
errorCode = json['errorCode'];
description = json['description'];
errorMsg = json['errorMsg'];
data = json['data'] != null ? Data.fromJson(json['data']) : null;
}
int? errorCode;
String? description;
String? errorMsg;
Data? data;
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 Data {
Data({this.certifyId});
Data.fromJson(Map<String, dynamic> json) {
certifyId = json['certifyId'];
}
String? certifyId;
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['certifyId'] = certifyId;
return data;
}
}