class CheckingInInfoDataEntity { int? errorCode; String? description; String? errorMsg; Data? data; CheckingInInfoDataEntity( {this.errorCode, this.description, this.errorMsg, this.data}); CheckingInInfoDataEntity.fromJson(Map json) { errorCode = json['errorCode']; description = json['description']; errorMsg = json['errorMsg']; data = json['data'] != null ? Data.fromJson(json['data']) : null; } 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 Data { int? workEndTime; int? attendanceType; int? companyId; int? workStartTime; List? workDay; Data( {this.workEndTime, this.attendanceType, this.companyId, this.workStartTime, this.workDay}); Data.fromJson(Map json) { workEndTime = json['workEndTime']; attendanceType = json['attendanceType']; companyId = json['companyId']; workStartTime = json['workStartTime']; workDay = json['workDay']; } Map toJson() { final Map data = {}; data['workEndTime'] = workEndTime; data['attendanceType'] = attendanceType; data['companyId'] = companyId; data['workStartTime'] = workStartTime; data['workDay'] = workDay; return data; } }