class CheckingInListMonthEntity { CheckingInListMonthEntity( {this.errorCode, this.description, this.errorMsg, this.data}); CheckingInListMonthEntity.fromJson(Map json) { errorCode = json['errorCode']; description = json['description']; errorMsg = json['errorMsg']; if (json['data'] != null) { data = []; json['data'].forEach((v) { data!.add(AttendanceRecordMonthList.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 AttendanceRecordMonthList { AttendanceRecordMonthList( {this.headurl, this.isSelf, this.staffName, this.staffId, this.attendanceType, this.countryCode, this.openingTimeStart, this.attendanceWay, this.avgTime}); AttendanceRecordMonthList.fromJson(Map json) { headurl = json['headurl']; isSelf = json['isSelf']; staffName = json['staffName']; staffId = json['staffId']; attendanceType = json['attendanceType']; countryCode = json['countryCode']; openingTimeStart = json['openingTimeStart']; attendanceWay = json['attendanceWay']; avgTime = json['avgTime']; } String? headurl; int? isSelf; String? staffName; int? staffId; int? attendanceType; int? countryCode; int? openingTimeStart; String? attendanceWay; int? avgTime; Map toJson() { final Map data = {}; data['headurl'] = headurl; data['isSelf'] = isSelf; data['staffName'] = staffName; data['staffId'] = staffId; data['attendanceType'] = attendanceType; data['countryCode'] = countryCode; data['openingTimeStart'] = openingTimeStart; data['attendanceWay'] = attendanceWay; data['avgTime'] = avgTime; return data; } }