class CheckingInSetEntity { CheckingInSetEntity( {this.errorCode, this.description, this.errorMsg, this.data}); CheckingInSetEntity.fromJson(Map json) { errorCode = json['errorCode']; description = json['description']; errorMsg = json['errorMsg']; data = json['data'] != null ? CheckingInSetInfo.fromJson(json['data']) : null; } int? errorCode; String? description; String? errorMsg; CheckingInSetInfo? data; Map toJson() { final Map data = {}; data['errorCode'] = errorCode; data['description'] = description; data['errorMsg'] = errorMsg; if (this.data != null) { data['data'] = this.data!.toJson(); } return data; } } class CheckingInSetInfo { CheckingInSetInfo( {this.staffNum, this.workEndTime, this.attendanceType, this.companyId, this.companyName, this.workStartTime, this.workDay}); CheckingInSetInfo.fromJson(Map json) { staffNum = json['staffNum']; workEndTime = json['workEndTime']; attendanceType = json['attendanceType']; companyId = json['companyId']; companyName = json['companyName']; workStartTime = json['workStartTime']; workDay = json['workDay'].cast(); } int? staffNum; int? workEndTime; int? attendanceType; int? companyId; String? companyName; int? workStartTime; List? workDay; Map toJson() { final Map data = {}; data['staffNum'] = staffNum; data['workEndTime'] = workEndTime; data['attendanceType'] = attendanceType; data['companyId'] = companyId; data['companyName'] = companyName; data['workStartTime'] = workStartTime; data['workDay'] = workDay; return data; } }