class CheckingInAddStaffSelectKeyEntity { CheckingInAddStaffSelectKeyEntity( {this.errorCode, this.description, this.errorMsg, this.data}); CheckingInAddStaffSelectKeyEntity.fromJson(Map json) { errorCode = json['errorCode']; description = json['description']; errorMsg = json['errorMsg']; if (json['data'] != null) { data = []; json['data'].forEach((v) { data!.add(CheckingInAddStaffKeyEntity.fromJson(v)); }); } } int? errorCode; String? description; String? errorMsg; List? data; Map toJson() { final Map data = {}; data['errorCode'] = errorCode; data['description'] = description; data['errorMsg'] = errorMsg; if (this.data != null) { data['data'] = this.data!.map((v) => v.toJson()).toList(); } return data; } } class CheckingInAddStaffKeyEntity { CheckingInAddStaffKeyEntity({this.attendanceWay, this.staffName}); CheckingInAddStaffKeyEntity.fromJson(Map json) { attendanceWay = json['attendanceWay']; staffName = json['staffName']; } String? attendanceWay; String? staffName; Map toJson() { final Map data = {}; data['attendanceWay'] = attendanceWay; data['staffName'] = staffName; return data; } }