json_convert_content.dart 66 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  1. // ignore_for_file: non_constant_identifier_names
  2. // ignore_for_file: camel_case_types
  3. // ignore_for_file: prefer_single_quotes
  4. // This file is automatically generated. DO NOT EDIT, all your changes would be lost.
  5. import 'package:flutter/material.dart' show debugPrint;
  6. import 'package:domain/entity/response/add_edit_revise_view_s_g_entity.dart';
  7. import 'package:domain/entity/response/agency_detail_entity.dart';
  8. import 'package:domain/entity/response/agency_option_entity.dart';
  9. import 'package:domain/entity/response/agency_table_entity.dart';
  10. import 'package:domain/entity/response/attendance_entity.dart';
  11. import 'package:domain/entity/response/attendance_review_entity.dart';
  12. import 'package:domain/entity/response/check_success_entity.dart';
  13. import 'package:domain/entity/response/contract_detail_entity.dart';
  14. import 'package:domain/entity/response/contract_option_entity.dart';
  15. import 'package:domain/entity/response/contract_position_add_option_entity.dart';
  16. import 'package:domain/entity/response/contract_position_option_entity.dart';
  17. import 'package:domain/entity/response/contract_position_rate_detail_entity.dart';
  18. import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart';
  19. import 'package:domain/entity/response/contract_position_rate_table_entity.dart';
  20. import 'package:domain/entity/response/contract_position_table_entity.dart';
  21. import 'package:domain/entity/response/contract_table_entity.dart';
  22. import 'package:domain/entity/response/device_list_entity.dart';
  23. import 'package:domain/entity/response/fiance_report_entity.dart';
  24. import 'package:domain/entity/response/hotel_info_entity.dart';
  25. import 'package:domain/entity/response/id_name_entity.dart';
  26. import 'package:domain/entity/response/index_option_entity.dart';
  27. import 'package:domain/entity/response/job_applied_edit_index_s_g_entity.dart';
  28. import 'package:domain/entity/response/job_applied_index_s_g_entity.dart';
  29. import 'package:domain/entity/response/job_applied_list_s_g_entity.dart';
  30. import 'package:domain/entity/response/job_applied_remark_view_s_g_entity.dart';
  31. import 'package:domain/entity/response/job_applied_staff_s_g_entity.dart';
  32. import 'package:domain/entity/response/job_list_add_staff_entity.dart';
  33. import 'package:domain/entity/response/job_list_applied_edit_entity.dart';
  34. import 'package:domain/entity/response/job_list_applied_info_entity.dart';
  35. import 'package:domain/entity/response/job_list_applied_staff_list_entity.dart';
  36. import 'package:domain/entity/response/job_list_applied_staff_search_entity.dart';
  37. import 'package:domain/entity/response/job_list_applied_work_flow_entity.dart';
  38. import 'package:domain/entity/response/job_list_detail_entity.dart';
  39. import 'package:domain/entity/response/job_list_e_r_detail_entity.dart';
  40. import 'package:domain/entity/response/job_list_e_r_option_entity.dart';
  41. import 'package:domain/entity/response/job_list_edit_index_s_g_entity.dart';
  42. import 'package:domain/entity/response/job_list_entity.dart';
  43. import 'package:domain/entity/response/job_list_index_entity.dart';
  44. import 'package:domain/entity/response/job_list_index_s_g_entity.dart';
  45. import 'package:domain/entity/response/job_list_remark_view_entity.dart';
  46. import 'package:domain/entity/response/job_list_s_g_entity.dart';
  47. import 'package:domain/entity/response/job_template_edit_index_entity.dart';
  48. import 'package:domain/entity/response/job_template_s_g_entity.dart';
  49. import 'package:domain/entity/response/job_title_edit_index_entity.dart';
  50. import 'package:domain/entity/response/job_title_s_g_entity.dart';
  51. import 'package:domain/entity/response/labour_list_e_r_entity.dart';
  52. import 'package:domain/entity/response/labour_report_entity.dart';
  53. import 'package:domain/entity/response/labour_report_v_n_entity.dart';
  54. import 'package:domain/entity/response/labour_request_e_r_entity.dart';
  55. import 'package:domain/entity/response/labour_request_e_r_option_entity.dart';
  56. import 'package:domain/entity/response/labour_request_edit_index_entity.dart';
  57. import 'package:domain/entity/response/labour_request_index_entity.dart';
  58. import 'package:domain/entity/response/labour_request_list_entity.dart';
  59. import 'package:domain/entity/response/labour_request_work_flow_entity.dart';
  60. import 'package:domain/entity/response/labour_review_list_entity.dart';
  61. import 'package:domain/entity/response/labour_review_status_entity.dart';
  62. import 'package:domain/entity/response/position_table_entity.dart';
  63. import 'package:domain/entity/response/revise_index_s_g_entity.dart';
  64. import 'package:domain/entity/response/revise_list_s_g_entity.dart';
  65. import 'package:domain/entity/response/revise_log_s_g_entity.dart';
  66. import 'package:domain/entity/response/s_g_attendance_review_option_entity.dart';
  67. import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart';
  68. import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart';
  69. import 'package:domain/entity/response/s_g_dashboard_entity.dart';
  70. import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart';
  71. import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart';
  72. import 'package:domain/entity/response/s_g_labour_request_option_entity.dart';
  73. import 'package:domain/entity/response/s_g_labour_request_table_entity.dart';
  74. import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart';
  75. import 'package:domain/entity/response/s_g_labour_review_option_entity.dart';
  76. import 'package:domain/entity/response/s_g_labour_review_table_entity.dart';
  77. import 'package:domain/entity/response/sign_in_sign_out_entity.dart';
  78. import 'package:domain/entity/response/staff_detail_entity.dart';
  79. import 'package:domain/entity/response/staff_detail_s_g_entity.dart';
  80. import 'package:domain/entity/response/staff_job_history_s_g_entity.dart';
  81. import 'package:domain/entity/response/staff_labour_history_entity.dart';
  82. import 'package:domain/entity/response/staff_remark_history_entity.dart';
  83. import 'package:domain/entity/response/staff_report_v_n_entity.dart';
  84. import 'package:domain/entity/response/staff_request_report_entity.dart';
  85. import 'package:domain/entity/response/staff_review_history_s_g_entity.dart';
  86. import 'package:domain/entity/response/switch_project_entity.dart';
  87. import 'package:domain/entity/response/t_h_applied_edit_entity.dart';
  88. import 'package:domain/entity/response/t_h_applied_employee_entity.dart';
  89. import 'package:domain/entity/response/t_h_applied_index_entity.dart';
  90. import 'package:domain/entity/response/t_h_applied_table_entity.dart';
  91. import 'package:domain/entity/response/t_h_employee_detail_entity.dart';
  92. import 'package:domain/entity/response/t_h_employee_remarks_entity.dart';
  93. import 'package:domain/entity/response/t_h_o_a_attachment_entity.dart';
  94. import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart';
  95. import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart';
  96. import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart';
  97. import 'package:domain/entity/response/t_h_pre_selected_option_entity.dart';
  98. import 'package:domain/entity/response/t_h_pre_selected_staff_table_entity.dart';
  99. import 'package:domain/entity/response/t_h_pre_selected_table_entity.dart';
  100. import 'package:domain/entity/response/t_h_upload_file_entity.dart';
  101. import 'package:domain/entity/response/u_k_attendance_entity.dart';
  102. import 'package:domain/entity/response/u_k_report_attendance_entity.dart';
  103. import 'package:domain/entity/response/u_k_report_labour_entity.dart';
  104. import 'package:domain/entity/response/u_k_report_working_hours_entity.dart';
  105. import 'package:domain/entity/response/u_k_security_attendance_entity.dart';
  106. import 'package:domain/entity/response/u_k_security_attendance_option_entity.dart';
  107. import 'package:domain/entity/response/u_k_template_detail_entity.dart';
  108. import 'package:domain/entity/response/u_k_template_entity.dart';
  109. import 'package:domain/entity/server_time.dart';
  110. JsonConvert jsonConvert = JsonConvert();
  111. typedef JsonConvertFunction<T> = T Function(Map<String, dynamic> json);
  112. typedef EnumConvertFunction<T> = T Function(String value);
  113. typedef ConvertExceptionHandler = void Function(Object error, StackTrace stackTrace);
  114. extension MapSafeExt<K, V> on Map<K, V> {
  115. T? getOrNull<T>(K? key) {
  116. if (!containsKey(key) || key == null) {
  117. return null;
  118. } else {
  119. return this[key] as T?;
  120. }
  121. }
  122. }
  123. class JsonConvert {
  124. static ConvertExceptionHandler? onError;
  125. JsonConvertClassCollection convertFuncMap = JsonConvertClassCollection();
  126. /// When you are in the development, to generate a new model class, hot-reload doesn't find new generation model class, you can build on MaterialApp method called jsonConvert. ReassembleConvertFuncMap (); This method only works in a development environment
  127. /// https://flutter.cn/docs/development/tools/hot-reload
  128. /// class MyApp extends StatelessWidget {
  129. /// const MyApp({Key? key})
  130. /// : super(key: key);
  131. ///
  132. /// @override
  133. /// Widget build(BuildContext context) {
  134. /// jsonConvert.reassembleConvertFuncMap();
  135. /// return MaterialApp();
  136. /// }
  137. /// }
  138. void reassembleConvertFuncMap() {
  139. bool isReleaseMode = const bool.fromEnvironment('dart.vm.product');
  140. if (!isReleaseMode) {
  141. convertFuncMap = JsonConvertClassCollection();
  142. }
  143. }
  144. T? convert<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  145. if (value == null) {
  146. return null;
  147. }
  148. if (value is T) {
  149. return value;
  150. }
  151. try {
  152. return _asT<T>(value, enumConvert: enumConvert);
  153. } catch (e, stackTrace) {
  154. debugPrint('asT<$T> $e $stackTrace');
  155. if (onError != null) {
  156. onError!(e, stackTrace);
  157. }
  158. return null;
  159. }
  160. }
  161. List<T?>? convertList<T>(List<dynamic>? value, {EnumConvertFunction? enumConvert}) {
  162. if (value == null) {
  163. return null;
  164. }
  165. try {
  166. return value.map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)).toList();
  167. } catch (e, stackTrace) {
  168. debugPrint('asT<$T> $e $stackTrace');
  169. if (onError != null) {
  170. onError!(e, stackTrace);
  171. }
  172. return <T>[];
  173. }
  174. }
  175. List<T>? convertListNotNull<T>(dynamic value, {EnumConvertFunction? enumConvert}) {
  176. if (value == null) {
  177. return null;
  178. }
  179. try {
  180. return (value as List<dynamic>).map((dynamic e) => _asT<T>(e, enumConvert: enumConvert)!).toList();
  181. } catch (e, stackTrace) {
  182. debugPrint('asT<$T> $e $stackTrace');
  183. if (onError != null) {
  184. onError!(e, stackTrace);
  185. }
  186. return <T>[];
  187. }
  188. }
  189. T? _asT<T extends Object?>(dynamic value,
  190. {EnumConvertFunction? enumConvert}) {
  191. final String type = T.toString();
  192. final String valueS = value.toString();
  193. if (enumConvert != null) {
  194. return enumConvert(valueS) as T;
  195. } else if (type == "String") {
  196. return valueS as T;
  197. } else if (type == "int") {
  198. final int? intValue = int.tryParse(valueS);
  199. if (intValue == null) {
  200. return double.tryParse(valueS)?.toInt() as T?;
  201. } else {
  202. return intValue as T;
  203. }
  204. } else if (type == "double") {
  205. return double.parse(valueS) as T;
  206. } else if (type == "DateTime") {
  207. return DateTime.parse(valueS) as T;
  208. } else if (type == "bool") {
  209. if (valueS == '0' || valueS == '1') {
  210. return (valueS == '1') as T;
  211. }
  212. return (valueS == 'true') as T;
  213. } else if (type == "Map" || type.startsWith("Map<")) {
  214. return value as T;
  215. } else {
  216. if (convertFuncMap.containsKey(type)) {
  217. if (value == null) {
  218. return null;
  219. }
  220. var covertFunc = convertFuncMap[type]!;
  221. if (covertFunc is Map<String, dynamic>) {
  222. return covertFunc(value as Map<String, dynamic>) as T;
  223. } else {
  224. return covertFunc(Map<String, dynamic>.from(value)) as T;
  225. }
  226. } else {
  227. throw UnimplementedError('$type unimplemented,you can try running the app again');
  228. }
  229. }
  230. }
  231. //list is returned by type
  232. static M? _getListChildType<M>(List<Map<String, dynamic>> data) {
  233. if (<AddEditReviseViewSGEntity>[] is M) {
  234. return data.map<AddEditReviseViewSGEntity>((Map<String, dynamic> e) => AddEditReviseViewSGEntity.fromJson(e)).toList() as M;
  235. }
  236. if (<AgencyDetailEntity>[] is M) {
  237. return data.map<AgencyDetailEntity>((Map<String, dynamic> e) => AgencyDetailEntity.fromJson(e)).toList() as M;
  238. }
  239. if (<AgencyDetailPivot>[] is M) {
  240. return data.map<AgencyDetailPivot>((Map<String, dynamic> e) => AgencyDetailPivot.fromJson(e)).toList() as M;
  241. }
  242. if (<AgencyOptionEntity>[] is M) {
  243. return data.map<AgencyOptionEntity>((Map<String, dynamic> e) => AgencyOptionEntity.fromJson(e)).toList() as M;
  244. }
  245. if (<AgencyTableEntity>[] is M) {
  246. return data.map<AgencyTableEntity>((Map<String, dynamic> e) => AgencyTableEntity.fromJson(e)).toList() as M;
  247. }
  248. if (<AgencyTableRows>[] is M) {
  249. return data.map<AgencyTableRows>((Map<String, dynamic> e) => AgencyTableRows.fromJson(e)).toList() as M;
  250. }
  251. if (<AttendanceEntity>[] is M) {
  252. return data.map<AttendanceEntity>((Map<String, dynamic> e) => AttendanceEntity.fromJson(e)).toList() as M;
  253. }
  254. if (<AttendanceList>[] is M) {
  255. return data.map<AttendanceList>((Map<String, dynamic> e) => AttendanceList.fromJson(e)).toList() as M;
  256. }
  257. if (<AttendanceReviewEntity>[] is M) {
  258. return data.map<AttendanceReviewEntity>((Map<String, dynamic> e) => AttendanceReviewEntity.fromJson(e)).toList() as M;
  259. }
  260. if (<AttendanceReviewRows>[] is M) {
  261. return data.map<AttendanceReviewRows>((Map<String, dynamic> e) => AttendanceReviewRows.fromJson(e)).toList() as M;
  262. }
  263. if (<CheckSuccessEntity>[] is M) {
  264. return data.map<CheckSuccessEntity>((Map<String, dynamic> e) => CheckSuccessEntity.fromJson(e)).toList() as M;
  265. }
  266. if (<ContractDetailEntity>[] is M) {
  267. return data.map<ContractDetailEntity>((Map<String, dynamic> e) => ContractDetailEntity.fromJson(e)).toList() as M;
  268. }
  269. if (<ContractDetailRow>[] is M) {
  270. return data.map<ContractDetailRow>((Map<String, dynamic> e) => ContractDetailRow.fromJson(e)).toList() as M;
  271. }
  272. if (<ContractOptionEntity>[] is M) {
  273. return data.map<ContractOptionEntity>((Map<String, dynamic> e) => ContractOptionEntity.fromJson(e)).toList() as M;
  274. }
  275. if (<ContractPositionAddOptionEntity>[] is M) {
  276. return data.map<ContractPositionAddOptionEntity>((Map<String, dynamic> e) => ContractPositionAddOptionEntity.fromJson(e)).toList() as M;
  277. }
  278. if (<ContractPositionOptionEntity>[] is M) {
  279. return data.map<ContractPositionOptionEntity>((Map<String, dynamic> e) => ContractPositionOptionEntity.fromJson(e)).toList() as M;
  280. }
  281. if (<ContractPositionRateDetailEntity>[] is M) {
  282. return data.map<ContractPositionRateDetailEntity>((Map<String, dynamic> e) => ContractPositionRateDetailEntity.fromJson(e)).toList() as M;
  283. }
  284. if (<ContractPositionRateSpecificOptionEntity>[] is M) {
  285. return data.map<ContractPositionRateSpecificOptionEntity>((Map<String, dynamic> e) => ContractPositionRateSpecificOptionEntity.fromJson(e)).toList() as M;
  286. }
  287. if (<ContractPositionRateTableEntity>[] is M) {
  288. return data.map<ContractPositionRateTableEntity>((Map<String, dynamic> e) => ContractPositionRateTableEntity.fromJson(e)).toList() as M;
  289. }
  290. if (<ContractPositionRateTableRows>[] is M) {
  291. return data.map<ContractPositionRateTableRows>((Map<String, dynamic> e) => ContractPositionRateTableRows.fromJson(e)).toList() as M;
  292. }
  293. if (<ContractPositionTableEntity>[] is M) {
  294. return data.map<ContractPositionTableEntity>((Map<String, dynamic> e) => ContractPositionTableEntity.fromJson(e)).toList() as M;
  295. }
  296. if (<ContractPositionTableRows>[] is M) {
  297. return data.map<ContractPositionTableRows>((Map<String, dynamic> e) => ContractPositionTableRows.fromJson(e)).toList() as M;
  298. }
  299. if (<ContractTableEntity>[] is M) {
  300. return data.map<ContractTableEntity>((Map<String, dynamic> e) => ContractTableEntity.fromJson(e)).toList() as M;
  301. }
  302. if (<ContractTableRows>[] is M) {
  303. return data.map<ContractTableRows>((Map<String, dynamic> e) => ContractTableRows.fromJson(e)).toList() as M;
  304. }
  305. if (<DeviceListEntity>[] is M) {
  306. return data.map<DeviceListEntity>((Map<String, dynamic> e) => DeviceListEntity.fromJson(e)).toList() as M;
  307. }
  308. if (<DeviceListRows>[] is M) {
  309. return data.map<DeviceListRows>((Map<String, dynamic> e) => DeviceListRows.fromJson(e)).toList() as M;
  310. }
  311. if (<FianceReportEntity>[] is M) {
  312. return data.map<FianceReportEntity>((Map<String, dynamic> e) => FianceReportEntity.fromJson(e)).toList() as M;
  313. }
  314. if (<FianceReportRateList>[] is M) {
  315. return data.map<FianceReportRateList>((Map<String, dynamic> e) => FianceReportRateList.fromJson(e)).toList() as M;
  316. }
  317. if (<HotelInfoEntity>[] is M) {
  318. return data.map<HotelInfoEntity>((Map<String, dynamic> e) => HotelInfoEntity.fromJson(e)).toList() as M;
  319. }
  320. if (<HotelInfoMenus>[] is M) {
  321. return data.map<HotelInfoMenus>((Map<String, dynamic> e) => HotelInfoMenus.fromJson(e)).toList() as M;
  322. }
  323. if (<HotelInfoMenusChildren>[] is M) {
  324. return data.map<HotelInfoMenusChildren>((Map<String, dynamic> e) => HotelInfoMenusChildren.fromJson(e)).toList() as M;
  325. }
  326. if (<IdNameEntity>[] is M) {
  327. return data.map<IdNameEntity>((Map<String, dynamic> e) => IdNameEntity.fromJson(e)).toList() as M;
  328. }
  329. if (<IndexOptionEntity>[] is M) {
  330. return data.map<IndexOptionEntity>((Map<String, dynamic> e) => IndexOptionEntity.fromJson(e)).toList() as M;
  331. }
  332. if (<JobAppliedEditIndexSGEntity>[] is M) {
  333. return data.map<JobAppliedEditIndexSGEntity>((Map<String, dynamic> e) => JobAppliedEditIndexSGEntity.fromJson(e)).toList() as M;
  334. }
  335. if (<JobAppliedEditIndexSGStatusList>[] is M) {
  336. return data.map<JobAppliedEditIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedEditIndexSGStatusList.fromJson(e)).toList() as M;
  337. }
  338. if (<JobAppliedIndexSGEntity>[] is M) {
  339. return data.map<JobAppliedIndexSGEntity>((Map<String, dynamic> e) => JobAppliedIndexSGEntity.fromJson(e)).toList() as M;
  340. }
  341. if (<JobAppliedIndexSGStatusList>[] is M) {
  342. return data.map<JobAppliedIndexSGStatusList>((Map<String, dynamic> e) => JobAppliedIndexSGStatusList.fromJson(e)).toList() as M;
  343. }
  344. if (<JobAppliedListSGEntity>[] is M) {
  345. return data.map<JobAppliedListSGEntity>((Map<String, dynamic> e) => JobAppliedListSGEntity.fromJson(e)).toList() as M;
  346. }
  347. if (<JobAppliedListSGRows>[] is M) {
  348. return data.map<JobAppliedListSGRows>((Map<String, dynamic> e) => JobAppliedListSGRows.fromJson(e)).toList() as M;
  349. }
  350. if (<JobAppliedListSGRowsCheck>[] is M) {
  351. return data.map<JobAppliedListSGRowsCheck>((Map<String, dynamic> e) => JobAppliedListSGRowsCheck.fromJson(e)).toList() as M;
  352. }
  353. if (<JobAppliedListSGRowsStatusList>[] is M) {
  354. return data.map<JobAppliedListSGRowsStatusList>((Map<String, dynamic> e) => JobAppliedListSGRowsStatusList.fromJson(e)).toList() as M;
  355. }
  356. if (<JobAppliedRemarkViewSGEntity>[] is M) {
  357. return data.map<JobAppliedRemarkViewSGEntity>((Map<String, dynamic> e) => JobAppliedRemarkViewSGEntity.fromJson(e)).toList() as M;
  358. }
  359. if (<JobAppliedStaffSGEntity>[] is M) {
  360. return data.map<JobAppliedStaffSGEntity>((Map<String, dynamic> e) => JobAppliedStaffSGEntity.fromJson(e)).toList() as M;
  361. }
  362. if (<JobAppliedStaffSGRows>[] is M) {
  363. return data.map<JobAppliedStaffSGRows>((Map<String, dynamic> e) => JobAppliedStaffSGRows.fromJson(e)).toList() as M;
  364. }
  365. if (<JobListAddStaffEntity>[] is M) {
  366. return data.map<JobListAddStaffEntity>((Map<String, dynamic> e) => JobListAddStaffEntity.fromJson(e)).toList() as M;
  367. }
  368. if (<JobListAddStaffResultList>[] is M) {
  369. return data.map<JobListAddStaffResultList>((Map<String, dynamic> e) => JobListAddStaffResultList.fromJson(e)).toList() as M;
  370. }
  371. if (<JobListAppliedEditEntity>[] is M) {
  372. return data.map<JobListAppliedEditEntity>((Map<String, dynamic> e) => JobListAppliedEditEntity.fromJson(e)).toList() as M;
  373. }
  374. if (<JobListAppliedEditReasonList>[] is M) {
  375. return data.map<JobListAppliedEditReasonList>((Map<String, dynamic> e) => JobListAppliedEditReasonList.fromJson(e)).toList() as M;
  376. }
  377. if (<JobListAppliedInfoEntity>[] is M) {
  378. return data.map<JobListAppliedInfoEntity>((Map<String, dynamic> e) => JobListAppliedInfoEntity.fromJson(e)).toList() as M;
  379. }
  380. if (<JobListAppliedStaffListEntity>[] is M) {
  381. return data.map<JobListAppliedStaffListEntity>((Map<String, dynamic> e) => JobListAppliedStaffListEntity.fromJson(e)).toList() as M;
  382. }
  383. if (<JobListAppliedStaffListRows>[] is M) {
  384. return data.map<JobListAppliedStaffListRows>((Map<String, dynamic> e) => JobListAppliedStaffListRows.fromJson(e)).toList() as M;
  385. }
  386. if (<JobListAppliedStaffListRowsSecurityIn>[] is M) {
  387. return data.map<JobListAppliedStaffListRowsSecurityIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityIn.fromJson(e)).toList() as M;
  388. }
  389. if (<JobListAppliedStaffListRowsSecurityOut>[] is M) {
  390. return data.map<JobListAppliedStaffListRowsSecurityOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsSecurityOut.fromJson(e)).toList() as M;
  391. }
  392. if (<JobListAppliedStaffListRowsWorkIn>[] is M) {
  393. return data.map<JobListAppliedStaffListRowsWorkIn>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkIn.fromJson(e)).toList() as M;
  394. }
  395. if (<JobListAppliedStaffListRowsWorkOut>[] is M) {
  396. return data.map<JobListAppliedStaffListRowsWorkOut>((Map<String, dynamic> e) => JobListAppliedStaffListRowsWorkOut.fromJson(e)).toList() as M;
  397. }
  398. if (<JobListAppliedStaffSearchEntity>[] is M) {
  399. return data.map<JobListAppliedStaffSearchEntity>((Map<String, dynamic> e) => JobListAppliedStaffSearchEntity.fromJson(e)).toList() as M;
  400. }
  401. if (<JobListAppliedStaffSearchRows>[] is M) {
  402. return data.map<JobListAppliedStaffSearchRows>((Map<String, dynamic> e) => JobListAppliedStaffSearchRows.fromJson(e)).toList() as M;
  403. }
  404. if (<JobListAppliedWorkFlowEntity>[] is M) {
  405. return data.map<JobListAppliedWorkFlowEntity>((Map<String, dynamic> e) => JobListAppliedWorkFlowEntity.fromJson(e)).toList() as M;
  406. }
  407. if (<JobListAppliedWorkFlowRecords>[] is M) {
  408. return data.map<JobListAppliedWorkFlowRecords>((Map<String, dynamic> e) => JobListAppliedWorkFlowRecords.fromJson(e)).toList() as M;
  409. }
  410. if (<JobListDetailEntity>[] is M) {
  411. return data.map<JobListDetailEntity>((Map<String, dynamic> e) => JobListDetailEntity.fromJson(e)).toList() as M;
  412. }
  413. if (<JobListDetailDepartmentList>[] is M) {
  414. return data.map<JobListDetailDepartmentList>((Map<String, dynamic> e) => JobListDetailDepartmentList.fromJson(e)).toList() as M;
  415. }
  416. if (<JobListERDetailEntity>[] is M) {
  417. return data.map<JobListERDetailEntity>((Map<String, dynamic> e) => JobListERDetailEntity.fromJson(e)).toList() as M;
  418. }
  419. if (<JobListERDetailJob>[] is M) {
  420. return data.map<JobListERDetailJob>((Map<String, dynamic> e) => JobListERDetailJob.fromJson(e)).toList() as M;
  421. }
  422. if (<JobListEROptionEntity>[] is M) {
  423. return data.map<JobListEROptionEntity>((Map<String, dynamic> e) => JobListEROptionEntity.fromJson(e)).toList() as M;
  424. }
  425. if (<JobListEROptionFilter>[] is M) {
  426. return data.map<JobListEROptionFilter>((Map<String, dynamic> e) => JobListEROptionFilter.fromJson(e)).toList() as M;
  427. }
  428. if (<JobListEditIndexSGEntity>[] is M) {
  429. return data.map<JobListEditIndexSGEntity>((Map<String, dynamic> e) => JobListEditIndexSGEntity.fromJson(e)).toList() as M;
  430. }
  431. if (<JobListEditIndexOption>[] is M) {
  432. return data.map<JobListEditIndexOption>((Map<String, dynamic> e) => JobListEditIndexOption.fromJson(e)).toList() as M;
  433. }
  434. if (<JobListEntity>[] is M) {
  435. return data.map<JobListEntity>((Map<String, dynamic> e) => JobListEntity.fromJson(e)).toList() as M;
  436. }
  437. if (<JobListRows>[] is M) {
  438. return data.map<JobListRows>((Map<String, dynamic> e) => JobListRows.fromJson(e)).toList() as M;
  439. }
  440. if (<JobListIndexEntity>[] is M) {
  441. return data.map<JobListIndexEntity>((Map<String, dynamic> e) => JobListIndexEntity.fromJson(e)).toList() as M;
  442. }
  443. if (<JobListIndexDepartmentList>[] is M) {
  444. return data.map<JobListIndexDepartmentList>((Map<String, dynamic> e) => JobListIndexDepartmentList.fromJson(e)).toList() as M;
  445. }
  446. if (<JobListIndexStatusList>[] is M) {
  447. return data.map<JobListIndexStatusList>((Map<String, dynamic> e) => JobListIndexStatusList.fromJson(e)).toList() as M;
  448. }
  449. if (<JobListIndexSGEntity>[] is M) {
  450. return data.map<JobListIndexSGEntity>((Map<String, dynamic> e) => JobListIndexSGEntity.fromJson(e)).toList() as M;
  451. }
  452. if (<JobListIndexSGOption>[] is M) {
  453. return data.map<JobListIndexSGOption>((Map<String, dynamic> e) => JobListIndexSGOption.fromJson(e)).toList() as M;
  454. }
  455. if (<JobListRemarkViewEntity>[] is M) {
  456. return data.map<JobListRemarkViewEntity>((Map<String, dynamic> e) => JobListRemarkViewEntity.fromJson(e)).toList() as M;
  457. }
  458. if (<JobListSGEntity>[] is M) {
  459. return data.map<JobListSGEntity>((Map<String, dynamic> e) => JobListSGEntity.fromJson(e)).toList() as M;
  460. }
  461. if (<JobListSGRows>[] is M) {
  462. return data.map<JobListSGRows>((Map<String, dynamic> e) => JobListSGRows.fromJson(e)).toList() as M;
  463. }
  464. if (<JobTemplateEditIndexEntity>[] is M) {
  465. return data.map<JobTemplateEditIndexEntity>((Map<String, dynamic> e) => JobTemplateEditIndexEntity.fromJson(e)).toList() as M;
  466. }
  467. if (<JobTemplateEditIndexAgeList>[] is M) {
  468. return data.map<JobTemplateEditIndexAgeList>((Map<String, dynamic> e) => JobTemplateEditIndexAgeList.fromJson(e)).toList() as M;
  469. }
  470. if (<JobTemplateEditIndexSexList>[] is M) {
  471. return data.map<JobTemplateEditIndexSexList>((Map<String, dynamic> e) => JobTemplateEditIndexSexList.fromJson(e)).toList() as M;
  472. }
  473. if (<JobTemplateEditIndexLanguageList>[] is M) {
  474. return data.map<JobTemplateEditIndexLanguageList>((Map<String, dynamic> e) => JobTemplateEditIndexLanguageList.fromJson(e)).toList() as M;
  475. }
  476. if (<JobTemplateSGEntity>[] is M) {
  477. return data.map<JobTemplateSGEntity>((Map<String, dynamic> e) => JobTemplateSGEntity.fromJson(e)).toList() as M;
  478. }
  479. if (<JobTemplateSGRows>[] is M) {
  480. return data.map<JobTemplateSGRows>((Map<String, dynamic> e) => JobTemplateSGRows.fromJson(e)).toList() as M;
  481. }
  482. if (<JobTitleEditIndexEntity>[] is M) {
  483. return data.map<JobTitleEditIndexEntity>((Map<String, dynamic> e) => JobTitleEditIndexEntity.fromJson(e)).toList() as M;
  484. }
  485. if (<JobTitleEditIndexTemplate>[] is M) {
  486. return data.map<JobTitleEditIndexTemplate>((Map<String, dynamic> e) => JobTitleEditIndexTemplate.fromJson(e)).toList() as M;
  487. }
  488. if (<JobTitleSGEntity>[] is M) {
  489. return data.map<JobTitleSGEntity>((Map<String, dynamic> e) => JobTitleSGEntity.fromJson(e)).toList() as M;
  490. }
  491. if (<JobTitleSGRows>[] is M) {
  492. return data.map<JobTitleSGRows>((Map<String, dynamic> e) => JobTitleSGRows.fromJson(e)).toList() as M;
  493. }
  494. if (<LabourListEREntity>[] is M) {
  495. return data.map<LabourListEREntity>((Map<String, dynamic> e) => LabourListEREntity.fromJson(e)).toList() as M;
  496. }
  497. if (<LabourListERRows>[] is M) {
  498. return data.map<LabourListERRows>((Map<String, dynamic> e) => LabourListERRows.fromJson(e)).toList() as M;
  499. }
  500. if (<LabourReportEntity>[] is M) {
  501. return data.map<LabourReportEntity>((Map<String, dynamic> e) => LabourReportEntity.fromJson(e)).toList() as M;
  502. }
  503. if (<LabourReportRows>[] is M) {
  504. return data.map<LabourReportRows>((Map<String, dynamic> e) => LabourReportRows.fromJson(e)).toList() as M;
  505. }
  506. if (<LabourReportTotal>[] is M) {
  507. return data.map<LabourReportTotal>((Map<String, dynamic> e) => LabourReportTotal.fromJson(e)).toList() as M;
  508. }
  509. if (<LabourReportVNEntity>[] is M) {
  510. return data.map<LabourReportVNEntity>((Map<String, dynamic> e) => LabourReportVNEntity.fromJson(e)).toList() as M;
  511. }
  512. if (<LabourReportVNRows>[] is M) {
  513. return data.map<LabourReportVNRows>((Map<String, dynamic> e) => LabourReportVNRows.fromJson(e)).toList() as M;
  514. }
  515. if (<LabourReportVNTotal>[] is M) {
  516. return data.map<LabourReportVNTotal>((Map<String, dynamic> e) => LabourReportVNTotal.fromJson(e)).toList() as M;
  517. }
  518. if (<LabourRequestEREntity>[] is M) {
  519. return data.map<LabourRequestEREntity>((Map<String, dynamic> e) => LabourRequestEREntity.fromJson(e)).toList() as M;
  520. }
  521. if (<LabourRequestERCountList>[] is M) {
  522. return data.map<LabourRequestERCountList>((Map<String, dynamic> e) => LabourRequestERCountList.fromJson(e)).toList() as M;
  523. }
  524. if (<LabourRequestERSourceList>[] is M) {
  525. return data.map<LabourRequestERSourceList>((Map<String, dynamic> e) => LabourRequestERSourceList.fromJson(e)).toList() as M;
  526. }
  527. if (<LabourRequestERSourceListRequestList>[] is M) {
  528. return data.map<LabourRequestERSourceListRequestList>((Map<String, dynamic> e) => LabourRequestERSourceListRequestList.fromJson(e)).toList() as M;
  529. }
  530. if (<LabourRequestEROptionEntity>[] is M) {
  531. return data.map<LabourRequestEROptionEntity>((Map<String, dynamic> e) => LabourRequestEROptionEntity.fromJson(e)).toList() as M;
  532. }
  533. if (<LabourRequestEditIndexEntity>[] is M) {
  534. return data.map<LabourRequestEditIndexEntity>((Map<String, dynamic> e) => LabourRequestEditIndexEntity.fromJson(e)).toList() as M;
  535. }
  536. if (<LabourRequestEditIndexTemplateList>[] is M) {
  537. return data.map<LabourRequestEditIndexTemplateList>((Map<String, dynamic> e) => LabourRequestEditIndexTemplateList.fromJson(e)).toList() as M;
  538. }
  539. if (<LabourRequestEditIndexDepartmentList>[] is M) {
  540. return data.map<LabourRequestEditIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestEditIndexDepartmentList.fromJson(e)).toList() as M;
  541. }
  542. if (<LabourRequestIndexEntity>[] is M) {
  543. return data.map<LabourRequestIndexEntity>((Map<String, dynamic> e) => LabourRequestIndexEntity.fromJson(e)).toList() as M;
  544. }
  545. if (<LabourRequestIndexDepartmentList>[] is M) {
  546. return data.map<LabourRequestIndexDepartmentList>((Map<String, dynamic> e) => LabourRequestIndexDepartmentList.fromJson(e)).toList() as M;
  547. }
  548. if (<LabourRequestIndexStatusList>[] is M) {
  549. return data.map<LabourRequestIndexStatusList>((Map<String, dynamic> e) => LabourRequestIndexStatusList.fromJson(e)).toList() as M;
  550. }
  551. if (<LabourRequestListEntity>[] is M) {
  552. return data.map<LabourRequestListEntity>((Map<String, dynamic> e) => LabourRequestListEntity.fromJson(e)).toList() as M;
  553. }
  554. if (<LabourRequestListRows>[] is M) {
  555. return data.map<LabourRequestListRows>((Map<String, dynamic> e) => LabourRequestListRows.fromJson(e)).toList() as M;
  556. }
  557. if (<LabourRequestWorkFlowEntity>[] is M) {
  558. return data.map<LabourRequestWorkFlowEntity>((Map<String, dynamic> e) => LabourRequestWorkFlowEntity.fromJson(e)).toList() as M;
  559. }
  560. if (<LabourRequestWorkFlowRecords>[] is M) {
  561. return data.map<LabourRequestWorkFlowRecords>((Map<String, dynamic> e) => LabourRequestWorkFlowRecords.fromJson(e)).toList() as M;
  562. }
  563. if (<LabourReviewListEntity>[] is M) {
  564. return data.map<LabourReviewListEntity>((Map<String, dynamic> e) => LabourReviewListEntity.fromJson(e)).toList() as M;
  565. }
  566. if (<LabourReviewListRows>[] is M) {
  567. return data.map<LabourReviewListRows>((Map<String, dynamic> e) => LabourReviewListRows.fromJson(e)).toList() as M;
  568. }
  569. if (<LabourReviewStatusEntity>[] is M) {
  570. return data.map<LabourReviewStatusEntity>((Map<String, dynamic> e) => LabourReviewStatusEntity.fromJson(e)).toList() as M;
  571. }
  572. if (<LabourReviewStatusRecords>[] is M) {
  573. return data.map<LabourReviewStatusRecords>((Map<String, dynamic> e) => LabourReviewStatusRecords.fromJson(e)).toList() as M;
  574. }
  575. if (<PositionTableEntity>[] is M) {
  576. return data.map<PositionTableEntity>((Map<String, dynamic> e) => PositionTableEntity.fromJson(e)).toList() as M;
  577. }
  578. if (<PositionTableRows>[] is M) {
  579. return data.map<PositionTableRows>((Map<String, dynamic> e) => PositionTableRows.fromJson(e)).toList() as M;
  580. }
  581. if (<ReviseIndexSGEntity>[] is M) {
  582. return data.map<ReviseIndexSGEntity>((Map<String, dynamic> e) => ReviseIndexSGEntity.fromJson(e)).toList() as M;
  583. }
  584. if (<ReviseIndexSGStatusList>[] is M) {
  585. return data.map<ReviseIndexSGStatusList>((Map<String, dynamic> e) => ReviseIndexSGStatusList.fromJson(e)).toList() as M;
  586. }
  587. if (<ReviseListSGEntity>[] is M) {
  588. return data.map<ReviseListSGEntity>((Map<String, dynamic> e) => ReviseListSGEntity.fromJson(e)).toList() as M;
  589. }
  590. if (<ReviseListSGRows>[] is M) {
  591. return data.map<ReviseListSGRows>((Map<String, dynamic> e) => ReviseListSGRows.fromJson(e)).toList() as M;
  592. }
  593. if (<ReviseLogSGEntity>[] is M) {
  594. return data.map<ReviseLogSGEntity>((Map<String, dynamic> e) => ReviseLogSGEntity.fromJson(e)).toList() as M;
  595. }
  596. if (<ReviseLogSGRecords>[] is M) {
  597. return data.map<ReviseLogSGRecords>((Map<String, dynamic> e) => ReviseLogSGRecords.fromJson(e)).toList() as M;
  598. }
  599. if (<ReviseLogSGRecordsContent>[] is M) {
  600. return data.map<ReviseLogSGRecordsContent>((Map<String, dynamic> e) => ReviseLogSGRecordsContent.fromJson(e)).toList() as M;
  601. }
  602. if (<ReviseLogSGRecordsOption>[] is M) {
  603. return data.map<ReviseLogSGRecordsOption>((Map<String, dynamic> e) => ReviseLogSGRecordsOption.fromJson(e)).toList() as M;
  604. }
  605. if (<SGAttendanceReviewOptionEntity>[] is M) {
  606. return data.map<SGAttendanceReviewOptionEntity>((Map<String, dynamic> e) => SGAttendanceReviewOptionEntity.fromJson(e)).toList() as M;
  607. }
  608. if (<SGAttendanceReviewTableEntity>[] is M) {
  609. return data.map<SGAttendanceReviewTableEntity>((Map<String, dynamic> e) => SGAttendanceReviewTableEntity.fromJson(e)).toList() as M;
  610. }
  611. if (<SGAttendanceReviewTableRows>[] is M) {
  612. return data.map<SGAttendanceReviewTableRows>((Map<String, dynamic> e) => SGAttendanceReviewTableRows.fromJson(e)).toList() as M;
  613. }
  614. if (<SGAttendanceReviewTableRowsCheck>[] is M) {
  615. return data.map<SGAttendanceReviewTableRowsCheck>((Map<String, dynamic> e) => SGAttendanceReviewTableRowsCheck.fromJson(e)).toList() as M;
  616. }
  617. if (<SGAttendanceReviewWorkflowEntity>[] is M) {
  618. return data.map<SGAttendanceReviewWorkflowEntity>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowEntity.fromJson(e)).toList() as M;
  619. }
  620. if (<SGAttendanceReviewWorkflowRow>[] is M) {
  621. return data.map<SGAttendanceReviewWorkflowRow>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRow.fromJson(e)).toList() as M;
  622. }
  623. if (<SGAttendanceReviewWorkflowRecords>[] is M) {
  624. return data.map<SGAttendanceReviewWorkflowRecords>((Map<String, dynamic> e) => SGAttendanceReviewWorkflowRecords.fromJson(e)).toList() as M;
  625. }
  626. if (<SGDashboardEntity>[] is M) {
  627. return data.map<SGDashboardEntity>((Map<String, dynamic> e) => SGDashboardEntity.fromJson(e)).toList() as M;
  628. }
  629. if (<SGDashboardAgencyList>[] is M) {
  630. return data.map<SGDashboardAgencyList>((Map<String, dynamic> e) => SGDashboardAgencyList.fromJson(e)).toList() as M;
  631. }
  632. if (<SGDashboardAgencyListDays>[] is M) {
  633. return data.map<SGDashboardAgencyListDays>((Map<String, dynamic> e) => SGDashboardAgencyListDays.fromJson(e)).toList() as M;
  634. }
  635. if (<SGLabourRequestAddOptionEntity>[] is M) {
  636. return data.map<SGLabourRequestAddOptionEntity>((Map<String, dynamic> e) => SGLabourRequestAddOptionEntity.fromJson(e)).toList() as M;
  637. }
  638. if (<LabourRequestAgencyEntity>[] is M) {
  639. return data.map<LabourRequestAgencyEntity>((Map<String, dynamic> e) => LabourRequestAgencyEntity.fromJson(e)).toList() as M;
  640. }
  641. if (<SGLabourRequestDetailEntity>[] is M) {
  642. return data.map<SGLabourRequestDetailEntity>((Map<String, dynamic> e) => SGLabourRequestDetailEntity.fromJson(e)).toList() as M;
  643. }
  644. if (<SGLabourRequestDetailLabReq>[] is M) {
  645. return data.map<SGLabourRequestDetailLabReq>((Map<String, dynamic> e) => SGLabourRequestDetailLabReq.fromJson(e)).toList() as M;
  646. }
  647. if (<SGLabourRequestOptionEntity>[] is M) {
  648. return data.map<SGLabourRequestOptionEntity>((Map<String, dynamic> e) => SGLabourRequestOptionEntity.fromJson(e)).toList() as M;
  649. }
  650. if (<SGLabourRequestTableEntity>[] is M) {
  651. return data.map<SGLabourRequestTableEntity>((Map<String, dynamic> e) => SGLabourRequestTableEntity.fromJson(e)).toList() as M;
  652. }
  653. if (<SGLabourRequestTableRows>[] is M) {
  654. return data.map<SGLabourRequestTableRows>((Map<String, dynamic> e) => SGLabourRequestTableRows.fromJson(e)).toList() as M;
  655. }
  656. if (<SGLabourRequestWorlFlowEntity>[] is M) {
  657. return data.map<SGLabourRequestWorlFlowEntity>((Map<String, dynamic> e) => SGLabourRequestWorlFlowEntity.fromJson(e)).toList() as M;
  658. }
  659. if (<SGLabourRequestWorlFlowRow>[] is M) {
  660. return data.map<SGLabourRequestWorlFlowRow>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRow.fromJson(e)).toList() as M;
  661. }
  662. if (<SGLabourRequestWorlFlowRecords>[] is M) {
  663. return data.map<SGLabourRequestWorlFlowRecords>((Map<String, dynamic> e) => SGLabourRequestWorlFlowRecords.fromJson(e)).toList() as M;
  664. }
  665. if (<SGLabourReviewOptionEntity>[] is M) {
  666. return data.map<SGLabourReviewOptionEntity>((Map<String, dynamic> e) => SGLabourReviewOptionEntity.fromJson(e)).toList() as M;
  667. }
  668. if (<SGLabourReviewTableEntity>[] is M) {
  669. return data.map<SGLabourReviewTableEntity>((Map<String, dynamic> e) => SGLabourReviewTableEntity.fromJson(e)).toList() as M;
  670. }
  671. if (<SGLabourReviewTableRows>[] is M) {
  672. return data.map<SGLabourReviewTableRows>((Map<String, dynamic> e) => SGLabourReviewTableRows.fromJson(e)).toList() as M;
  673. }
  674. if (<SignInSignOutEntity>[] is M) {
  675. return data.map<SignInSignOutEntity>((Map<String, dynamic> e) => SignInSignOutEntity.fromJson(e)).toList() as M;
  676. }
  677. if (<SignInSignOutRows>[] is M) {
  678. return data.map<SignInSignOutRows>((Map<String, dynamic> e) => SignInSignOutRows.fromJson(e)).toList() as M;
  679. }
  680. if (<StaffDetailEntity>[] is M) {
  681. return data.map<StaffDetailEntity>((Map<String, dynamic> e) => StaffDetailEntity.fromJson(e)).toList() as M;
  682. }
  683. if (<StaffDetailSGEntity>[] is M) {
  684. return data.map<StaffDetailSGEntity>((Map<String, dynamic> e) => StaffDetailSGEntity.fromJson(e)).toList() as M;
  685. }
  686. if (<StaffDetailSGReviews>[] is M) {
  687. return data.map<StaffDetailSGReviews>((Map<String, dynamic> e) => StaffDetailSGReviews.fromJson(e)).toList() as M;
  688. }
  689. if (<StaffDetailSGReviewsReviews>[] is M) {
  690. return data.map<StaffDetailSGReviewsReviews>((Map<String, dynamic> e) => StaffDetailSGReviewsReviews.fromJson(e)).toList() as M;
  691. }
  692. if (<StaffJobHistorySGEntity>[] is M) {
  693. return data.map<StaffJobHistorySGEntity>((Map<String, dynamic> e) => StaffJobHistorySGEntity.fromJson(e)).toList() as M;
  694. }
  695. if (<StaffJobHistorySGRows>[] is M) {
  696. return data.map<StaffJobHistorySGRows>((Map<String, dynamic> e) => StaffJobHistorySGRows.fromJson(e)).toList() as M;
  697. }
  698. if (<StaffLabourHistoryEntity>[] is M) {
  699. return data.map<StaffLabourHistoryEntity>((Map<String, dynamic> e) => StaffLabourHistoryEntity.fromJson(e)).toList() as M;
  700. }
  701. if (<StaffLabourHistoryRows>[] is M) {
  702. return data.map<StaffLabourHistoryRows>((Map<String, dynamic> e) => StaffLabourHistoryRows.fromJson(e)).toList() as M;
  703. }
  704. if (<StaffLabourHistoryRowsSecurityIn>[] is M) {
  705. return data.map<StaffLabourHistoryRowsSecurityIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityIn.fromJson(e)).toList() as M;
  706. }
  707. if (<StaffLabourHistoryRowsSecurityOut>[] is M) {
  708. return data.map<StaffLabourHistoryRowsSecurityOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsSecurityOut.fromJson(e)).toList() as M;
  709. }
  710. if (<StaffLabourHistoryRowsWorkIn>[] is M) {
  711. return data.map<StaffLabourHistoryRowsWorkIn>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkIn.fromJson(e)).toList() as M;
  712. }
  713. if (<StaffLabourHistoryRowsWorkOut>[] is M) {
  714. return data.map<StaffLabourHistoryRowsWorkOut>((Map<String, dynamic> e) => StaffLabourHistoryRowsWorkOut.fromJson(e)).toList() as M;
  715. }
  716. if (<StaffRemarkHistoryEntity>[] is M) {
  717. return data.map<StaffRemarkHistoryEntity>((Map<String, dynamic> e) => StaffRemarkHistoryEntity.fromJson(e)).toList() as M;
  718. }
  719. if (<StaffRemarkHistoryRows>[] is M) {
  720. return data.map<StaffRemarkHistoryRows>((Map<String, dynamic> e) => StaffRemarkHistoryRows.fromJson(e)).toList() as M;
  721. }
  722. if (<StaffReportVNEntity>[] is M) {
  723. return data.map<StaffReportVNEntity>((Map<String, dynamic> e) => StaffReportVNEntity.fromJson(e)).toList() as M;
  724. }
  725. if (<StaffRequestReportEntity>[] is M) {
  726. return data.map<StaffRequestReportEntity>((Map<String, dynamic> e) => StaffRequestReportEntity.fromJson(e)).toList() as M;
  727. }
  728. if (<StaffReviewHistorySGEntity>[] is M) {
  729. return data.map<StaffReviewHistorySGEntity>((Map<String, dynamic> e) => StaffReviewHistorySGEntity.fromJson(e)).toList() as M;
  730. }
  731. if (<StaffReviewHistorySGReviews>[] is M) {
  732. return data.map<StaffReviewHistorySGReviews>((Map<String, dynamic> e) => StaffReviewHistorySGReviews.fromJson(e)).toList() as M;
  733. }
  734. if (<SwitchProjectEntity>[] is M) {
  735. return data.map<SwitchProjectEntity>((Map<String, dynamic> e) => SwitchProjectEntity.fromJson(e)).toList() as M;
  736. }
  737. if (<SwitchProjectUserList>[] is M) {
  738. return data.map<SwitchProjectUserList>((Map<String, dynamic> e) => SwitchProjectUserList.fromJson(e)).toList() as M;
  739. }
  740. if (<THAppliedEditEntity>[] is M) {
  741. return data.map<THAppliedEditEntity>((Map<String, dynamic> e) => THAppliedEditEntity.fromJson(e)).toList() as M;
  742. }
  743. if (<THAppliedEditApplied>[] is M) {
  744. return data.map<THAppliedEditApplied>((Map<String, dynamic> e) => THAppliedEditApplied.fromJson(e)).toList() as M;
  745. }
  746. if (<THAppliedEmployeeEntity>[] is M) {
  747. return data.map<THAppliedEmployeeEntity>((Map<String, dynamic> e) => THAppliedEmployeeEntity.fromJson(e)).toList() as M;
  748. }
  749. if (<THAppliedEmployeeRows>[] is M) {
  750. return data.map<THAppliedEmployeeRows>((Map<String, dynamic> e) => THAppliedEmployeeRows.fromJson(e)).toList() as M;
  751. }
  752. if (<THAppliedIndexEntity>[] is M) {
  753. return data.map<THAppliedIndexEntity>((Map<String, dynamic> e) => THAppliedIndexEntity.fromJson(e)).toList() as M;
  754. }
  755. if (<THAppliedIndexJob>[] is M) {
  756. return data.map<THAppliedIndexJob>((Map<String, dynamic> e) => THAppliedIndexJob.fromJson(e)).toList() as M;
  757. }
  758. if (<THAppliedTableEntity>[] is M) {
  759. return data.map<THAppliedTableEntity>((Map<String, dynamic> e) => THAppliedTableEntity.fromJson(e)).toList() as M;
  760. }
  761. if (<THAppliedTableRows>[] is M) {
  762. return data.map<THAppliedTableRows>((Map<String, dynamic> e) => THAppliedTableRows.fromJson(e)).toList() as M;
  763. }
  764. if (<THAppliedTableCheckInOut>[] is M) {
  765. return data.map<THAppliedTableCheckInOut>((Map<String, dynamic> e) => THAppliedTableCheckInOut.fromJson(e)).toList() as M;
  766. }
  767. if (<THEmployeeDetailEntity>[] is M) {
  768. return data.map<THEmployeeDetailEntity>((Map<String, dynamic> e) => THEmployeeDetailEntity.fromJson(e)).toList() as M;
  769. }
  770. if (<THEmployeeDetailStaff>[] is M) {
  771. return data.map<THEmployeeDetailStaff>((Map<String, dynamic> e) => THEmployeeDetailStaff.fromJson(e)).toList() as M;
  772. }
  773. if (<THEmployeeDetailReviews>[] is M) {
  774. return data.map<THEmployeeDetailReviews>((Map<String, dynamic> e) => THEmployeeDetailReviews.fromJson(e)).toList() as M;
  775. }
  776. if (<THEmployeeRemarksEntity>[] is M) {
  777. return data.map<THEmployeeRemarksEntity>((Map<String, dynamic> e) => THEmployeeRemarksEntity.fromJson(e)).toList() as M;
  778. }
  779. if (<THEmployeeRemarksReviews>[] is M) {
  780. return data.map<THEmployeeRemarksReviews>((Map<String, dynamic> e) => THEmployeeRemarksReviews.fromJson(e)).toList() as M;
  781. }
  782. if (<THOAAttachmentEntity>[] is M) {
  783. return data.map<THOAAttachmentEntity>((Map<String, dynamic> e) => THOAAttachmentEntity.fromJson(e)).toList() as M;
  784. }
  785. if (<THOAAttachmentRows>[] is M) {
  786. return data.map<THOAAttachmentRows>((Map<String, dynamic> e) => THOAAttachmentRows.fromJson(e)).toList() as M;
  787. }
  788. if (<THOALabourDetailEntity>[] is M) {
  789. return data.map<THOALabourDetailEntity>((Map<String, dynamic> e) => THOALabourDetailEntity.fromJson(e)).toList() as M;
  790. }
  791. if (<THOALabourDetailLabourRequest>[] is M) {
  792. return data.map<THOALabourDetailLabourRequest>((Map<String, dynamic> e) => THOALabourDetailLabourRequest.fromJson(e)).toList() as M;
  793. }
  794. if (<THOALabourReviewTableEntity>[] is M) {
  795. return data.map<THOALabourReviewTableEntity>((Map<String, dynamic> e) => THOALabourReviewTableEntity.fromJson(e)).toList() as M;
  796. }
  797. if (<THOALabourReviewTableRows>[] is M) {
  798. return data.map<THOALabourReviewTableRows>((Map<String, dynamic> e) => THOALabourReviewTableRows.fromJson(e)).toList() as M;
  799. }
  800. if (<THOALabourTableEntity>[] is M) {
  801. return data.map<THOALabourTableEntity>((Map<String, dynamic> e) => THOALabourTableEntity.fromJson(e)).toList() as M;
  802. }
  803. if (<THOALabourTableRows>[] is M) {
  804. return data.map<THOALabourTableRows>((Map<String, dynamic> e) => THOALabourTableRows.fromJson(e)).toList() as M;
  805. }
  806. if (<THPreSelectedOptionEntity>[] is M) {
  807. return data.map<THPreSelectedOptionEntity>((Map<String, dynamic> e) => THPreSelectedOptionEntity.fromJson(e)).toList() as M;
  808. }
  809. if (<THPreSelectedStaffTableEntity>[] is M) {
  810. return data.map<THPreSelectedStaffTableEntity>((Map<String, dynamic> e) => THPreSelectedStaffTableEntity.fromJson(e)).toList() as M;
  811. }
  812. if (<THPreSelectedStaffTableRows>[] is M) {
  813. return data.map<THPreSelectedStaffTableRows>((Map<String, dynamic> e) => THPreSelectedStaffTableRows.fromJson(e)).toList() as M;
  814. }
  815. if (<THPreSelectedTableEntity>[] is M) {
  816. return data.map<THPreSelectedTableEntity>((Map<String, dynamic> e) => THPreSelectedTableEntity.fromJson(e)).toList() as M;
  817. }
  818. if (<THPreSelectedTableRows>[] is M) {
  819. return data.map<THPreSelectedTableRows>((Map<String, dynamic> e) => THPreSelectedTableRows.fromJson(e)).toList() as M;
  820. }
  821. if (<THUploadFileEntity>[] is M) {
  822. return data.map<THUploadFileEntity>((Map<String, dynamic> e) => THUploadFileEntity.fromJson(e)).toList() as M;
  823. }
  824. if (<UKAttendanceEntity>[] is M) {
  825. return data.map<UKAttendanceEntity>((Map<String, dynamic> e) => UKAttendanceEntity.fromJson(e)).toList() as M;
  826. }
  827. if (<UKAttendanceRows>[] is M) {
  828. return data.map<UKAttendanceRows>((Map<String, dynamic> e) => UKAttendanceRows.fromJson(e)).toList() as M;
  829. }
  830. if (<UKAttendanceInOut>[] is M) {
  831. return data.map<UKAttendanceInOut>((Map<String, dynamic> e) => UKAttendanceInOut.fromJson(e)).toList() as M;
  832. }
  833. if (<UKReportAttendanceEntity>[] is M) {
  834. return data.map<UKReportAttendanceEntity>((Map<String, dynamic> e) => UKReportAttendanceEntity.fromJson(e)).toList() as M;
  835. }
  836. if (<UKReportAttendanceRows>[] is M) {
  837. return data.map<UKReportAttendanceRows>((Map<String, dynamic> e) => UKReportAttendanceRows.fromJson(e)).toList() as M;
  838. }
  839. if (<UKReportLabourEntity>[] is M) {
  840. return data.map<UKReportLabourEntity>((Map<String, dynamic> e) => UKReportLabourEntity.fromJson(e)).toList() as M;
  841. }
  842. if (<UKReportLabourRows>[] is M) {
  843. return data.map<UKReportLabourRows>((Map<String, dynamic> e) => UKReportLabourRows.fromJson(e)).toList() as M;
  844. }
  845. if (<UKReportWorkingHoursEntity>[] is M) {
  846. return data.map<UKReportWorkingHoursEntity>((Map<String, dynamic> e) => UKReportWorkingHoursEntity.fromJson(e)).toList() as M;
  847. }
  848. if (<UKReportWorkingHoursRows>[] is M) {
  849. return data.map<UKReportWorkingHoursRows>((Map<String, dynamic> e) => UKReportWorkingHoursRows.fromJson(e)).toList() as M;
  850. }
  851. if (<UKSecurityAttendanceEntity>[] is M) {
  852. return data.map<UKSecurityAttendanceEntity>((Map<String, dynamic> e) => UKSecurityAttendanceEntity.fromJson(e)).toList() as M;
  853. }
  854. if (<UKSecurityAttendanceRows>[] is M) {
  855. return data.map<UKSecurityAttendanceRows>((Map<String, dynamic> e) => UKSecurityAttendanceRows.fromJson(e)).toList() as M;
  856. }
  857. if (<UKSecurityInOut>[] is M) {
  858. return data.map<UKSecurityInOut>((Map<String, dynamic> e) => UKSecurityInOut.fromJson(e)).toList() as M;
  859. }
  860. if (<UKSecurityAttendanceOptionEntity>[] is M) {
  861. return data.map<UKSecurityAttendanceOptionEntity>((Map<String, dynamic> e) => UKSecurityAttendanceOptionEntity.fromJson(e)).toList() as M;
  862. }
  863. if (<UKSecurityAttendanceOptionFilter>[] is M) {
  864. return data.map<UKSecurityAttendanceOptionFilter>((Map<String, dynamic> e) => UKSecurityAttendanceOptionFilter.fromJson(e)).toList() as M;
  865. }
  866. if (<UKTemplateDetailEntity>[] is M) {
  867. return data.map<UKTemplateDetailEntity>((Map<String, dynamic> e) => UKTemplateDetailEntity.fromJson(e)).toList() as M;
  868. }
  869. if (<UKTemplateDetailRow>[] is M) {
  870. return data.map<UKTemplateDetailRow>((Map<String, dynamic> e) => UKTemplateDetailRow.fromJson(e)).toList() as M;
  871. }
  872. if (<UKTemplateEntity>[] is M) {
  873. return data.map<UKTemplateEntity>((Map<String, dynamic> e) => UKTemplateEntity.fromJson(e)).toList() as M;
  874. }
  875. if (<UKTemplateRows>[] is M) {
  876. return data.map<UKTemplateRows>((Map<String, dynamic> e) => UKTemplateRows.fromJson(e)).toList() as M;
  877. }
  878. if (<ServerTime>[] is M) {
  879. return data.map<ServerTime>((Map<String, dynamic> e) => ServerTime.fromJson(e)).toList() as M;
  880. }
  881. debugPrint("$M not found");
  882. return null;
  883. }
  884. static M? fromJsonAsT<M>(dynamic json) {
  885. if (json is M) {
  886. return json;
  887. }
  888. if (json is List) {
  889. return _getListChildType<M>(json.map((dynamic e) => e as Map<String, dynamic>).toList());
  890. } else {
  891. return jsonConvert.convert<M>(json);
  892. }
  893. }
  894. }
  895. class JsonConvertClassCollection {
  896. Map<String, JsonConvertFunction> convertFuncMap = {
  897. (AddEditReviseViewSGEntity).toString(): AddEditReviseViewSGEntity.fromJson,
  898. (AgencyDetailEntity).toString(): AgencyDetailEntity.fromJson,
  899. (AgencyDetailPivot).toString(): AgencyDetailPivot.fromJson,
  900. (AgencyOptionEntity).toString(): AgencyOptionEntity.fromJson,
  901. (AgencyTableEntity).toString(): AgencyTableEntity.fromJson,
  902. (AgencyTableRows).toString(): AgencyTableRows.fromJson,
  903. (AttendanceEntity).toString(): AttendanceEntity.fromJson,
  904. (AttendanceList).toString(): AttendanceList.fromJson,
  905. (AttendanceReviewEntity).toString(): AttendanceReviewEntity.fromJson,
  906. (AttendanceReviewRows).toString(): AttendanceReviewRows.fromJson,
  907. (CheckSuccessEntity).toString(): CheckSuccessEntity.fromJson,
  908. (ContractDetailEntity).toString(): ContractDetailEntity.fromJson,
  909. (ContractDetailRow).toString(): ContractDetailRow.fromJson,
  910. (ContractOptionEntity).toString(): ContractOptionEntity.fromJson,
  911. (ContractPositionAddOptionEntity).toString(): ContractPositionAddOptionEntity.fromJson,
  912. (ContractPositionOptionEntity).toString(): ContractPositionOptionEntity.fromJson,
  913. (ContractPositionRateDetailEntity).toString(): ContractPositionRateDetailEntity.fromJson,
  914. (ContractPositionRateSpecificOptionEntity).toString(): ContractPositionRateSpecificOptionEntity.fromJson,
  915. (ContractPositionRateTableEntity).toString(): ContractPositionRateTableEntity.fromJson,
  916. (ContractPositionRateTableRows).toString(): ContractPositionRateTableRows.fromJson,
  917. (ContractPositionTableEntity).toString(): ContractPositionTableEntity.fromJson,
  918. (ContractPositionTableRows).toString(): ContractPositionTableRows.fromJson,
  919. (ContractTableEntity).toString(): ContractTableEntity.fromJson,
  920. (ContractTableRows).toString(): ContractTableRows.fromJson,
  921. (DeviceListEntity).toString(): DeviceListEntity.fromJson,
  922. (DeviceListRows).toString(): DeviceListRows.fromJson,
  923. (FianceReportEntity).toString(): FianceReportEntity.fromJson,
  924. (FianceReportRateList).toString(): FianceReportRateList.fromJson,
  925. (HotelInfoEntity).toString(): HotelInfoEntity.fromJson,
  926. (HotelInfoMenus).toString(): HotelInfoMenus.fromJson,
  927. (HotelInfoMenusChildren).toString(): HotelInfoMenusChildren.fromJson,
  928. (IdNameEntity).toString(): IdNameEntity.fromJson,
  929. (IndexOptionEntity).toString(): IndexOptionEntity.fromJson,
  930. (JobAppliedEditIndexSGEntity).toString(): JobAppliedEditIndexSGEntity.fromJson,
  931. (JobAppliedEditIndexSGStatusList).toString(): JobAppliedEditIndexSGStatusList.fromJson,
  932. (JobAppliedIndexSGEntity).toString(): JobAppliedIndexSGEntity.fromJson,
  933. (JobAppliedIndexSGStatusList).toString(): JobAppliedIndexSGStatusList.fromJson,
  934. (JobAppliedListSGEntity).toString(): JobAppliedListSGEntity.fromJson,
  935. (JobAppliedListSGRows).toString(): JobAppliedListSGRows.fromJson,
  936. (JobAppliedListSGRowsCheck).toString(): JobAppliedListSGRowsCheck.fromJson,
  937. (JobAppliedListSGRowsStatusList).toString(): JobAppliedListSGRowsStatusList.fromJson,
  938. (JobAppliedRemarkViewSGEntity).toString(): JobAppliedRemarkViewSGEntity.fromJson,
  939. (JobAppliedStaffSGEntity).toString(): JobAppliedStaffSGEntity.fromJson,
  940. (JobAppliedStaffSGRows).toString(): JobAppliedStaffSGRows.fromJson,
  941. (JobListAddStaffEntity).toString(): JobListAddStaffEntity.fromJson,
  942. (JobListAddStaffResultList).toString(): JobListAddStaffResultList.fromJson,
  943. (JobListAppliedEditEntity).toString(): JobListAppliedEditEntity.fromJson,
  944. (JobListAppliedEditReasonList).toString(): JobListAppliedEditReasonList.fromJson,
  945. (JobListAppliedInfoEntity).toString(): JobListAppliedInfoEntity.fromJson,
  946. (JobListAppliedStaffListEntity).toString(): JobListAppliedStaffListEntity.fromJson,
  947. (JobListAppliedStaffListRows).toString(): JobListAppliedStaffListRows.fromJson,
  948. (JobListAppliedStaffListRowsSecurityIn).toString(): JobListAppliedStaffListRowsSecurityIn.fromJson,
  949. (JobListAppliedStaffListRowsSecurityOut).toString(): JobListAppliedStaffListRowsSecurityOut.fromJson,
  950. (JobListAppliedStaffListRowsWorkIn).toString(): JobListAppliedStaffListRowsWorkIn.fromJson,
  951. (JobListAppliedStaffListRowsWorkOut).toString(): JobListAppliedStaffListRowsWorkOut.fromJson,
  952. (JobListAppliedStaffSearchEntity).toString(): JobListAppliedStaffSearchEntity.fromJson,
  953. (JobListAppliedStaffSearchRows).toString(): JobListAppliedStaffSearchRows.fromJson,
  954. (JobListAppliedWorkFlowEntity).toString(): JobListAppliedWorkFlowEntity.fromJson,
  955. (JobListAppliedWorkFlowRecords).toString(): JobListAppliedWorkFlowRecords.fromJson,
  956. (JobListDetailEntity).toString(): JobListDetailEntity.fromJson,
  957. (JobListDetailDepartmentList).toString(): JobListDetailDepartmentList.fromJson,
  958. (JobListERDetailEntity).toString(): JobListERDetailEntity.fromJson,
  959. (JobListERDetailJob).toString(): JobListERDetailJob.fromJson,
  960. (JobListEROptionEntity).toString(): JobListEROptionEntity.fromJson,
  961. (JobListEROptionFilter).toString(): JobListEROptionFilter.fromJson,
  962. (JobListEditIndexSGEntity).toString(): JobListEditIndexSGEntity.fromJson,
  963. (JobListEditIndexOption).toString(): JobListEditIndexOption.fromJson,
  964. (JobListEntity).toString(): JobListEntity.fromJson,
  965. (JobListRows).toString(): JobListRows.fromJson,
  966. (JobListIndexEntity).toString(): JobListIndexEntity.fromJson,
  967. (JobListIndexDepartmentList).toString(): JobListIndexDepartmentList.fromJson,
  968. (JobListIndexStatusList).toString(): JobListIndexStatusList.fromJson,
  969. (JobListIndexSGEntity).toString(): JobListIndexSGEntity.fromJson,
  970. (JobListIndexSGOption).toString(): JobListIndexSGOption.fromJson,
  971. (JobListRemarkViewEntity).toString(): JobListRemarkViewEntity.fromJson,
  972. (JobListSGEntity).toString(): JobListSGEntity.fromJson,
  973. (JobListSGRows).toString(): JobListSGRows.fromJson,
  974. (JobTemplateEditIndexEntity).toString(): JobTemplateEditIndexEntity.fromJson,
  975. (JobTemplateEditIndexAgeList).toString(): JobTemplateEditIndexAgeList.fromJson,
  976. (JobTemplateEditIndexSexList).toString(): JobTemplateEditIndexSexList.fromJson,
  977. (JobTemplateEditIndexLanguageList).toString(): JobTemplateEditIndexLanguageList.fromJson,
  978. (JobTemplateSGEntity).toString(): JobTemplateSGEntity.fromJson,
  979. (JobTemplateSGRows).toString(): JobTemplateSGRows.fromJson,
  980. (JobTitleEditIndexEntity).toString(): JobTitleEditIndexEntity.fromJson,
  981. (JobTitleEditIndexTemplate).toString(): JobTitleEditIndexTemplate.fromJson,
  982. (JobTitleSGEntity).toString(): JobTitleSGEntity.fromJson,
  983. (JobTitleSGRows).toString(): JobTitleSGRows.fromJson,
  984. (LabourListEREntity).toString(): LabourListEREntity.fromJson,
  985. (LabourListERRows).toString(): LabourListERRows.fromJson,
  986. (LabourReportEntity).toString(): LabourReportEntity.fromJson,
  987. (LabourReportRows).toString(): LabourReportRows.fromJson,
  988. (LabourReportTotal).toString(): LabourReportTotal.fromJson,
  989. (LabourReportVNEntity).toString(): LabourReportVNEntity.fromJson,
  990. (LabourReportVNRows).toString(): LabourReportVNRows.fromJson,
  991. (LabourReportVNTotal).toString(): LabourReportVNTotal.fromJson,
  992. (LabourRequestEREntity).toString(): LabourRequestEREntity.fromJson,
  993. (LabourRequestERCountList).toString(): LabourRequestERCountList.fromJson,
  994. (LabourRequestERSourceList).toString(): LabourRequestERSourceList.fromJson,
  995. (LabourRequestERSourceListRequestList).toString(): LabourRequestERSourceListRequestList.fromJson,
  996. (LabourRequestEROptionEntity).toString(): LabourRequestEROptionEntity.fromJson,
  997. (LabourRequestEditIndexEntity).toString(): LabourRequestEditIndexEntity.fromJson,
  998. (LabourRequestEditIndexTemplateList).toString(): LabourRequestEditIndexTemplateList.fromJson,
  999. (LabourRequestEditIndexDepartmentList).toString(): LabourRequestEditIndexDepartmentList.fromJson,
  1000. (LabourRequestIndexEntity).toString(): LabourRequestIndexEntity.fromJson,
  1001. (LabourRequestIndexDepartmentList).toString(): LabourRequestIndexDepartmentList.fromJson,
  1002. (LabourRequestIndexStatusList).toString(): LabourRequestIndexStatusList.fromJson,
  1003. (LabourRequestListEntity).toString(): LabourRequestListEntity.fromJson,
  1004. (LabourRequestListRows).toString(): LabourRequestListRows.fromJson,
  1005. (LabourRequestWorkFlowEntity).toString(): LabourRequestWorkFlowEntity.fromJson,
  1006. (LabourRequestWorkFlowRecords).toString(): LabourRequestWorkFlowRecords.fromJson,
  1007. (LabourReviewListEntity).toString(): LabourReviewListEntity.fromJson,
  1008. (LabourReviewListRows).toString(): LabourReviewListRows.fromJson,
  1009. (LabourReviewStatusEntity).toString(): LabourReviewStatusEntity.fromJson,
  1010. (LabourReviewStatusRecords).toString(): LabourReviewStatusRecords.fromJson,
  1011. (PositionTableEntity).toString(): PositionTableEntity.fromJson,
  1012. (PositionTableRows).toString(): PositionTableRows.fromJson,
  1013. (ReviseIndexSGEntity).toString(): ReviseIndexSGEntity.fromJson,
  1014. (ReviseIndexSGStatusList).toString(): ReviseIndexSGStatusList.fromJson,
  1015. (ReviseListSGEntity).toString(): ReviseListSGEntity.fromJson,
  1016. (ReviseListSGRows).toString(): ReviseListSGRows.fromJson,
  1017. (ReviseLogSGEntity).toString(): ReviseLogSGEntity.fromJson,
  1018. (ReviseLogSGRecords).toString(): ReviseLogSGRecords.fromJson,
  1019. (ReviseLogSGRecordsContent).toString(): ReviseLogSGRecordsContent.fromJson,
  1020. (ReviseLogSGRecordsOption).toString(): ReviseLogSGRecordsOption.fromJson,
  1021. (SGAttendanceReviewOptionEntity).toString(): SGAttendanceReviewOptionEntity.fromJson,
  1022. (SGAttendanceReviewTableEntity).toString(): SGAttendanceReviewTableEntity.fromJson,
  1023. (SGAttendanceReviewTableRows).toString(): SGAttendanceReviewTableRows.fromJson,
  1024. (SGAttendanceReviewTableRowsCheck).toString(): SGAttendanceReviewTableRowsCheck.fromJson,
  1025. (SGAttendanceReviewWorkflowEntity).toString(): SGAttendanceReviewWorkflowEntity.fromJson,
  1026. (SGAttendanceReviewWorkflowRow).toString(): SGAttendanceReviewWorkflowRow.fromJson,
  1027. (SGAttendanceReviewWorkflowRecords).toString(): SGAttendanceReviewWorkflowRecords.fromJson,
  1028. (SGDashboardEntity).toString(): SGDashboardEntity.fromJson,
  1029. (SGDashboardAgencyList).toString(): SGDashboardAgencyList.fromJson,
  1030. (SGDashboardAgencyListDays).toString(): SGDashboardAgencyListDays.fromJson,
  1031. (SGLabourRequestAddOptionEntity).toString(): SGLabourRequestAddOptionEntity.fromJson,
  1032. (LabourRequestAgencyEntity).toString(): LabourRequestAgencyEntity.fromJson,
  1033. (SGLabourRequestDetailEntity).toString(): SGLabourRequestDetailEntity.fromJson,
  1034. (SGLabourRequestDetailLabReq).toString(): SGLabourRequestDetailLabReq.fromJson,
  1035. (SGLabourRequestOptionEntity).toString(): SGLabourRequestOptionEntity.fromJson,
  1036. (SGLabourRequestTableEntity).toString(): SGLabourRequestTableEntity.fromJson,
  1037. (SGLabourRequestTableRows).toString(): SGLabourRequestTableRows.fromJson,
  1038. (SGLabourRequestWorlFlowEntity).toString(): SGLabourRequestWorlFlowEntity.fromJson,
  1039. (SGLabourRequestWorlFlowRow).toString(): SGLabourRequestWorlFlowRow.fromJson,
  1040. (SGLabourRequestWorlFlowRecords).toString(): SGLabourRequestWorlFlowRecords.fromJson,
  1041. (SGLabourReviewOptionEntity).toString(): SGLabourReviewOptionEntity.fromJson,
  1042. (SGLabourReviewTableEntity).toString(): SGLabourReviewTableEntity.fromJson,
  1043. (SGLabourReviewTableRows).toString(): SGLabourReviewTableRows.fromJson,
  1044. (SignInSignOutEntity).toString(): SignInSignOutEntity.fromJson,
  1045. (SignInSignOutRows).toString(): SignInSignOutRows.fromJson,
  1046. (StaffDetailEntity).toString(): StaffDetailEntity.fromJson,
  1047. (StaffDetailSGEntity).toString(): StaffDetailSGEntity.fromJson,
  1048. (StaffDetailSGReviews).toString(): StaffDetailSGReviews.fromJson,
  1049. (StaffDetailSGReviewsReviews).toString(): StaffDetailSGReviewsReviews.fromJson,
  1050. (StaffJobHistorySGEntity).toString(): StaffJobHistorySGEntity.fromJson,
  1051. (StaffJobHistorySGRows).toString(): StaffJobHistorySGRows.fromJson,
  1052. (StaffLabourHistoryEntity).toString(): StaffLabourHistoryEntity.fromJson,
  1053. (StaffLabourHistoryRows).toString(): StaffLabourHistoryRows.fromJson,
  1054. (StaffLabourHistoryRowsSecurityIn).toString(): StaffLabourHistoryRowsSecurityIn.fromJson,
  1055. (StaffLabourHistoryRowsSecurityOut).toString(): StaffLabourHistoryRowsSecurityOut.fromJson,
  1056. (StaffLabourHistoryRowsWorkIn).toString(): StaffLabourHistoryRowsWorkIn.fromJson,
  1057. (StaffLabourHistoryRowsWorkOut).toString(): StaffLabourHistoryRowsWorkOut.fromJson,
  1058. (StaffRemarkHistoryEntity).toString(): StaffRemarkHistoryEntity.fromJson,
  1059. (StaffRemarkHistoryRows).toString(): StaffRemarkHistoryRows.fromJson,
  1060. (StaffReportVNEntity).toString(): StaffReportVNEntity.fromJson,
  1061. (StaffRequestReportEntity).toString(): StaffRequestReportEntity.fromJson,
  1062. (StaffReviewHistorySGEntity).toString(): StaffReviewHistorySGEntity.fromJson,
  1063. (StaffReviewHistorySGReviews).toString(): StaffReviewHistorySGReviews.fromJson,
  1064. (SwitchProjectEntity).toString(): SwitchProjectEntity.fromJson,
  1065. (SwitchProjectUserList).toString(): SwitchProjectUserList.fromJson,
  1066. (THAppliedEditEntity).toString(): THAppliedEditEntity.fromJson,
  1067. (THAppliedEditApplied).toString(): THAppliedEditApplied.fromJson,
  1068. (THAppliedEmployeeEntity).toString(): THAppliedEmployeeEntity.fromJson,
  1069. (THAppliedEmployeeRows).toString(): THAppliedEmployeeRows.fromJson,
  1070. (THAppliedIndexEntity).toString(): THAppliedIndexEntity.fromJson,
  1071. (THAppliedIndexJob).toString(): THAppliedIndexJob.fromJson,
  1072. (THAppliedTableEntity).toString(): THAppliedTableEntity.fromJson,
  1073. (THAppliedTableRows).toString(): THAppliedTableRows.fromJson,
  1074. (THAppliedTableCheckInOut).toString(): THAppliedTableCheckInOut.fromJson,
  1075. (THEmployeeDetailEntity).toString(): THEmployeeDetailEntity.fromJson,
  1076. (THEmployeeDetailStaff).toString(): THEmployeeDetailStaff.fromJson,
  1077. (THEmployeeDetailReviews).toString(): THEmployeeDetailReviews.fromJson,
  1078. (THEmployeeRemarksEntity).toString(): THEmployeeRemarksEntity.fromJson,
  1079. (THEmployeeRemarksReviews).toString(): THEmployeeRemarksReviews.fromJson,
  1080. (THOAAttachmentEntity).toString(): THOAAttachmentEntity.fromJson,
  1081. (THOAAttachmentRows).toString(): THOAAttachmentRows.fromJson,
  1082. (THOALabourDetailEntity).toString(): THOALabourDetailEntity.fromJson,
  1083. (THOALabourDetailLabourRequest).toString(): THOALabourDetailLabourRequest.fromJson,
  1084. (THOALabourReviewTableEntity).toString(): THOALabourReviewTableEntity.fromJson,
  1085. (THOALabourReviewTableRows).toString(): THOALabourReviewTableRows.fromJson,
  1086. (THOALabourTableEntity).toString(): THOALabourTableEntity.fromJson,
  1087. (THOALabourTableRows).toString(): THOALabourTableRows.fromJson,
  1088. (THPreSelectedOptionEntity).toString(): THPreSelectedOptionEntity.fromJson,
  1089. (THPreSelectedStaffTableEntity).toString(): THPreSelectedStaffTableEntity.fromJson,
  1090. (THPreSelectedStaffTableRows).toString(): THPreSelectedStaffTableRows.fromJson,
  1091. (THPreSelectedTableEntity).toString(): THPreSelectedTableEntity.fromJson,
  1092. (THPreSelectedTableRows).toString(): THPreSelectedTableRows.fromJson,
  1093. (THUploadFileEntity).toString(): THUploadFileEntity.fromJson,
  1094. (UKAttendanceEntity).toString(): UKAttendanceEntity.fromJson,
  1095. (UKAttendanceRows).toString(): UKAttendanceRows.fromJson,
  1096. (UKAttendanceInOut).toString(): UKAttendanceInOut.fromJson,
  1097. (UKReportAttendanceEntity).toString(): UKReportAttendanceEntity.fromJson,
  1098. (UKReportAttendanceRows).toString(): UKReportAttendanceRows.fromJson,
  1099. (UKReportLabourEntity).toString(): UKReportLabourEntity.fromJson,
  1100. (UKReportLabourRows).toString(): UKReportLabourRows.fromJson,
  1101. (UKReportWorkingHoursEntity).toString(): UKReportWorkingHoursEntity.fromJson,
  1102. (UKReportWorkingHoursRows).toString(): UKReportWorkingHoursRows.fromJson,
  1103. (UKSecurityAttendanceEntity).toString(): UKSecurityAttendanceEntity.fromJson,
  1104. (UKSecurityAttendanceRows).toString(): UKSecurityAttendanceRows.fromJson,
  1105. (UKSecurityInOut).toString(): UKSecurityInOut.fromJson,
  1106. (UKSecurityAttendanceOptionEntity).toString(): UKSecurityAttendanceOptionEntity.fromJson,
  1107. (UKSecurityAttendanceOptionFilter).toString(): UKSecurityAttendanceOptionFilter.fromJson,
  1108. (UKTemplateDetailEntity).toString(): UKTemplateDetailEntity.fromJson,
  1109. (UKTemplateDetailRow).toString(): UKTemplateDetailRow.fromJson,
  1110. (UKTemplateEntity).toString(): UKTemplateEntity.fromJson,
  1111. (UKTemplateRows).toString(): UKTemplateRows.fromJson,
  1112. (ServerTime).toString(): ServerTime.fromJson,
  1113. };
  1114. bool containsKey(String type) {
  1115. return convertFuncMap.containsKey(type);
  1116. }
  1117. JsonConvertFunction? operator [](String key) {
  1118. return convertFuncMap[key];
  1119. }
  1120. }