42 lines
1.0 KiB
Dart
Executable File
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;
|
|
}
|
|
}
|