Pārlūkot izejas kodu

控制是否显示OT控件的逻辑

liukai 2 dienas atpakaļ
vecāks
revīzija
1a72138742
100 mainītis faili ar 1257 papildinājumiem un 2497 dzēšanām
  1. 31 27
      packages/cpt_th/lib/modules/job_er/job_list_er/job_list_er_item.dart
  2. 1 0
      packages/cpt_th/lib/modules/job_er/job_list_er/job_list_er_page.dart
  3. 1 1
      packages/cpt_th/lib/modules/labour/labour_request_add/labour_request_add_controller.dart
  4. 25 22
      packages/cpt_th/lib/modules/labour/labour_request_add/labour_request_add_page.dart
  5. 31 27
      packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_item.dart
  6. 1 0
      packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_list_page.dart
  7. 0 1
      packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_list_state.dart
  8. 34 33
      packages/cpt_th/lib/modules/labour/labour_review_list/labour_review_item.dart
  9. 1 0
      packages/cpt_th/lib/modules/labour/labour_review_list/labour_review_page.dart
  10. 26 23
      packages/cpt_th/lib/modules/labour_er/labour_request_er_add/labour_request_er_add_page.dart
  11. 3 1
      packages/cs_domain/lib/entity/response/job_list_e_r_detail_entity.dart
  12. 4 0
      packages/cs_domain/lib/entity/response/labour_request_index_entity.dart
  13. 3 6
      packages/cs_domain/lib/generated/json/add_edit_revise_view_s_g_entity.g.dart
  14. 7 15
      packages/cs_domain/lib/generated/json/agency_detail_entity.g.dart
  15. 2 5
      packages/cs_domain/lib/generated/json/agency_option_entity.g.dart
  16. 4 8
      packages/cs_domain/lib/generated/json/agency_table_entity.g.dart
  17. 5 10
      packages/cs_domain/lib/generated/json/attendance_entity.g.dart
  18. 5 11
      packages/cs_domain/lib/generated/json/attendance_review_entity.g.dart
  19. 421 903
      packages/cs_domain/lib/generated/json/base/json_convert_content.dart
  20. 3 7
      packages/cs_domain/lib/generated/json/contract_detail_entity.g.dart
  21. 4 10
      packages/cs_domain/lib/generated/json/contract_option_entity.g.dart
  22. 4 9
      packages/cs_domain/lib/generated/json/contract_position_add_option_entity.g.dart
  23. 2 4
      packages/cs_domain/lib/generated/json/contract_position_option_entity.g.dart
  24. 2 4
      packages/cs_domain/lib/generated/json/contract_position_rate_detail_entity.g.dart
  25. 2 4
      packages/cs_domain/lib/generated/json/contract_position_rate_specific_option_entity.g.dart
  26. 6 13
      packages/cs_domain/lib/generated/json/contract_position_rate_table_entity.g.dart
  27. 6 14
      packages/cs_domain/lib/generated/json/contract_position_table_entity.g.dart
  28. 3 6
      packages/cs_domain/lib/generated/json/contract_table_entity.g.dart
  29. 3 6
      packages/cs_domain/lib/generated/json/device_list_entity.g.dart
  30. 2 6
      packages/cs_domain/lib/generated/json/fiance_report_entity.g.dart
  31. 6 14
      packages/cs_domain/lib/generated/json/hotel_info_entity.g.dart
  32. 6 14
      packages/cs_domain/lib/generated/json/job_applied_edit_index_s_g_entity.g.dart
  33. 6 14
      packages/cs_domain/lib/generated/json/job_applied_index_s_g_entity.g.dart
  34. 16 35
      packages/cs_domain/lib/generated/json/job_applied_list_s_g_entity.g.dart
  35. 7 14
      packages/cs_domain/lib/generated/json/job_applied_remark_view_s_g_entity.g.dart
  36. 8 17
      packages/cs_domain/lib/generated/json/job_applied_staff_s_g_entity.g.dart
  37. 6 14
      packages/cs_domain/lib/generated/json/job_list_add_staff_entity.g.dart
  38. 6 14
      packages/cs_domain/lib/generated/json/job_list_applied_edit_entity.g.dart
  39. 2 4
      packages/cs_domain/lib/generated/json/job_list_applied_info_entity.g.dart
  40. 18 37
      packages/cs_domain/lib/generated/json/job_list_applied_staff_list_entity.g.dart
  41. 6 13
      packages/cs_domain/lib/generated/json/job_list_applied_staff_search_entity.g.dart
  42. 9 19
      packages/cs_domain/lib/generated/json/job_list_applied_work_flow_entity.g.dart
  43. 6 14
      packages/cs_domain/lib/generated/json/job_list_detail_entity.g.dart
  44. 19 26
      packages/cs_domain/lib/generated/json/job_list_e_r_detail_entity.g.dart
  45. 11 25
      packages/cs_domain/lib/generated/json/job_list_e_r_option_entity.g.dart
  46. 12 34
      packages/cs_domain/lib/generated/json/job_list_edit_index_s_g_entity.g.dart
  47. 1 2
      packages/cs_domain/lib/generated/json/job_list_entity.g.dart
  48. 9 22
      packages/cs_domain/lib/generated/json/job_list_index_entity.g.dart
  49. 6 18
      packages/cs_domain/lib/generated/json/job_list_index_s_g_entity.g.dart
  50. 7 14
      packages/cs_domain/lib/generated/json/job_list_remark_view_entity.g.dart
  51. 2 4
      packages/cs_domain/lib/generated/json/job_list_s_g_entity.g.dart
  52. 16 37
      packages/cs_domain/lib/generated/json/job_template_edit_index_entity.g.dart
  53. 2 4
      packages/cs_domain/lib/generated/json/job_template_s_g_entity.g.dart
  54. 5 10
      packages/cs_domain/lib/generated/json/job_title_edit_index_entity.g.dart
  55. 3 6
      packages/cs_domain/lib/generated/json/job_title_s_g_entity.g.dart
  56. 2 4
      packages/cs_domain/lib/generated/json/labour_list_e_r_entity.g.dart
  57. 3 6
      packages/cs_domain/lib/generated/json/labour_report_entity.g.dart
  58. 3 7
      packages/cs_domain/lib/generated/json/labour_report_v_n_entity.g.dart
  59. 14 33
      packages/cs_domain/lib/generated/json/labour_request_e_r_entity.g.dart
  60. 10 24
      packages/cs_domain/lib/generated/json/labour_request_e_r_option_entity.g.dart
  61. 14 34
      packages/cs_domain/lib/generated/json/labour_request_edit_index_entity.g.dart
  62. 30 38
      packages/cs_domain/lib/generated/json/labour_request_index_entity.g.dart
  63. 9 19
      packages/cs_domain/lib/generated/json/labour_request_list_entity.g.dart
  64. 9 19
      packages/cs_domain/lib/generated/json/labour_request_work_flow_entity.g.dart
  65. 5 11
      packages/cs_domain/lib/generated/json/labour_review_list_entity.g.dart
  66. 10 21
      packages/cs_domain/lib/generated/json/labour_review_status_entity.g.dart
  67. 2 4
      packages/cs_domain/lib/generated/json/position_table_entity.g.dart
  68. 4 10
      packages/cs_domain/lib/generated/json/revise_index_s_g_entity.g.dart
  69. 2 4
      packages/cs_domain/lib/generated/json/revise_list_s_g_entity.g.dart
  70. 11 23
      packages/cs_domain/lib/generated/json/revise_log_s_g_entity.g.dart
  71. 6 14
      packages/cs_domain/lib/generated/json/s_g_attendance_review_option_entity.g.dart
  72. 12 25
      packages/cs_domain/lib/generated/json/s_g_attendance_review_table_entity.g.dart
  73. 23 48
      packages/cs_domain/lib/generated/json/s_g_attendance_review_workflow_entity.g.dart
  74. 8 20
      packages/cs_domain/lib/generated/json/s_g_dashboard_entity.g.dart
  75. 16 39
      packages/cs_domain/lib/generated/json/s_g_labour_request_add_option_entity.g.dart
  76. 16 36
      packages/cs_domain/lib/generated/json/s_g_labour_request_detail_entity.g.dart
  77. 8 19
      packages/cs_domain/lib/generated/json/s_g_labour_request_option_entity.g.dart
  78. 6 14
      packages/cs_domain/lib/generated/json/s_g_labour_request_table_entity.g.dart
  79. 14 30
      packages/cs_domain/lib/generated/json/s_g_labour_request_worl_flow_entity.g.dart
  80. 6 14
      packages/cs_domain/lib/generated/json/s_g_labour_review_option_entity.g.dart
  81. 7 16
      packages/cs_domain/lib/generated/json/s_g_labour_review_table_entity.g.dart
  82. 2 4
      packages/cs_domain/lib/generated/json/sign_in_sign_out_entity.g.dart
  83. 11 23
      packages/cs_domain/lib/generated/json/staff_detail_s_g_entity.g.dart
  84. 6 13
      packages/cs_domain/lib/generated/json/staff_job_history_s_g_entity.g.dart
  85. 19 39
      packages/cs_domain/lib/generated/json/staff_labour_history_entity.g.dart
  86. 10 21
      packages/cs_domain/lib/generated/json/staff_remark_history_entity.g.dart
  87. 2 6
      packages/cs_domain/lib/generated/json/staff_report_v_n_entity.g.dart
  88. 2 4
      packages/cs_domain/lib/generated/json/staff_request_report_entity.g.dart
  89. 12 25
      packages/cs_domain/lib/generated/json/staff_review_history_s_g_entity.g.dart
  90. 7 16
      packages/cs_domain/lib/generated/json/switch_project_entity.g.dart
  91. 20 42
      packages/cs_domain/lib/generated/json/t_h_applied_edit_entity.g.dart
  92. 7 15
      packages/cs_domain/lib/generated/json/t_h_applied_employee_entity.g.dart
  93. 5 11
      packages/cs_domain/lib/generated/json/t_h_applied_index_entity.g.dart
  94. 14 29
      packages/cs_domain/lib/generated/json/t_h_applied_table_entity.g.dart
  95. 14 28
      packages/cs_domain/lib/generated/json/t_h_employee_detail_entity.g.dart
  96. 12 25
      packages/cs_domain/lib/generated/json/t_h_employee_remarks_entity.g.dart
  97. 2 5
      packages/cs_domain/lib/generated/json/t_h_o_a_attachment_entity.g.dart
  98. 18 42
      packages/cs_domain/lib/generated/json/t_h_o_a_labour_detail_entity.g.dart
  99. 7 16
      packages/cs_domain/lib/generated/json/t_h_o_a_labour_review_table_entity.g.dart
  100. 0 0
      packages/cs_domain/lib/generated/json/t_h_o_a_labour_table_entity.g.dart

+ 31 - 27
packages/cpt_th/lib/modules/job_er/job_list_er/job_list_er_item.dart

@@ -13,6 +13,7 @@ import 'package:widgets/my_text_view.dart';
  */
 class JobListErItem extends StatelessWidget {
   final int index;
+  bool withOT = false;
   final LabourListERRows item;
   final VoidCallback? onEditAction;
   final VoidCallback? onDeleteAction;
@@ -22,6 +23,7 @@ class JobListErItem extends StatelessWidget {
   JobListErItem({
     required this.index,
     required this.item,
+    required this.withOT,
     this.onEditAction,
     this.onDeleteAction,
     this.onAppliedAction,
@@ -176,27 +178,29 @@ class JobListErItem extends StatelessWidget {
           // ).marginOnly(top: 6),
 
           //OT的设置
-          Row(
-            mainAxisSize: MainAxisSize.max,
-            crossAxisAlignment: CrossAxisAlignment.center,
-            children: [
-              MyTextView(
-                "${"OT".tr}:",
-                fontSize: 15,
-                textColor: Colors.white,
-                isFontRegular: true,
-                marginRight: 10,
-              ),
-              CupertinoSwitch(
-                value: item.isOt == 2,
-                activeColor: const Color(0XFF03DC9A),
-                trackColor: const Color(0XFFDCDDDD),
-                thumbColor: CupertinoColors.white,
-                onChanged: (value) {
-                },
-              ),
-            ],
-          ).marginOnly(top: 6),
+          Visibility(
+            visible: withOT,
+            child: Row(
+              mainAxisSize: MainAxisSize.max,
+              crossAxisAlignment: CrossAxisAlignment.center,
+              children: [
+                MyTextView(
+                  "${"OT".tr}:",
+                  fontSize: 15,
+                  textColor: Colors.white,
+                  isFontRegular: true,
+                  marginRight: 10,
+                ),
+                CupertinoSwitch(
+                  value: item.isOt == 2,
+                  activeColor: const Color(0XFF03DC9A),
+                  trackColor: const Color(0XFFDCDDDD),
+                  thumbColor: CupertinoColors.white,
+                  onChanged: (value) {},
+                ),
+              ],
+            ).marginOnly(top: 6),
+          ),
 
           // 状态
           Row(
@@ -218,12 +222,12 @@ class JobListErItem extends StatelessWidget {
                 textColor: "Completed" == item.statusShow
                     ? ColorConstants.textGreen05DC82
                     : "Cancelled" == item.statusShow || "Rejected" == item.statusShow
-                    ? ColorConstants.textRedFF6262
-                    : "Revised" == item.statusShow || "Pending" == item.statusShow
-                    ? ColorConstants.textYellowFFBB1B
-                    : "Approved" == item.statusShow
-                    ? ColorConstants.textYellowFFF600
-                    : ColorConstants.textBlue06D9FF,
+                        ? ColorConstants.textRedFF6262
+                        : "Revised" == item.statusShow || "Pending" == item.statusShow
+                            ? ColorConstants.textYellowFFBB1B
+                            : "Approved" == item.statusShow
+                                ? ColorConstants.textYellowFFF600
+                                : ColorConstants.textBlue06D9FF,
                 fontSize: 14,
               ).expanded(),
             ],

+ 1 - 0
packages/cpt_th/lib/modules/job_er/job_list_er/job_list_er_page.dart

@@ -129,6 +129,7 @@ class _JobListState extends BaseState<JobListERPage, JobListController> {
                       (context, index) {
                         return JobListErItem(
                           index: index,
+                          withOT: state.indexOptions?.withOt ?? false,
                           item: state.datas[index],
                           onEditAction: () {
                             controller.gotoJobEditPage(state.datas[index]);

+ 1 - 1
packages/cpt_th/lib/modules/labour/labour_request_add/labour_request_add_controller.dart

@@ -88,8 +88,8 @@ class LabourRequestAddController extends GetxController with DioCancelableMixin
 
         state.isOTSelected = state.editDetailEntity?.labReq?.isOt == 2; //等于2就是选中状态
 
-        update();
       }
+      update();
     } else {
       ToastEngine.show(result.errorMsg ?? "Network Load Error".tr);
     }

+ 25 - 22
packages/cpt_th/lib/modules/labour/labour_request_add/labour_request_add_page.dart

@@ -483,28 +483,31 @@ class _LabourRequestAddState extends BaseState<LabourRequestAddPage, LabourReque
                       ),
 
                       //OT的设置
-                      Row(
-                        children: [
-                          MyTextView(
-                            "${"OT".tr}:",
-                            fontSize: 15,
-                            textColor: Colors.white,
-                            isFontRegular: true,
-                            marginRight: 10,
-                          ),
-                          CupertinoSwitch(
-                            value: state.isOTSelected,
-                            activeColor: const Color(0XFF03DC9A),
-                            trackColor: const Color(0XFFDCDDDD),
-                            thumbColor: CupertinoColors.white,
-                            onChanged: state.pageType == 2
-                                ? null
-                                : (value) {
-                                    controller.setOTSelected(value);
-                                  },
-                          ),
-                        ],
-                      ).marginOnly(top: 15),
+                      Visibility(
+                        visible: state.editDetailEntity?.withOt ?? false,
+                        child: Row(
+                          children: [
+                            MyTextView(
+                              "${"OT".tr}:",
+                              fontSize: 15,
+                              textColor: Colors.white,
+                              isFontRegular: true,
+                              marginRight: 10,
+                            ),
+                            CupertinoSwitch(
+                              value: state.isOTSelected,
+                              activeColor: const Color(0XFF03DC9A),
+                              trackColor: const Color(0XFFDCDDDD),
+                              thumbColor: CupertinoColors.white,
+                              onChanged: state.pageType == 2
+                                  ? null
+                                  : (value) {
+                                      controller.setOTSelected(value);
+                                    },
+                            ),
+                          ],
+                        ).marginOnly(top: 15),
+                      ),
 
                       //输入Remark
                       MyTextView(

+ 31 - 27
packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_item.dart

@@ -15,6 +15,7 @@ import 'package:widgets/widget_export.dart';
  */
 class LabourRequestItem extends StatelessWidget {
   final int index;
+  bool withOT = false;
   final THOALabourTableRows item;
   final int totalNum;
   final VoidCallback? onStatusAction;
@@ -29,6 +30,7 @@ class LabourRequestItem extends StatelessWidget {
     required this.index,
     required this.item,
     required this.totalNum,
+    required this.withOT,
     this.onStatusAction,
     this.onRecallAction,
     this.onDetailAction,
@@ -205,27 +207,29 @@ class LabourRequestItem extends StatelessWidget {
           ),
 
           //OT的设置
-          Row(
-            mainAxisSize: MainAxisSize.max,
-            crossAxisAlignment: CrossAxisAlignment.center,
-            children: [
-              MyTextView(
-                "${"OT".tr}:",
-                fontSize: 15,
-                textColor: Colors.white,
-                isFontRegular: true,
-                marginRight: 10,
-              ),
-              CupertinoSwitch(
-                value: item.isOt == 2,
-                activeColor: const Color(0XFF03DC9A),
-                trackColor: const Color(0XFFDCDDDD),
-                thumbColor: CupertinoColors.white,
-                onChanged: (value) {
-                },
-              ),
-            ],
-          ).marginOnly(top: 1,bottom: 4),
+          Visibility(
+            visible: withOT,
+            child: Row(
+              mainAxisSize: MainAxisSize.max,
+              crossAxisAlignment: CrossAxisAlignment.center,
+              children: [
+                MyTextView(
+                  "${"OT".tr}:",
+                  fontSize: 15,
+                  textColor: Colors.white,
+                  isFontRegular: true,
+                  marginRight: 10,
+                ),
+                CupertinoSwitch(
+                  value: item.isOt == 2,
+                  activeColor: const Color(0XFF03DC9A),
+                  trackColor: const Color(0XFFDCDDDD),
+                  thumbColor: CupertinoColors.white,
+                  onChanged: (value) {},
+                ),
+              ],
+            ).marginOnly(top: 1, bottom: 4),
+          ),
 
           // 状态
           Row(
@@ -250,12 +254,12 @@ class LabourRequestItem extends StatelessWidget {
                     textColor: "Completed" == item.statusShow
                         ? ColorConstants.textGreen05DC82
                         : "Cancelled" == item.statusShow || "Rejected" == item.statusShow
-                        ? ColorConstants.textRedFF6262
-                        : "Revised" == item.statusShow || "Pending" == item.statusShow
-                        ? ColorConstants.textYellowFFBB1B
-                        : "Approved" == item.statusShow
-                        ? ColorConstants.textYellowFFF600
-                        : ColorConstants.textBlue06D9FF,
+                            ? ColorConstants.textRedFF6262
+                            : "Revised" == item.statusShow || "Pending" == item.statusShow
+                                ? ColorConstants.textYellowFFBB1B
+                                : "Approved" == item.statusShow
+                                    ? ColorConstants.textYellowFFF600
+                                    : ColorConstants.textBlue06D9FF,
                     fontSize: 14,
                   ),
                   Visibility(

+ 1 - 0
packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_list_page.dart

@@ -158,6 +158,7 @@ class _LabourRequestListState extends BaseState<LabourRequestListPage, LabourReq
                         delegate: SliverChildBuilderDelegate(
                       (context, index) {
                         return LabourRequestItem(
+                          withOT: state.indexOptions?.withOt ?? false,
                           index: index,
                           item: state.datas[index],
                           totalNum: state.totalNum,

+ 0 - 1
packages/cpt_th/lib/modules/labour/labour_request_list/labour_request_list_state.dart

@@ -1,5 +1,4 @@
 import 'package:domain/entity/response/labour_request_index_entity.dart';
-import 'package:domain/entity/response/labour_request_list_entity.dart';
 import 'package:domain/entity/response/t_h_o_a_labour_table_entity.dart';
 import 'package:flutter/material.dart';
 

+ 34 - 33
packages/cpt_th/lib/modules/labour/labour_review_list/labour_review_item.dart

@@ -15,6 +15,7 @@ import 'package:widgets/my_text_view.dart';
  */
 class LabourReviewItem extends StatelessWidget {
   final int index;
+  bool withOT = false;
   final THOALabourReviewTableRows item;
   final VoidCallback? onStatusAction;
   final VoidCallback? onEditAction;
@@ -24,6 +25,7 @@ class LabourReviewItem extends StatelessWidget {
   LabourReviewItem({
     required this.index,
     required this.item,
+    required this.withOT,
     this.onStatusAction,
     this.onEditAction,
     this.onAttAction,
@@ -88,7 +90,7 @@ class LabourReviewItem extends StatelessWidget {
                 fontSize: 14,
               ).expanded(),
             ],
-          ).marginOnly(top:10),
+          ).marginOnly(top: 10),
 
           // 工作日期时间
           Row(
@@ -111,13 +113,12 @@ class LabourReviewItem extends StatelessWidget {
                 fontSize: 14,
               ).expanded(),
             ],
-          ).marginOnly(top:10),
+          ).marginOnly(top: 10),
 
           Row(
             children: [
               // 人数
               Row(
-
                 mainAxisSize: MainAxisSize.max,
                 crossAxisAlignment: CrossAxisAlignment.center,
                 children: [
@@ -139,7 +140,6 @@ class LabourReviewItem extends StatelessWidget {
                 ],
               ).expanded(),
 
-
               const SizedBox(width: 10),
 
               // 状态
@@ -162,42 +162,43 @@ class LabourReviewItem extends StatelessWidget {
                     textColor: "Completed" == item.statusShow
                         ? ColorConstants.textGreen05DC82
                         : "Cancelled" == item.statusShow || "Rejected" == item.statusShow
-                        ? ColorConstants.textRedFF6262
-                        : "Revised" == item.statusShow || "Pending" == item.statusShow
-                        ? ColorConstants.textYellowFFBB1B
-                        : "Approved" == item.statusShow
-                        ? ColorConstants.textYellowFFF600
-                        : ColorConstants.textBlue06D9FF,
+                            ? ColorConstants.textRedFF6262
+                            : "Revised" == item.statusShow || "Pending" == item.statusShow
+                                ? ColorConstants.textYellowFFBB1B
+                                : "Approved" == item.statusShow
+                                    ? ColorConstants.textYellowFFF600
+                                    : ColorConstants.textBlue06D9FF,
                     fontSize: 14,
                   ).expanded(),
                 ],
               ).expanded(),
-
             ],
-          ).marginOnly(top:10),
+          ).marginOnly(top: 10),
 
           //OT的设置
-          Row(
-            mainAxisSize: MainAxisSize.max,
-            crossAxisAlignment: CrossAxisAlignment.center,
-            children: [
-              MyTextView(
-                "${"OT".tr}:",
-                fontSize: 15,
-                textColor: Colors.white,
-                isFontRegular: true,
-                marginRight: 10,
-              ),
-              CupertinoSwitch(
-                value: item.isOt == 2,
-                activeColor: const Color(0XFF03DC9A),
-                trackColor: const Color(0XFFDCDDDD),
-                thumbColor: CupertinoColors.white,
-                onChanged: (value) {
-                },
-              ),
-            ],
-          ).marginOnly(top: 5),
+          Visibility(
+            visible: withOT,
+            child: Row(
+              mainAxisSize: MainAxisSize.max,
+              crossAxisAlignment: CrossAxisAlignment.center,
+              children: [
+                MyTextView(
+                  "${"OT".tr}:",
+                  fontSize: 15,
+                  textColor: Colors.white,
+                  isFontRegular: true,
+                  marginRight: 10,
+                ),
+                CupertinoSwitch(
+                  value: item.isOt == 2,
+                  activeColor: const Color(0XFF03DC9A),
+                  trackColor: const Color(0XFFDCDDDD),
+                  thumbColor: CupertinoColors.white,
+                  onChanged: (value) {},
+                ),
+              ],
+            ).marginOnly(top: 5),
+          ),
 
           //按钮组
           Visibility(

+ 1 - 0
packages/cpt_th/lib/modules/labour/labour_review_list/labour_review_page.dart

@@ -125,6 +125,7 @@ class _LabourReviewState extends BaseState<LabourReviewPage, LabourReviewControl
                       (context, index) {
                         return LabourReviewItem(
                           index: index,
+                          withOT: state.indexOptions?.withOt ?? false,
                           item: state.datas[index],
                           onAttAction: () {
                             controller.showAttachmentDialog(state.datas[index]);

+ 26 - 23
packages/cpt_th/lib/modules/labour_er/labour_request_er_add/labour_request_er_add_page.dart

@@ -59,7 +59,7 @@ class _LabourRequestAddState extends BaseState<LabourRequestERAddPage, LabourReq
     return autoCtlGetBuilder(builder: (controller) {
       return Scaffold(
         extendBodyBehindAppBar: true,
-        appBar: MyAppBar.appBar(context, state.pageType == 2 ? "Edit Labour Requisition".tr : "Labour Requisition".tr),
+        appBar: MyAppBar.appBar(context, state.pageType == 1 ? "Edit Labour Requisition".tr : "Labour Requisition".tr),
         body: SafeArea(
           bottom: MediaQuery.of(context).padding.bottom > 38,
           top: false,
@@ -483,28 +483,31 @@ class _LabourRequestAddState extends BaseState<LabourRequestERAddPage, LabourReq
                       ),
 
                       //OT的设置
-                      Row(
-                        children: [
-                          MyTextView(
-                            "${"OT".tr}:",
-                            fontSize: 15,
-                            textColor: Colors.white,
-                            isFontRegular: true,
-                            marginRight: 10,
-                          ),
-                          CupertinoSwitch(
-                            value: state.isOTSelected,
-                            activeColor: const Color(0XFF03DC9A),
-                            trackColor: const Color(0XFFDCDDDD),
-                            thumbColor: CupertinoColors.white,
-                            onChanged: state.pageType == 2
-                                ? null
-                                : (value) {
-                                    controller.setOTSelected(value);
-                                  },
-                          ),
-                        ],
-                      ).marginOnly(top: 15, bottom: 10),
+                      Visibility(
+                        visible: state.editDetailEntity?.withOtJob ?? false,
+                        child: Row(
+                          children: [
+                            MyTextView(
+                              "${"OT".tr}:",
+                              fontSize: 15,
+                              textColor: Colors.white,
+                              isFontRegular: true,
+                              marginRight: 10,
+                            ),
+                            CupertinoSwitch(
+                              value: state.isOTSelected,
+                              activeColor: const Color(0XFF03DC9A),
+                              trackColor: const Color(0XFFDCDDDD),
+                              thumbColor: CupertinoColors.white,
+                              onChanged: state.pageType == 2
+                                  ? null
+                                  : (value) {
+                                      controller.setOTSelected(value);
+                                    },
+                            ),
+                          ],
+                        ).marginOnly(top: 15, bottom: 10),
+                      ),
 
                       //输入类型
                       MyTextView("Event".tr, fontSize: 15, textColor: Colors.white, isFontRegular: true, marginTop: 15, marginBottom: 10),

+ 3 - 1
packages/cs_domain/lib/entity/response/job_list_e_r_detail_entity.dart

@@ -19,7 +19,9 @@ class JobListERDetailEntity {
 	@JSONField(name: "outlet_list")
 	List<IndexOptionEntity> outletList = [];
 	String? view;
-
+	@JSONField(name: "with_ot_job")
+	bool withOtJob = false;
+	
 	JobListERDetailEntity();
 
 	factory JobListERDetailEntity.fromJson(Map<String, dynamic> json) => $JobListERDetailEntityFromJson(json);

+ 4 - 0
packages/cs_domain/lib/entity/response/labour_request_index_entity.dart

@@ -14,6 +14,10 @@ class LabourRequestIndexEntity {
 	List<LabourRequestIndexStatusList>? statusList = [];
 	@JSONField(name: "division_list")
 	List<IndexOptionEntity> divisionList = [];
+	@JSONField(name: "with_ot_job")
+	bool withOtJob = false;
+	@JSONField(name: "with_ot")
+	bool withOt = false;
 
 	LabourRequestIndexEntity();
 

+ 3 - 6
packages/cs_domain/lib/generated/json/add_edit_revise_view_s_g_entity.g.dart

@@ -1,15 +1,13 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/add_edit_revise_view_s_g_entity.dart';
 
-AddEditReviseViewSGEntity $AddEditReviseViewSGEntityFromJson(
-    Map<String, dynamic> json) {
+AddEditReviseViewSGEntity $AddEditReviseViewSGEntityFromJson(Map<String, dynamic> json) {
   final AddEditReviseViewSGEntity addEditReviseViewSGEntity = AddEditReviseViewSGEntity();
   final String? appliedId = jsonConvert.convert<String>(json['applied_id']);
   if (appliedId != null) {
     addEditReviseViewSGEntity.appliedId = appliedId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     addEditReviseViewSGEntity.labourerName = labourerName;
   }
@@ -64,8 +62,7 @@ AddEditReviseViewSGEntity $AddEditReviseViewSGEntityFromJson(
   return addEditReviseViewSGEntity;
 }
 
-Map<String, dynamic> $AddEditReviseViewSGEntityToJson(
-    AddEditReviseViewSGEntity entity) {
+Map<String, dynamic> $AddEditReviseViewSGEntityToJson(AddEditReviseViewSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['labourer_name'] = entity.labourerName;

+ 7 - 15
packages/cs_domain/lib/generated/json/agency_detail_entity.g.dart

@@ -5,21 +5,16 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 AgencyDetailEntity $AgencyDetailEntityFromJson(Map<String, dynamic> json) {
   final AgencyDetailEntity agencyDetailEntity = AgencyDetailEntity();
-  final AgencyDetailPivot? pivot = jsonConvert.convert<AgencyDetailPivot>(
-      json['pivot']);
+  final AgencyDetailPivot? pivot = jsonConvert.convert<AgencyDetailPivot>(json['pivot']);
   if (pivot != null) {
     agencyDetailEntity.pivot = pivot;
   }
-  final List<IndexOptionEntity>? statusRadios = (json['status_radios'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusRadios = (json['status_radios'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusRadios != null) {
     agencyDetailEntity.statusRadios = statusRadios;
   }
-  final String? contractStart = jsonConvert.convert<String>(
-      json['contract_start']);
+  final String? contractStart = jsonConvert.convert<String>(json['contract_start']);
   if (contractStart != null) {
     agencyDetailEntity.contractStart = contractStart;
   }
@@ -80,8 +75,7 @@ AgencyDetailPivot $AgencyDetailPivotFromJson(Map<String, dynamic> json) {
   if (companyNo != null) {
     agencyDetailPivot.companyNo = companyNo;
   }
-  final String? contactPerson = jsonConvert.convert<String>(
-      json['contact_person']);
+  final String? contactPerson = jsonConvert.convert<String>(json['contact_person']);
   if (contactPerson != null) {
     agencyDetailPivot.contactPerson = contactPerson;
   }
@@ -89,8 +83,7 @@ AgencyDetailPivot $AgencyDetailPivotFromJson(Map<String, dynamic> json) {
   if (contactNo != null) {
     agencyDetailPivot.contactNo = contactNo;
   }
-  final String? contactEmail = jsonConvert.convert<String>(
-      json['contact_email']);
+  final String? contactEmail = jsonConvert.convert<String>(json['contact_email']);
   if (contactEmail != null) {
     agencyDetailPivot.contactEmail = contactEmail;
   }
@@ -98,8 +91,7 @@ AgencyDetailPivot $AgencyDetailPivotFromJson(Map<String, dynamic> json) {
   if (address != null) {
     agencyDetailPivot.address = address;
   }
-  final String? contractStart = jsonConvert.convert<String>(
-      json['contract_start']);
+  final String? contractStart = jsonConvert.convert<String>(json['contract_start']);
   if (contractStart != null) {
     agencyDetailPivot.contractStart = contractStart;
   }

+ 2 - 5
packages/cs_domain/lib/generated/json/agency_option_entity.g.dart

@@ -5,11 +5,8 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 AgencyOptionEntity $AgencyOptionEntityFromJson(Map<String, dynamic> json) {
   final AgencyOptionEntity agencyOptionEntity = AgencyOptionEntity();
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     agencyOptionEntity.statusList = statusList;
   }

+ 4 - 8
packages/cs_domain/lib/generated/json/agency_table_entity.g.dart

@@ -7,10 +7,8 @@ AgencyTableEntity $AgencyTableEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     agencyTableEntity.total = total;
   }
-  final List<AgencyTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<AgencyTableRows>(e) as AgencyTableRows)
-      .toList();
+  final List<AgencyTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<AgencyTableRows>(e) as AgencyTableRows).toList();
   if (rows != null) {
     agencyTableEntity.rows = rows;
   }
@@ -49,8 +47,7 @@ AgencyTableRows $AgencyTableRowsFromJson(Map<String, dynamic> json) {
   if (uenNo != null) {
     agencyTableRows.uenNo = uenNo;
   }
-  final String? contactPerson = jsonConvert.convert<String>(
-      json['contact_person']);
+  final String? contactPerson = jsonConvert.convert<String>(json['contact_person']);
   if (contactPerson != null) {
     agencyTableRows.contactPerson = contactPerson;
   }
@@ -58,8 +55,7 @@ AgencyTableRows $AgencyTableRowsFromJson(Map<String, dynamic> json) {
   if (contactNo != null) {
     agencyTableRows.contactNo = contactNo;
   }
-  final String? contactEmail = jsonConvert.convert<String>(
-      json['contact_email']);
+  final String? contactEmail = jsonConvert.convert<String>(json['contact_email']);
   if (contactEmail != null) {
     agencyTableRows.contactEmail = contactEmail;
   }

+ 5 - 10
packages/cs_domain/lib/generated/json/attendance_entity.g.dart

@@ -7,10 +7,8 @@ AttendanceEntity $AttendanceEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     attendanceEntity.total = total;
   }
-  final List<AttendanceList>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<AttendanceList>(e) as AttendanceList)
-      .toList();
+  final List<AttendanceList>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<AttendanceList>(e) as AttendanceList).toList();
   if (rows != null) {
     attendanceEntity.rows = rows;
   }
@@ -73,8 +71,7 @@ AttendanceList $AttendanceListFromJson(Map<String, dynamic> json) {
   if (checkInId != null) {
     attendanceList.checkInId = checkInId;
   }
-  final String? checkInTime = jsonConvert.convert<String>(
-      json['check_in_time']);
+  final String? checkInTime = jsonConvert.convert<String>(json['check_in_time']);
   if (checkInTime != null) {
     attendanceList.checkInTime = checkInTime;
   }
@@ -86,13 +83,11 @@ AttendanceList $AttendanceListFromJson(Map<String, dynamic> json) {
   if (checkOutId != null) {
     attendanceList.checkOutId = checkOutId;
   }
-  final String? checkOutTime = jsonConvert.convert<String>(
-      json['check_out_time']);
+  final String? checkOutTime = jsonConvert.convert<String>(json['check_out_time']);
   if (checkOutTime != null) {
     attendanceList.checkOutTime = checkOutTime;
   }
-  final String? checkOutImg = jsonConvert.convert<String>(
-      json['check_out_img']);
+  final String? checkOutImg = jsonConvert.convert<String>(json['check_out_img']);
   if (checkOutImg != null) {
     attendanceList.checkOutImg = checkOutImg;
   }

+ 5 - 11
packages/cs_domain/lib/generated/json/attendance_review_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/attendance_review_entity.dart';
 
-AttendanceReviewEntity $AttendanceReviewEntityFromJson(
-    Map<String, dynamic> json) {
+AttendanceReviewEntity $AttendanceReviewEntityFromJson(Map<String, dynamic> json) {
   final AttendanceReviewEntity attendanceReviewEntity = AttendanceReviewEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     attendanceReviewEntity.total = total;
   }
-  final List<AttendanceReviewRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<AttendanceReviewRows>(e) as AttendanceReviewRows)
-      .toList();
+  final List<AttendanceReviewRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<AttendanceReviewRows>(e) as AttendanceReviewRows).toList();
   if (rows != null) {
     attendanceReviewEntity.rows = rows;
   }
   return attendanceReviewEntity;
 }
 
-Map<String, dynamic> $AttendanceReviewEntityToJson(
-    AttendanceReviewEntity entity) {
+Map<String, dynamic> $AttendanceReviewEntityToJson(AttendanceReviewEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -60,8 +55,7 @@ AttendanceReviewRows $AttendanceReviewRowsFromJson(Map<String, dynamic> json) {
   if (jobTitle != null) {
     attendanceReviewRows.jobTitle = jobTitle;
   }
-  final String? departmentName = jsonConvert.convert<String>(
-      json['department_name']);
+  final String? departmentName = jsonConvert.convert<String>(json['department_name']);
   if (departmentName != null) {
     attendanceReviewRows.departmentName = departmentName;
   }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 421 - 903
packages/cs_domain/lib/generated/json/base/json_convert_content.dart


+ 3 - 7
packages/cs_domain/lib/generated/json/contract_detail_entity.g.dart

@@ -5,16 +5,12 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 ContractDetailEntity $ContractDetailEntityFromJson(Map<String, dynamic> json) {
   final ContractDetailEntity contractDetailEntity = ContractDetailEntity();
-  final ContractDetailRow? row = jsonConvert.convert<ContractDetailRow>(
-      json['row']);
+  final ContractDetailRow? row = jsonConvert.convert<ContractDetailRow>(json['row']);
   if (row != null) {
     contractDetailEntity.row = row;
   }
-  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (agencyList != null) {
     contractDetailEntity.agencyList = agencyList;
   }

+ 4 - 10
packages/cs_domain/lib/generated/json/contract_option_entity.g.dart

@@ -5,19 +5,13 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 ContractOptionEntity $ContractOptionEntityFromJson(Map<String, dynamic> json) {
   final ContractOptionEntity contractOptionEntity = ContractOptionEntity();
-  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (agencyList != null) {
     contractOptionEntity.agencyList = agencyList;
   }
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     contractOptionEntity.statusList = statusList;
   }

+ 4 - 9
packages/cs_domain/lib/generated/json/contract_position_add_option_entity.g.dart

@@ -3,8 +3,7 @@ import 'package:domain/entity/response/contract_position_add_option_entity.dart'
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-ContractPositionAddOptionEntity $ContractPositionAddOptionEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionAddOptionEntity $ContractPositionAddOptionEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionAddOptionEntity contractPositionAddOptionEntity = ContractPositionAddOptionEntity();
   final String? contractId = jsonConvert.convert<String>(json['contract_id']);
   if (contractId != null) {
@@ -22,19 +21,15 @@ ContractPositionAddOptionEntity $ContractPositionAddOptionEntityFromJson(
   if (agencyName != null) {
     contractPositionAddOptionEntity.agencyName = agencyName;
   }
-  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (positionList != null) {
     contractPositionAddOptionEntity.positionList = positionList;
   }
   return contractPositionAddOptionEntity;
 }
 
-Map<String, dynamic> $ContractPositionAddOptionEntityToJson(
-    ContractPositionAddOptionEntity entity) {
+Map<String, dynamic> $ContractPositionAddOptionEntityToJson(ContractPositionAddOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['contract_id'] = entity.contractId;
   data['start_date'] = entity.startDate;

+ 2 - 4
packages/cs_domain/lib/generated/json/contract_position_option_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/contract_position_option_entity.dart';
 
-ContractPositionOptionEntity $ContractPositionOptionEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionOptionEntity $ContractPositionOptionEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionOptionEntity contractPositionOptionEntity = ContractPositionOptionEntity();
   final String? contractId = jsonConvert.convert<String>(json['contract_id']);
   if (contractId != null) {
@@ -23,8 +22,7 @@ ContractPositionOptionEntity $ContractPositionOptionEntityFromJson(
   return contractPositionOptionEntity;
 }
 
-Map<String, dynamic> $ContractPositionOptionEntityToJson(
-    ContractPositionOptionEntity entity) {
+Map<String, dynamic> $ContractPositionOptionEntityToJson(ContractPositionOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['contract_id'] = entity.contractId;
   data['start_date'] = entity.startDate;

+ 2 - 4
packages/cs_domain/lib/generated/json/contract_position_rate_detail_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/contract_position_rate_detail_entity.dart';
 
-ContractPositionRateDetailEntity $ContractPositionRateDetailEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionRateDetailEntity $ContractPositionRateDetailEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionRateDetailEntity contractPositionRateDetailEntity = ContractPositionRateDetailEntity();
   final String? positionId = jsonConvert.convert<String>(json['position_id']);
   if (positionId != null) {
@@ -71,8 +70,7 @@ ContractPositionRateDetailEntity $ContractPositionRateDetailEntityFromJson(
   return contractPositionRateDetailEntity;
 }
 
-Map<String, dynamic> $ContractPositionRateDetailEntityToJson(
-    ContractPositionRateDetailEntity entity) {
+Map<String, dynamic> $ContractPositionRateDetailEntityToJson(ContractPositionRateDetailEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['position_id'] = entity.positionId;
   data['agency_name'] = entity.agencyName;

+ 2 - 4
packages/cs_domain/lib/generated/json/contract_position_rate_specific_option_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart';
 
-ContractPositionRateSpecificOptionEntity $ContractPositionRateSpecificOptionEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionRateSpecificOptionEntity $ContractPositionRateSpecificOptionEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionRateSpecificOptionEntity contractPositionRateSpecificOptionEntity = ContractPositionRateSpecificOptionEntity();
   final String? positionId = jsonConvert.convert<String>(json['position_id']);
   if (positionId != null) {
@@ -23,8 +22,7 @@ ContractPositionRateSpecificOptionEntity $ContractPositionRateSpecificOptionEnti
   return contractPositionRateSpecificOptionEntity;
 }
 
-Map<String, dynamic> $ContractPositionRateSpecificOptionEntityToJson(
-    ContractPositionRateSpecificOptionEntity entity) {
+Map<String, dynamic> $ContractPositionRateSpecificOptionEntityToJson(ContractPositionRateSpecificOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['position_id'] = entity.positionId;
   data['agency_name'] = entity.agencyName;

+ 6 - 13
packages/cs_domain/lib/generated/json/contract_position_rate_table_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/contract_position_rate_table_entity.dart';
 
-ContractPositionRateTableEntity $ContractPositionRateTableEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionRateTableEntity $ContractPositionRateTableEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionRateTableEntity contractPositionRateTableEntity = ContractPositionRateTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     contractPositionRateTableEntity.total = total;
   }
-  final List<ContractPositionRateTableRows>? rows = (json['rows'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<ContractPositionRateTableRows>(
-          e) as ContractPositionRateTableRows).toList();
+  final List<ContractPositionRateTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ContractPositionRateTableRows>(e) as ContractPositionRateTableRows).toList();
   if (rows != null) {
     contractPositionRateTableEntity.rows = rows;
   }
   return contractPositionRateTableEntity;
 }
 
-Map<String, dynamic> $ContractPositionRateTableEntityToJson(
-    ContractPositionRateTableEntity entity) {
+Map<String, dynamic> $ContractPositionRateTableEntityToJson(ContractPositionRateTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension ContractPositionRateTableEntityExtension on ContractPositionRateTableE
   }
 }
 
-ContractPositionRateTableRows $ContractPositionRateTableRowsFromJson(
-    Map<String, dynamic> json) {
+ContractPositionRateTableRows $ContractPositionRateTableRowsFromJson(Map<String, dynamic> json) {
   final ContractPositionRateTableRows contractPositionRateTableRows = ContractPositionRateTableRows();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -72,8 +66,7 @@ ContractPositionRateTableRows $ContractPositionRateTableRowsFromJson(
   return contractPositionRateTableRows;
 }
 
-Map<String, dynamic> $ContractPositionRateTableRowsToJson(
-    ContractPositionRateTableRows entity) {
+Map<String, dynamic> $ContractPositionRateTableRowsToJson(ContractPositionRateTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['agency_name'] = entity.agencyName;

+ 6 - 14
packages/cs_domain/lib/generated/json/contract_position_table_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/contract_position_table_entity.dart';
 
-ContractPositionTableEntity $ContractPositionTableEntityFromJson(
-    Map<String, dynamic> json) {
+ContractPositionTableEntity $ContractPositionTableEntityFromJson(Map<String, dynamic> json) {
   final ContractPositionTableEntity contractPositionTableEntity = ContractPositionTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     contractPositionTableEntity.total = total;
   }
-  final List<ContractPositionTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<ContractPositionTableRows>(
-          e) as ContractPositionTableRows)
-      .toList();
+  final List<ContractPositionTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ContractPositionTableRows>(e) as ContractPositionTableRows).toList();
   if (rows != null) {
     contractPositionTableEntity.rows = rows;
   }
   return contractPositionTableEntity;
 }
 
-Map<String, dynamic> $ContractPositionTableEntityToJson(
-    ContractPositionTableEntity entity) {
+Map<String, dynamic> $ContractPositionTableEntityToJson(ContractPositionTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension ContractPositionTableEntityExtension on ContractPositionTableEntity {
   }
 }
 
-ContractPositionTableRows $ContractPositionTableRowsFromJson(
-    Map<String, dynamic> json) {
+ContractPositionTableRows $ContractPositionTableRowsFromJson(Map<String, dynamic> json) {
   final ContractPositionTableRows contractPositionTableRows = ContractPositionTableRows();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -73,8 +66,7 @@ ContractPositionTableRows $ContractPositionTableRowsFromJson(
   return contractPositionTableRows;
 }
 
-Map<String, dynamic> $ContractPositionTableRowsToJson(
-    ContractPositionTableRows entity) {
+Map<String, dynamic> $ContractPositionTableRowsToJson(ContractPositionTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['agency_name'] = entity.agencyName;

+ 3 - 6
packages/cs_domain/lib/generated/json/contract_table_entity.g.dart

@@ -7,10 +7,8 @@ ContractTableEntity $ContractTableEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     contractTableEntity.total = total;
   }
-  final List<ContractTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<ContractTableRows>(e) as ContractTableRows)
-      .toList();
+  final List<ContractTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ContractTableRows>(e) as ContractTableRows).toList();
   if (rows != null) {
     contractTableEntity.rows = rows;
   }
@@ -49,8 +47,7 @@ ContractTableRows $ContractTableRowsFromJson(Map<String, dynamic> json) {
   if (uenNo != null) {
     contractTableRows.uenNo = uenNo;
   }
-  final String? contactPerson = jsonConvert.convert<String>(
-      json['contact_person']);
+  final String? contactPerson = jsonConvert.convert<String>(json['contact_person']);
   if (contactPerson != null) {
     contractTableRows.contactPerson = contactPerson;
   }

+ 3 - 6
packages/cs_domain/lib/generated/json/device_list_entity.g.dart

@@ -7,10 +7,8 @@ DeviceListEntity $DeviceListEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     deviceListEntity.total = total;
   }
-  final List<DeviceListRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<DeviceListRows>(e) as DeviceListRows)
-      .toList();
+  final List<DeviceListRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<DeviceListRows>(e) as DeviceListRows).toList();
   if (rows != null) {
     deviceListEntity.rows = rows;
   }
@@ -69,8 +67,7 @@ DeviceListRows $DeviceListRowsFromJson(Map<String, dynamic> json) {
   if (lastOnline != null) {
     deviceListRows.lastOnline = lastOnline;
   }
-  final String? siteTypeShow = jsonConvert.convert<String>(
-      json['site_type_show']);
+  final String? siteTypeShow = jsonConvert.convert<String>(json['site_type_show']);
   if (siteTypeShow != null) {
     deviceListRows.siteTypeShow = siteTypeShow;
   }

+ 2 - 6
packages/cs_domain/lib/generated/json/fiance_report_entity.g.dart

@@ -3,12 +3,8 @@ import 'package:domain/entity/response/fiance_report_entity.dart';
 
 FianceReportEntity $FianceReportEntityFromJson(Map<String, dynamic> json) {
   final FianceReportEntity fianceReportEntity = FianceReportEntity();
-  final List<FianceReportRateList>? rateList = (json['rate_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<FianceReportRateList>(e) as FianceReportRateList)
-      .toList();
+  final List<FianceReportRateList>? rateList = (json['rate_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<FianceReportRateList>(e) as FianceReportRateList).toList();
   if (rateList != null) {
     fianceReportEntity.rateList = rateList;
   }

+ 6 - 14
packages/cs_domain/lib/generated/json/hotel_info_entity.g.dart

@@ -19,10 +19,8 @@ HotelInfoEntity $HotelInfoEntityFromJson(Map<String, dynamic> json) {
   if (hotelName != null) {
     hotelInfoEntity.hotelName = hotelName;
   }
-  final List<HotelInfoMenus>? menus = (json['menus'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<HotelInfoMenus>(e) as HotelInfoMenus)
-      .toList();
+  final List<HotelInfoMenus>? menus = (json['menus'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<HotelInfoMenus>(e) as HotelInfoMenus).toList();
   if (menus != null) {
     hotelInfoEntity.menus = menus;
   }
@@ -85,12 +83,8 @@ HotelInfoMenus $HotelInfoMenusFromJson(Map<String, dynamic> json) {
   if (own != null) {
     hotelInfoMenus.own = own;
   }
-  final List<HotelInfoMenusChildren>? children = (json['children'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<HotelInfoMenusChildren>(e) as HotelInfoMenusChildren)
-      .toList();
+  final List<HotelInfoMenusChildren>? children = (json['children'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<HotelInfoMenusChildren>(e) as HotelInfoMenusChildren).toList();
   if (children != null) {
     hotelInfoMenus.children = children;
   }
@@ -127,8 +121,7 @@ extension HotelInfoMenusExtension on HotelInfoMenus {
   }
 }
 
-HotelInfoMenusChildren $HotelInfoMenusChildrenFromJson(
-    Map<String, dynamic> json) {
+HotelInfoMenusChildren $HotelInfoMenusChildrenFromJson(Map<String, dynamic> json) {
   final HotelInfoMenusChildren hotelInfoMenusChildren = HotelInfoMenusChildren();
   final String? key = jsonConvert.convert<String>(json['key']);
   if (key != null) {
@@ -141,8 +134,7 @@ HotelInfoMenusChildren $HotelInfoMenusChildrenFromJson(
   return hotelInfoMenusChildren;
 }
 
-Map<String, dynamic> $HotelInfoMenusChildrenToJson(
-    HotelInfoMenusChildren entity) {
+Map<String, dynamic> $HotelInfoMenusChildrenToJson(HotelInfoMenusChildren entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['key'] = entity.key;
   data['name'] = entity.name;

+ 6 - 14
packages/cs_domain/lib/generated/json/job_applied_edit_index_s_g_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_applied_edit_index_s_g_entity.dart';
 
-JobAppliedEditIndexSGEntity $JobAppliedEditIndexSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobAppliedEditIndexSGEntity $JobAppliedEditIndexSGEntityFromJson(Map<String, dynamic> json) {
   final JobAppliedEditIndexSGEntity jobAppliedEditIndexSGEntity = JobAppliedEditIndexSGEntity();
   final String? appliedId = jsonConvert.convert<String>(json['applied_id']);
   if (appliedId != null) {
@@ -40,20 +39,15 @@ JobAppliedEditIndexSGEntity $JobAppliedEditIndexSGEntityFromJson(
   if (adjustHours != null) {
     jobAppliedEditIndexSGEntity.adjustHours = adjustHours;
   }
-  final List<
-      JobAppliedEditIndexSGStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobAppliedEditIndexSGStatusList>(
-          e) as JobAppliedEditIndexSGStatusList).toList();
+  final List<JobAppliedEditIndexSGStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobAppliedEditIndexSGStatusList>(e) as JobAppliedEditIndexSGStatusList).toList();
   if (statusList != null) {
     jobAppliedEditIndexSGEntity.statusList = statusList;
   }
   return jobAppliedEditIndexSGEntity;
 }
 
-Map<String, dynamic> $JobAppliedEditIndexSGEntityToJson(
-    JobAppliedEditIndexSGEntity entity) {
+Map<String, dynamic> $JobAppliedEditIndexSGEntityToJson(JobAppliedEditIndexSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['status'] = entity.status;
@@ -95,8 +89,7 @@ extension JobAppliedEditIndexSGEntityExtension on JobAppliedEditIndexSGEntity {
   }
 }
 
-JobAppliedEditIndexSGStatusList $JobAppliedEditIndexSGStatusListFromJson(
-    Map<String, dynamic> json) {
+JobAppliedEditIndexSGStatusList $JobAppliedEditIndexSGStatusListFromJson(Map<String, dynamic> json) {
   final JobAppliedEditIndexSGStatusList jobAppliedEditIndexSGStatusList = JobAppliedEditIndexSGStatusList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -113,8 +106,7 @@ JobAppliedEditIndexSGStatusList $JobAppliedEditIndexSGStatusListFromJson(
   return jobAppliedEditIndexSGStatusList;
 }
 
-Map<String, dynamic> $JobAppliedEditIndexSGStatusListToJson(
-    JobAppliedEditIndexSGStatusList entity) {
+Map<String, dynamic> $JobAppliedEditIndexSGStatusListToJson(JobAppliedEditIndexSGStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 6 - 14
packages/cs_domain/lib/generated/json/job_applied_index_s_g_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_applied_index_s_g_entity.dart';
 
-JobAppliedIndexSGEntity $JobAppliedIndexSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobAppliedIndexSGEntity $JobAppliedIndexSGEntityFromJson(Map<String, dynamic> json) {
   final JobAppliedIndexSGEntity jobAppliedIndexSGEntity = JobAppliedIndexSGEntity();
   final String? jobId = jsonConvert.convert<String>(json['job_id']);
   if (jobId != null) {
@@ -16,12 +15,8 @@ JobAppliedIndexSGEntity $JobAppliedIndexSGEntityFromJson(
   if (jobTitle != null) {
     jobAppliedIndexSGEntity.jobTitle = jobTitle;
   }
-  final List<
-      JobAppliedIndexSGStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobAppliedIndexSGStatusList>(
-          e) as JobAppliedIndexSGStatusList).toList();
+  final List<JobAppliedIndexSGStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobAppliedIndexSGStatusList>(e) as JobAppliedIndexSGStatusList).toList();
   if (statusList != null) {
     jobAppliedIndexSGEntity.statusList = statusList;
   }
@@ -32,8 +27,7 @@ JobAppliedIndexSGEntity $JobAppliedIndexSGEntityFromJson(
   return jobAppliedIndexSGEntity;
 }
 
-Map<String, dynamic> $JobAppliedIndexSGEntityToJson(
-    JobAppliedIndexSGEntity entity) {
+Map<String, dynamic> $JobAppliedIndexSGEntityToJson(JobAppliedIndexSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['job_id'] = entity.jobId;
   data['job_date'] = entity.jobDate;
@@ -60,8 +54,7 @@ extension JobAppliedIndexSGEntityExtension on JobAppliedIndexSGEntity {
   }
 }
 
-JobAppliedIndexSGStatusList $JobAppliedIndexSGStatusListFromJson(
-    Map<String, dynamic> json) {
+JobAppliedIndexSGStatusList $JobAppliedIndexSGStatusListFromJson(Map<String, dynamic> json) {
   final JobAppliedIndexSGStatusList jobAppliedIndexSGStatusList = JobAppliedIndexSGStatusList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -78,8 +71,7 @@ JobAppliedIndexSGStatusList $JobAppliedIndexSGStatusListFromJson(
   return jobAppliedIndexSGStatusList;
 }
 
-Map<String, dynamic> $JobAppliedIndexSGStatusListToJson(
-    JobAppliedIndexSGStatusList entity) {
+Map<String, dynamic> $JobAppliedIndexSGStatusListToJson(JobAppliedIndexSGStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 16 - 35
packages/cs_domain/lib/generated/json/job_applied_list_s_g_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_applied_list_s_g_entity.dart';
 
-JobAppliedListSGEntity $JobAppliedListSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobAppliedListSGEntity $JobAppliedListSGEntityFromJson(Map<String, dynamic> json) {
   final JobAppliedListSGEntity jobAppliedListSGEntity = JobAppliedListSGEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     jobAppliedListSGEntity.total = total;
   }
-  final List<JobAppliedListSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobAppliedListSGRows>(e) as JobAppliedListSGRows)
-      .toList();
+  final List<JobAppliedListSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobAppliedListSGRows>(e) as JobAppliedListSGRows).toList();
   if (rows != null) {
     jobAppliedListSGEntity.rows = rows;
   }
   return jobAppliedListSGEntity;
 }
 
-Map<String, dynamic> $JobAppliedListSGEntityToJson(
-    JobAppliedListSGEntity entity) {
+Map<String, dynamic> $JobAppliedListSGEntityToJson(JobAppliedListSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -56,13 +51,11 @@ JobAppliedListSGRows $JobAppliedListSGRowsFromJson(Map<String, dynamic> json) {
   if (outletName != null) {
     jobAppliedListSGRows.outletName = outletName;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     jobAppliedListSGRows.labourerName = labourerName;
   }
-  final String? labourerNric = jsonConvert.convert<String>(
-      json['labourer_nric']);
+  final String? labourerNric = jsonConvert.convert<String>(json['labourer_nric']);
   if (labourerNric != null) {
     jobAppliedListSGRows.labourerNric = labourerNric;
   }
@@ -110,23 +103,19 @@ JobAppliedListSGRows $JobAppliedListSGRowsFromJson(Map<String, dynamic> json) {
   if (isSelected != null) {
     jobAppliedListSGRows.isSelected = isSelected;
   }
-  final JobAppliedListSGRowsCheck? securityIn = jsonConvert.convert<
-      JobAppliedListSGRowsCheck>(json['security_in']);
+  final JobAppliedListSGRowsCheck? securityIn = jsonConvert.convert<JobAppliedListSGRowsCheck>(json['security_in']);
   if (securityIn != null) {
     jobAppliedListSGRows.securityIn = securityIn;
   }
-  final JobAppliedListSGRowsCheck? securityOut = jsonConvert.convert<
-      JobAppliedListSGRowsCheck>(json['security_out']);
+  final JobAppliedListSGRowsCheck? securityOut = jsonConvert.convert<JobAppliedListSGRowsCheck>(json['security_out']);
   if (securityOut != null) {
     jobAppliedListSGRows.securityOut = securityOut;
   }
-  final JobAppliedListSGRowsCheck? workIn = jsonConvert.convert<
-      JobAppliedListSGRowsCheck>(json['work_in']);
+  final JobAppliedListSGRowsCheck? workIn = jsonConvert.convert<JobAppliedListSGRowsCheck>(json['work_in']);
   if (workIn != null) {
     jobAppliedListSGRows.workIn = workIn;
   }
-  final JobAppliedListSGRowsCheck? workOut = jsonConvert.convert<
-      JobAppliedListSGRowsCheck>(json['work_out']);
+  final JobAppliedListSGRowsCheck? workOut = jsonConvert.convert<JobAppliedListSGRowsCheck>(json['work_out']);
   if (workOut != null) {
     jobAppliedListSGRows.workOut = workOut;
   }
@@ -154,12 +143,8 @@ JobAppliedListSGRows $JobAppliedListSGRowsFromJson(Map<String, dynamic> json) {
   if (showStar != null) {
     jobAppliedListSGRows.showStar = showStar;
   }
-  final List<
-      JobAppliedListSGRowsStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobAppliedListSGRowsStatusList>(
-          e) as JobAppliedListSGRowsStatusList).toList();
+  final List<JobAppliedListSGRowsStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobAppliedListSGRowsStatusList>(e) as JobAppliedListSGRowsStatusList).toList();
   if (statusList != null) {
     jobAppliedListSGRows.statusList = statusList;
   }
@@ -270,8 +255,7 @@ extension JobAppliedListSGRowsExtension on JobAppliedListSGRows {
   }
 }
 
-JobAppliedListSGRowsCheck $JobAppliedListSGRowsCheckFromJson(
-    Map<String, dynamic> json) {
+JobAppliedListSGRowsCheck $JobAppliedListSGRowsCheckFromJson(Map<String, dynamic> json) {
   final JobAppliedListSGRowsCheck jobAppliedListSGRowsCheck = JobAppliedListSGRowsCheck();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -296,8 +280,7 @@ JobAppliedListSGRowsCheck $JobAppliedListSGRowsCheckFromJson(
   return jobAppliedListSGRowsCheck;
 }
 
-Map<String, dynamic> $JobAppliedListSGRowsCheckToJson(
-    JobAppliedListSGRowsCheck entity) {
+Map<String, dynamic> $JobAppliedListSGRowsCheckToJson(JobAppliedListSGRowsCheck entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['temp'] = entity.temp;
@@ -324,8 +307,7 @@ extension JobAppliedListSGRowsCheckExtension on JobAppliedListSGRowsCheck {
   }
 }
 
-JobAppliedListSGRowsStatusList $JobAppliedListSGRowsStatusListFromJson(
-    Map<String, dynamic> json) {
+JobAppliedListSGRowsStatusList $JobAppliedListSGRowsStatusListFromJson(Map<String, dynamic> json) {
   final JobAppliedListSGRowsStatusList jobAppliedListSGRowsStatusList = JobAppliedListSGRowsStatusList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -342,8 +324,7 @@ JobAppliedListSGRowsStatusList $JobAppliedListSGRowsStatusListFromJson(
   return jobAppliedListSGRowsStatusList;
 }
 
-Map<String, dynamic> $JobAppliedListSGRowsStatusListToJson(
-    JobAppliedListSGRowsStatusList entity) {
+Map<String, dynamic> $JobAppliedListSGRowsStatusListToJson(JobAppliedListSGRowsStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 7 - 14
packages/cs_domain/lib/generated/json/job_applied_remark_view_s_g_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_applied_remark_view_s_g_entity.dart';
 
-JobAppliedRemarkViewSGEntity $JobAppliedRemarkViewSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobAppliedRemarkViewSGEntity $JobAppliedRemarkViewSGEntityFromJson(Map<String, dynamic> json) {
   final JobAppliedRemarkViewSGEntity jobAppliedRemarkViewSGEntity = JobAppliedRemarkViewSGEntity();
-  final double? attitudeRate = jsonConvert.convert<double>(
-      json['attitude_rate']);
+  final double? attitudeRate = jsonConvert.convert<double>(json['attitude_rate']);
   if (attitudeRate != null) {
     jobAppliedRemarkViewSGEntity.attitudeRate = attitudeRate;
   }
-  final double? groomingRate = jsonConvert.convert<double>(
-      json['grooming_rate']);
+  final double? groomingRate = jsonConvert.convert<double>(json['grooming_rate']);
   if (groomingRate != null) {
     jobAppliedRemarkViewSGEntity.groomingRate = groomingRate;
   }
-  final double? performanceRate = jsonConvert.convert<double>(
-      json['performance_rate']);
+  final double? performanceRate = jsonConvert.convert<double>(json['performance_rate']);
   if (performanceRate != null) {
     jobAppliedRemarkViewSGEntity.performanceRate = performanceRate;
   }
-  final double? experienceRate = jsonConvert.convert<double>(
-      json['experience_rate']);
+  final double? experienceRate = jsonConvert.convert<double>(json['experience_rate']);
   if (experienceRate != null) {
     jobAppliedRemarkViewSGEntity.experienceRate = experienceRate;
   }
@@ -32,8 +27,7 @@ JobAppliedRemarkViewSGEntity $JobAppliedRemarkViewSGEntityFromJson(
   if (appliedId != null) {
     jobAppliedRemarkViewSGEntity.appliedId = appliedId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     jobAppliedRemarkViewSGEntity.labourerName = labourerName;
   }
@@ -44,8 +38,7 @@ JobAppliedRemarkViewSGEntity $JobAppliedRemarkViewSGEntityFromJson(
   return jobAppliedRemarkViewSGEntity;
 }
 
-Map<String, dynamic> $JobAppliedRemarkViewSGEntityToJson(
-    JobAppliedRemarkViewSGEntity entity) {
+Map<String, dynamic> $JobAppliedRemarkViewSGEntityToJson(JobAppliedRemarkViewSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['attitude_rate'] = entity.attitudeRate;
   data['grooming_rate'] = entity.groomingRate;

+ 8 - 17
packages/cs_domain/lib/generated/json/job_applied_staff_s_g_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_applied_staff_s_g_entity.dart';
 
-JobAppliedStaffSGEntity $JobAppliedStaffSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobAppliedStaffSGEntity $JobAppliedStaffSGEntityFromJson(Map<String, dynamic> json) {
   final JobAppliedStaffSGEntity jobAppliedStaffSGEntity = JobAppliedStaffSGEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     jobAppliedStaffSGEntity.total = total;
   }
-  final List<JobAppliedStaffSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobAppliedStaffSGRows>(e) as JobAppliedStaffSGRows)
-      .toList();
+  final List<JobAppliedStaffSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobAppliedStaffSGRows>(e) as JobAppliedStaffSGRows).toList();
   if (rows != null) {
     jobAppliedStaffSGEntity.rows = rows;
   }
   return jobAppliedStaffSGEntity;
 }
 
-Map<String, dynamic> $JobAppliedStaffSGEntityToJson(
-    JobAppliedStaffSGEntity entity) {
+Map<String, dynamic> $JobAppliedStaffSGEntityToJson(JobAppliedStaffSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension JobAppliedStaffSGEntityExtension on JobAppliedStaffSGEntity {
   }
 }
 
-JobAppliedStaffSGRows $JobAppliedStaffSGRowsFromJson(
-    Map<String, dynamic> json) {
+JobAppliedStaffSGRows $JobAppliedStaffSGRowsFromJson(Map<String, dynamic> json) {
   final JobAppliedStaffSGRows jobAppliedStaffSGRows = JobAppliedStaffSGRows();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -61,8 +55,7 @@ JobAppliedStaffSGRows $JobAppliedStaffSGRowsFromJson(
   if (nric != null) {
     jobAppliedStaffSGRows.nric = nric;
   }
-  final String? profilePicture = jsonConvert.convert<String>(
-      json['profile_picture']);
+  final String? profilePicture = jsonConvert.convert<String>(json['profile_picture']);
   if (profilePicture != null) {
     jobAppliedStaffSGRows.profilePicture = profilePicture;
   }
@@ -78,8 +71,7 @@ JobAppliedStaffSGRows $JobAppliedStaffSGRowsFromJson(
   if (hotelStaff != null) {
     jobAppliedStaffSGRows.hotelStaff = hotelStaff;
   }
-  final int? salaryStructure = jsonConvert.convert<int>(
-      json['salary_structure']);
+  final int? salaryStructure = jsonConvert.convert<int>(json['salary_structure']);
   if (salaryStructure != null) {
     jobAppliedStaffSGRows.salaryStructure = salaryStructure;
   }
@@ -90,8 +82,7 @@ JobAppliedStaffSGRows $JobAppliedStaffSGRowsFromJson(
   return jobAppliedStaffSGRows;
 }
 
-Map<String, dynamic> $JobAppliedStaffSGRowsToJson(
-    JobAppliedStaffSGRows entity) {
+Map<String, dynamic> $JobAppliedStaffSGRowsToJson(JobAppliedStaffSGRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['name'] = entity.name;

+ 6 - 14
packages/cs_domain/lib/generated/json/job_list_add_staff_entity.g.dart

@@ -1,23 +1,17 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_add_staff_entity.dart';
 
-JobListAddStaffEntity $JobListAddStaffEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAddStaffEntity $JobListAddStaffEntityFromJson(Map<String, dynamic> json) {
   final JobListAddStaffEntity jobListAddStaffEntity = JobListAddStaffEntity();
-  final List<
-      JobListAddStaffResultList>? resultList = (json['result_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListAddStaffResultList>(
-          e) as JobListAddStaffResultList).toList();
+  final List<JobListAddStaffResultList>? resultList = (json['result_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListAddStaffResultList>(e) as JobListAddStaffResultList).toList();
   if (resultList != null) {
     jobListAddStaffEntity.resultList = resultList;
   }
   return jobListAddStaffEntity;
 }
 
-Map<String, dynamic> $JobListAddStaffEntityToJson(
-    JobListAddStaffEntity entity) {
+Map<String, dynamic> $JobListAddStaffEntityToJson(JobListAddStaffEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['result_list'] = entity.resultList?.map((v) => v.toJson()).toList();
   return data;
@@ -32,8 +26,7 @@ extension JobListAddStaffEntityExtension on JobListAddStaffEntity {
   }
 }
 
-JobListAddStaffResultList $JobListAddStaffResultListFromJson(
-    Map<String, dynamic> json) {
+JobListAddStaffResultList $JobListAddStaffResultListFromJson(Map<String, dynamic> json) {
   final JobListAddStaffResultList jobListAddStaffResultList = JobListAddStaffResultList();
   final String? name = jsonConvert.convert<String>(json['name']);
   if (name != null) {
@@ -54,8 +47,7 @@ JobListAddStaffResultList $JobListAddStaffResultListFromJson(
   return jobListAddStaffResultList;
 }
 
-Map<String, dynamic> $JobListAddStaffResultListToJson(
-    JobListAddStaffResultList entity) {
+Map<String, dynamic> $JobListAddStaffResultListToJson(JobListAddStaffResultList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['name'] = entity.name;
   data['phone'] = entity.phone;

+ 6 - 14
packages/cs_domain/lib/generated/json/job_list_applied_edit_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_applied_edit_entity.dart';
 
-JobListAppliedEditEntity $JobListAppliedEditEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedEditEntity $JobListAppliedEditEntityFromJson(Map<String, dynamic> json) {
   final JobListAppliedEditEntity jobListAppliedEditEntity = JobListAppliedEditEntity();
   final int? appliedId = jsonConvert.convert<int>(json['applied_id']);
   if (appliedId != null) {
@@ -48,12 +47,8 @@ JobListAppliedEditEntity $JobListAppliedEditEntityFromJson(
   if (totalRooms != null) {
     jobListAppliedEditEntity.totalRooms = totalRooms;
   }
-  final List<
-      JobListAppliedEditReasonList>? reasonList = (json['reason_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListAppliedEditReasonList>(
-          e) as JobListAppliedEditReasonList).toList();
+  final List<JobListAppliedEditReasonList>? reasonList = (json['reason_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListAppliedEditReasonList>(e) as JobListAppliedEditReasonList).toList();
   if (reasonList != null) {
     jobListAppliedEditEntity.reasonList = reasonList;
   }
@@ -68,8 +63,7 @@ JobListAppliedEditEntity $JobListAppliedEditEntityFromJson(
   return jobListAppliedEditEntity;
 }
 
-Map<String, dynamic> $JobListAppliedEditEntityToJson(
-    JobListAppliedEditEntity entity) {
+Map<String, dynamic> $JobListAppliedEditEntityToJson(JobListAppliedEditEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['member_name'] = entity.memberName;
@@ -123,8 +117,7 @@ extension JobListAppliedEditEntityExtension on JobListAppliedEditEntity {
   }
 }
 
-JobListAppliedEditReasonList $JobListAppliedEditReasonListFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedEditReasonList $JobListAppliedEditReasonListFromJson(Map<String, dynamic> json) {
   final JobListAppliedEditReasonList jobListAppliedEditReasonList = JobListAppliedEditReasonList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -141,8 +134,7 @@ JobListAppliedEditReasonList $JobListAppliedEditReasonListFromJson(
   return jobListAppliedEditReasonList;
 }
 
-Map<String, dynamic> $JobListAppliedEditReasonListToJson(
-    JobListAppliedEditReasonList entity) {
+Map<String, dynamic> $JobListAppliedEditReasonListToJson(JobListAppliedEditReasonList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 2 - 4
packages/cs_domain/lib/generated/json/job_list_applied_info_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_applied_info_entity.dart';
 
-JobListAppliedInfoEntity $JobListAppliedInfoEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedInfoEntity $JobListAppliedInfoEntityFromJson(Map<String, dynamic> json) {
   final JobListAppliedInfoEntity jobListAppliedInfoEntity = JobListAppliedInfoEntity();
   final int? jobId = jsonConvert.convert<int>(json['job_id']);
   if (jobId != null) {
@@ -39,8 +38,7 @@ JobListAppliedInfoEntity $JobListAppliedInfoEntityFromJson(
   return jobListAppliedInfoEntity;
 }
 
-Map<String, dynamic> $JobListAppliedInfoEntityToJson(
-    JobListAppliedInfoEntity entity) {
+Map<String, dynamic> $JobListAppliedInfoEntityToJson(JobListAppliedInfoEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['job_id'] = entity.jobId;
   data['job_title'] = entity.jobTitle;

+ 18 - 37
packages/cs_domain/lib/generated/json/job_list_applied_staff_list_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_applied_staff_list_entity.dart';
 
-JobListAppliedStaffListEntity $JobListAppliedStaffListEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListEntity $JobListAppliedStaffListEntityFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListEntity jobListAppliedStaffListEntity = JobListAppliedStaffListEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     jobListAppliedStaffListEntity.total = total;
   }
-  final List<JobListAppliedStaffListRows>? rows = (json['rows'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListAppliedStaffListRows>(
-          e) as JobListAppliedStaffListRows).toList();
+  final List<JobListAppliedStaffListRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListAppliedStaffListRows>(e) as JobListAppliedStaffListRows).toList();
   if (rows != null) {
     jobListAppliedStaffListEntity.rows = rows;
   }
   return jobListAppliedStaffListEntity;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListEntityToJson(
-    JobListAppliedStaffListEntity entity) {
+Map<String, dynamic> $JobListAppliedStaffListEntityToJson(JobListAppliedStaffListEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows?.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension JobListAppliedStaffListEntityExtension on JobListAppliedStaffListEntit
   }
 }
 
-JobListAppliedStaffListRows $JobListAppliedStaffListRowsFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListRows $JobListAppliedStaffListRowsFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListRows jobListAppliedStaffListRows = JobListAppliedStaffListRows();
   final int? appliedId = jsonConvert.convert<int>(json['applied_id']);
   if (appliedId != null) {
@@ -85,23 +79,19 @@ JobListAppliedStaffListRows $JobListAppliedStaffListRowsFromJson(
   if (appliedAt != null) {
     jobListAppliedStaffListRows.appliedAt = appliedAt;
   }
-  final JobListAppliedStaffListRowsSecurityIn? securityIn = jsonConvert.convert<
-      JobListAppliedStaffListRowsSecurityIn>(json['security_in']);
+  final JobListAppliedStaffListRowsSecurityIn? securityIn = jsonConvert.convert<JobListAppliedStaffListRowsSecurityIn>(json['security_in']);
   if (securityIn != null) {
     jobListAppliedStaffListRows.securityIn = securityIn;
   }
-  final JobListAppliedStaffListRowsSecurityOut? securityOut = jsonConvert
-      .convert<JobListAppliedStaffListRowsSecurityOut>(json['security_out']);
+  final JobListAppliedStaffListRowsSecurityOut? securityOut = jsonConvert.convert<JobListAppliedStaffListRowsSecurityOut>(json['security_out']);
   if (securityOut != null) {
     jobListAppliedStaffListRows.securityOut = securityOut;
   }
-  final JobListAppliedStaffListRowsWorkIn? workIn = jsonConvert.convert<
-      JobListAppliedStaffListRowsWorkIn>(json['work_in']);
+  final JobListAppliedStaffListRowsWorkIn? workIn = jsonConvert.convert<JobListAppliedStaffListRowsWorkIn>(json['work_in']);
   if (workIn != null) {
     jobListAppliedStaffListRows.workIn = workIn;
   }
-  final JobListAppliedStaffListRowsWorkOut? workOut = jsonConvert.convert<
-      JobListAppliedStaffListRowsWorkOut>(json['work_out']);
+  final JobListAppliedStaffListRowsWorkOut? workOut = jsonConvert.convert<JobListAppliedStaffListRowsWorkOut>(json['work_out']);
   if (workOut != null) {
     jobListAppliedStaffListRows.workOut = workOut;
   }
@@ -133,8 +123,7 @@ JobListAppliedStaffListRows $JobListAppliedStaffListRowsFromJson(
   return jobListAppliedStaffListRows;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListRowsToJson(
-    JobListAppliedStaffListRows entity) {
+Map<String, dynamic> $JobListAppliedStaffListRowsToJson(JobListAppliedStaffListRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['member_id'] = entity.memberId;
@@ -209,8 +198,7 @@ extension JobListAppliedStaffListRowsExtension on JobListAppliedStaffListRows {
   }
 }
 
-JobListAppliedStaffListRowsSecurityIn $JobListAppliedStaffListRowsSecurityInFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListRowsSecurityIn $JobListAppliedStaffListRowsSecurityInFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListRowsSecurityIn jobListAppliedStaffListRowsSecurityIn = JobListAppliedStaffListRowsSecurityIn();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -227,8 +215,7 @@ JobListAppliedStaffListRowsSecurityIn $JobListAppliedStaffListRowsSecurityInFrom
   return jobListAppliedStaffListRowsSecurityIn;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListRowsSecurityInToJson(
-    JobListAppliedStaffListRowsSecurityIn entity) {
+Map<String, dynamic> $JobListAppliedStaffListRowsSecurityInToJson(JobListAppliedStaffListRowsSecurityIn entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -249,8 +236,7 @@ extension JobListAppliedStaffListRowsSecurityInExtension on JobListAppliedStaffL
   }
 }
 
-JobListAppliedStaffListRowsSecurityOut $JobListAppliedStaffListRowsSecurityOutFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListRowsSecurityOut $JobListAppliedStaffListRowsSecurityOutFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListRowsSecurityOut jobListAppliedStaffListRowsSecurityOut = JobListAppliedStaffListRowsSecurityOut();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -267,8 +253,7 @@ JobListAppliedStaffListRowsSecurityOut $JobListAppliedStaffListRowsSecurityOutFr
   return jobListAppliedStaffListRowsSecurityOut;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListRowsSecurityOutToJson(
-    JobListAppliedStaffListRowsSecurityOut entity) {
+Map<String, dynamic> $JobListAppliedStaffListRowsSecurityOutToJson(JobListAppliedStaffListRowsSecurityOut entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -289,8 +274,7 @@ extension JobListAppliedStaffListRowsSecurityOutExtension on JobListAppliedStaff
   }
 }
 
-JobListAppliedStaffListRowsWorkIn $JobListAppliedStaffListRowsWorkInFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListRowsWorkIn $JobListAppliedStaffListRowsWorkInFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListRowsWorkIn jobListAppliedStaffListRowsWorkIn = JobListAppliedStaffListRowsWorkIn();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -307,8 +291,7 @@ JobListAppliedStaffListRowsWorkIn $JobListAppliedStaffListRowsWorkInFromJson(
   return jobListAppliedStaffListRowsWorkIn;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListRowsWorkInToJson(
-    JobListAppliedStaffListRowsWorkIn entity) {
+Map<String, dynamic> $JobListAppliedStaffListRowsWorkInToJson(JobListAppliedStaffListRowsWorkIn entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -329,8 +312,7 @@ extension JobListAppliedStaffListRowsWorkInExtension on JobListAppliedStaffListR
   }
 }
 
-JobListAppliedStaffListRowsWorkOut $JobListAppliedStaffListRowsWorkOutFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffListRowsWorkOut $JobListAppliedStaffListRowsWorkOutFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffListRowsWorkOut jobListAppliedStaffListRowsWorkOut = JobListAppliedStaffListRowsWorkOut();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -347,8 +329,7 @@ JobListAppliedStaffListRowsWorkOut $JobListAppliedStaffListRowsWorkOutFromJson(
   return jobListAppliedStaffListRowsWorkOut;
 }
 
-Map<String, dynamic> $JobListAppliedStaffListRowsWorkOutToJson(
-    JobListAppliedStaffListRowsWorkOut entity) {
+Map<String, dynamic> $JobListAppliedStaffListRowsWorkOutToJson(JobListAppliedStaffListRowsWorkOut entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;

+ 6 - 13
packages/cs_domain/lib/generated/json/job_list_applied_staff_search_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_applied_staff_search_entity.dart';
 
-JobListAppliedStaffSearchEntity $JobListAppliedStaffSearchEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffSearchEntity $JobListAppliedStaffSearchEntityFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffSearchEntity jobListAppliedStaffSearchEntity = JobListAppliedStaffSearchEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     jobListAppliedStaffSearchEntity.total = total;
   }
-  final List<JobListAppliedStaffSearchRows>? rows = (json['rows'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListAppliedStaffSearchRows>(
-          e) as JobListAppliedStaffSearchRows).toList();
+  final List<JobListAppliedStaffSearchRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListAppliedStaffSearchRows>(e) as JobListAppliedStaffSearchRows).toList();
   if (rows != null) {
     jobListAppliedStaffSearchEntity.rows = rows;
   }
   return jobListAppliedStaffSearchEntity;
 }
 
-Map<String, dynamic> $JobListAppliedStaffSearchEntityToJson(
-    JobListAppliedStaffSearchEntity entity) {
+Map<String, dynamic> $JobListAppliedStaffSearchEntityToJson(JobListAppliedStaffSearchEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows?.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension JobListAppliedStaffSearchEntityExtension on JobListAppliedStaffSearchE
   }
 }
 
-JobListAppliedStaffSearchRows $JobListAppliedStaffSearchRowsFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedStaffSearchRows $JobListAppliedStaffSearchRowsFromJson(Map<String, dynamic> json) {
   final JobListAppliedStaffSearchRows jobListAppliedStaffSearchRows = JobListAppliedStaffSearchRows();
   final int? id = jsonConvert.convert<int>(json['id']);
   if (id != null) {
@@ -76,8 +70,7 @@ JobListAppliedStaffSearchRows $JobListAppliedStaffSearchRowsFromJson(
   return jobListAppliedStaffSearchRows;
 }
 
-Map<String, dynamic> $JobListAppliedStaffSearchRowsToJson(
-    JobListAppliedStaffSearchRows entity) {
+Map<String, dynamic> $JobListAppliedStaffSearchRowsToJson(JobListAppliedStaffSearchRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['name'] = entity.name;

+ 9 - 19
packages/cs_domain/lib/generated/json/job_list_applied_work_flow_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_applied_work_flow_entity.dart';
 
-JobListAppliedWorkFlowEntity $JobListAppliedWorkFlowEntityFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedWorkFlowEntity $JobListAppliedWorkFlowEntityFromJson(Map<String, dynamic> json) {
   final JobListAppliedWorkFlowEntity jobListAppliedWorkFlowEntity = JobListAppliedWorkFlowEntity();
-  final String? departmentId = jsonConvert.convert<String>(
-      json['department_id']);
+  final String? departmentId = jsonConvert.convert<String>(json['department_id']);
   if (departmentId != null) {
     jobListAppliedWorkFlowEntity.departmentId = departmentId;
   }
-  final List<JobListAppliedWorkFlowRecords>? records = (json['records'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListAppliedWorkFlowRecords>(
-          e) as JobListAppliedWorkFlowRecords).toList();
+  final List<JobListAppliedWorkFlowRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListAppliedWorkFlowRecords>(e) as JobListAppliedWorkFlowRecords).toList();
   if (records != null) {
     jobListAppliedWorkFlowEntity.records = records;
   }
   return jobListAppliedWorkFlowEntity;
 }
 
-Map<String, dynamic> $JobListAppliedWorkFlowEntityToJson(
-    JobListAppliedWorkFlowEntity entity) {
+Map<String, dynamic> $JobListAppliedWorkFlowEntityToJson(JobListAppliedWorkFlowEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['department_id'] = entity.departmentId;
   data['records'] = entity.records?.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension JobListAppliedWorkFlowEntityExtension on JobListAppliedWorkFlowEntity
   }
 }
 
-JobListAppliedWorkFlowRecords $JobListAppliedWorkFlowRecordsFromJson(
-    Map<String, dynamic> json) {
+JobListAppliedWorkFlowRecords $JobListAppliedWorkFlowRecordsFromJson(Map<String, dynamic> json) {
   final JobListAppliedWorkFlowRecords jobListAppliedWorkFlowRecords = JobListAppliedWorkFlowRecords();
   final int? serialNumber = jsonConvert.convert<int>(json['serial_number']);
   if (serialNumber != null) {
@@ -70,21 +63,18 @@ JobListAppliedWorkFlowRecords $JobListAppliedWorkFlowRecordsFromJson(
   if (createdAt != null) {
     jobListAppliedWorkFlowRecords.createdAt = createdAt;
   }
-  final String? assigneeTypeShow = jsonConvert.convert<String>(
-      json['assignee_type_show']);
+  final String? assigneeTypeShow = jsonConvert.convert<String>(json['assignee_type_show']);
   if (assigneeTypeShow != null) {
     jobListAppliedWorkFlowRecords.assigneeTypeShow = assigneeTypeShow;
   }
-  final String? designationShow = jsonConvert.convert<String>(
-      json['designation_show']);
+  final String? designationShow = jsonConvert.convert<String>(json['designation_show']);
   if (designationShow != null) {
     jobListAppliedWorkFlowRecords.designationShow = designationShow;
   }
   return jobListAppliedWorkFlowRecords;
 }
 
-Map<String, dynamic> $JobListAppliedWorkFlowRecordsToJson(
-    JobListAppliedWorkFlowRecords entity) {
+Map<String, dynamic> $JobListAppliedWorkFlowRecordsToJson(JobListAppliedWorkFlowRecords entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['serial_number'] = entity.serialNumber;
   data['node_name'] = entity.nodeName;

+ 6 - 14
packages/cs_domain/lib/generated/json/job_list_detail_entity.g.dart

@@ -15,8 +15,7 @@ JobListDetailEntity $JobListDetailEntityFromJson(Map<String, dynamic> json) {
   if (needNum != null) {
     jobListDetailEntity.needNum = needNum;
   }
-  final String? departmentId = jsonConvert.convert<String>(
-      json['department_id']);
+  final String? departmentId = jsonConvert.convert<String>(json['department_id']);
   if (departmentId != null) {
     jobListDetailEntity.departmentId = departmentId;
   }
@@ -28,12 +27,8 @@ JobListDetailEntity $JobListDetailEntityFromJson(Map<String, dynamic> json) {
   if (endTime != null) {
     jobListDetailEntity.endTime = endTime;
   }
-  final List<
-      JobListDetailDepartmentList>? departmentList = (json['department_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListDetailDepartmentList>(
-          e) as JobListDetailDepartmentList).toList();
+  final List<JobListDetailDepartmentList>? departmentList = (json['department_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListDetailDepartmentList>(e) as JobListDetailDepartmentList).toList();
   if (departmentList != null) {
     jobListDetailEntity.departmentList = departmentList;
   }
@@ -48,8 +43,7 @@ Map<String, dynamic> $JobListDetailEntityToJson(JobListDetailEntity entity) {
   data['department_id'] = entity.departmentId;
   data['start_time'] = entity.startTime;
   data['end_time'] = entity.endTime;
-  data['department_list'] =
-      entity.departmentList?.map((v) => v.toJson()).toList();
+  data['department_list'] = entity.departmentList?.map((v) => v.toJson()).toList();
   return data;
 }
 
@@ -74,8 +68,7 @@ extension JobListDetailEntityExtension on JobListDetailEntity {
   }
 }
 
-JobListDetailDepartmentList $JobListDetailDepartmentListFromJson(
-    Map<String, dynamic> json) {
+JobListDetailDepartmentList $JobListDetailDepartmentListFromJson(Map<String, dynamic> json) {
   final JobListDetailDepartmentList jobListDetailDepartmentList = JobListDetailDepartmentList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -92,8 +85,7 @@ JobListDetailDepartmentList $JobListDetailDepartmentListFromJson(
   return jobListDetailDepartmentList;
 }
 
-Map<String, dynamic> $JobListDetailDepartmentListToJson(
-    JobListDetailDepartmentList entity) {
+Map<String, dynamic> $JobListDetailDepartmentListToJson(JobListDetailDepartmentList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 19 - 26
packages/cs_domain/lib/generated/json/job_list_e_r_detail_entity.g.dart

@@ -3,11 +3,9 @@ import 'package:domain/entity/response/job_list_e_r_detail_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-JobListERDetailEntity $JobListERDetailEntityFromJson(
-    Map<String, dynamic> json) {
+JobListERDetailEntity $JobListERDetailEntityFromJson(Map<String, dynamic> json) {
   final JobListERDetailEntity jobListERDetailEntity = JobListERDetailEntity();
-  final JobListERDetailJob? job = jsonConvert.convert<JobListERDetailJob>(
-      json['job']);
+  final JobListERDetailJob? job = jsonConvert.convert<JobListERDetailJob>(json['job']);
   if (job != null) {
     jobListERDetailEntity.job = job;
   }
@@ -19,27 +17,18 @@ JobListERDetailEntity $JobListERDetailEntityFromJson(
   if (endTime != null) {
     jobListERDetailEntity.endTime = endTime;
   }
-  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (titleList != null) {
     jobListERDetailEntity.titleList = titleList;
   }
-  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (limitList != null) {
     jobListERDetailEntity.limitList = limitList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     jobListERDetailEntity.outletList = outletList;
   }
@@ -47,11 +36,14 @@ JobListERDetailEntity $JobListERDetailEntityFromJson(
   if (view != null) {
     jobListERDetailEntity.view = view;
   }
+  final bool? withOtJob = jsonConvert.convert<bool>(json['with_ot_job']);
+  if (withOtJob != null) {
+    jobListERDetailEntity.withOtJob = withOtJob;
+  }
   return jobListERDetailEntity;
 }
 
-Map<String, dynamic> $JobListERDetailEntityToJson(
-    JobListERDetailEntity entity) {
+Map<String, dynamic> $JobListERDetailEntityToJson(JobListERDetailEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['job'] = entity.job?.toJson();
   data['start_time'] = entity.startTime;
@@ -60,6 +52,7 @@ Map<String, dynamic> $JobListERDetailEntityToJson(
   data['limit_list'] = entity.limitList.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList.map((v) => v.toJson()).toList();
   data['view'] = entity.view;
+  data['with_ot_job'] = entity.withOtJob;
   return data;
 }
 
@@ -72,6 +65,7 @@ extension JobListERDetailEntityExtension on JobListERDetailEntity {
     List<IndexOptionEntity>? limitList,
     List<IndexOptionEntity>? outletList,
     String? view,
+    bool? withOtJob,
   }) {
     return JobListERDetailEntity()
       ..job = job ?? this.job
@@ -80,7 +74,8 @@ extension JobListERDetailEntityExtension on JobListERDetailEntity {
       ..titleList = titleList ?? this.titleList
       ..limitList = limitList ?? this.limitList
       ..outletList = outletList ?? this.outletList
-      ..view = view ?? this.view;
+      ..view = view ?? this.view
+      ..withOtJob = withOtJob ?? this.withOtJob;
   }
 }
 
@@ -94,8 +89,7 @@ JobListERDetailJob $JobListERDetailJobFromJson(Map<String, dynamic> json) {
   if (employerId != null) {
     jobListERDetailJob.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     jobListERDetailJob.employerName = employerName;
   }
@@ -143,8 +137,7 @@ JobListERDetailJob $JobListERDetailJobFromJson(Map<String, dynamic> json) {
   if (endTime != null) {
     jobListERDetailJob.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     jobListERDetailJob.workingHours = workingHours;
   }

+ 11 - 25
packages/cs_domain/lib/generated/json/job_list_e_r_option_entity.g.dart

@@ -3,22 +3,15 @@ import 'package:domain/entity/response/job_list_e_r_option_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-JobListEROptionEntity $JobListEROptionEntityFromJson(
-    Map<String, dynamic> json) {
+JobListEROptionEntity $JobListEROptionEntityFromJson(Map<String, dynamic> json) {
   final JobListEROptionEntity jobListEROptionEntity = JobListEROptionEntity();
-  final List<IndexOptionEntity>? divisionList = (json['division_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? divisionList = (json['division_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (divisionList != null) {
     jobListEROptionEntity.divisionList = divisionList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     jobListEROptionEntity.outletList = outletList;
   }
@@ -26,11 +19,8 @@ JobListEROptionEntity $JobListEROptionEntityFromJson(
   if (withOt != null) {
     jobListEROptionEntity.withOt = withOt;
   }
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     jobListEROptionEntity.statusList = statusList;
   }
@@ -38,8 +28,7 @@ JobListEROptionEntity $JobListEROptionEntityFromJson(
   if (withOtJob != null) {
     jobListEROptionEntity.withOtJob = withOtJob;
   }
-  final JobListEROptionFilter? filter = jsonConvert.convert<
-      JobListEROptionFilter>(json['filter']);
+  final JobListEROptionFilter? filter = jsonConvert.convert<JobListEROptionFilter>(json['filter']);
   if (filter != null) {
     jobListEROptionEntity.filter = filter;
   }
@@ -50,8 +39,7 @@ JobListEROptionEntity $JobListEROptionEntityFromJson(
   return jobListEROptionEntity;
 }
 
-Map<String, dynamic> $JobListEROptionEntityToJson(
-    JobListEROptionEntity entity) {
+Map<String, dynamic> $JobListEROptionEntityToJson(JobListEROptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['division_list'] = entity.divisionList?.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList?.map((v) => v.toJson()).toList();
@@ -84,8 +72,7 @@ extension JobListEROptionEntityExtension on JobListEROptionEntity {
   }
 }
 
-JobListEROptionFilter $JobListEROptionFilterFromJson(
-    Map<String, dynamic> json) {
+JobListEROptionFilter $JobListEROptionFilterFromJson(Map<String, dynamic> json) {
   final JobListEROptionFilter jobListEROptionFilter = JobListEROptionFilter();
   final String? startDate = jsonConvert.convert<String>(json['start_date']);
   if (startDate != null) {
@@ -98,8 +85,7 @@ JobListEROptionFilter $JobListEROptionFilterFromJson(
   return jobListEROptionFilter;
 }
 
-Map<String, dynamic> $JobListEROptionFilterToJson(
-    JobListEROptionFilter entity) {
+Map<String, dynamic> $JobListEROptionFilterToJson(JobListEROptionFilter entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['start_date'] = entity.startDate;
   data['end_date'] = entity.endDate;

+ 12 - 34
packages/cs_domain/lib/generated/json/job_list_edit_index_s_g_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_edit_index_s_g_entity.dart';
 
-JobListEditIndexSGEntity $JobListEditIndexSGEntityFromJson(
-    Map<String, dynamic> json) {
+JobListEditIndexSGEntity $JobListEditIndexSGEntityFromJson(Map<String, dynamic> json) {
   final JobListEditIndexSGEntity jobListEditIndexSGEntity = JobListEditIndexSGEntity();
   final String? jobId = jsonConvert.convert<String>(json['job_id']);
   if (jobId != null) {
@@ -56,49 +55,30 @@ JobListEditIndexSGEntity $JobListEditIndexSGEntityFromJson(
   if (isYY != null) {
     jobListEditIndexSGEntity.isYY = isYY;
   }
-  final List<JobListEditIndexOption>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption)
-      .toList();
+  final List<JobListEditIndexOption>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption).toList();
   if (outletList != null) {
     jobListEditIndexSGEntity.outletList = outletList;
   }
-  final List<
-      JobListEditIndexOption>? requestType = (json['request_type'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption)
-      .toList();
+  final List<JobListEditIndexOption>? requestType = (json['request_type'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption).toList();
   if (requestType != null) {
     jobListEditIndexSGEntity.requestType = requestType;
   }
-  final List<
-      JobListEditIndexOption>? positionList = (json['position_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption)
-      .toList();
+  final List<JobListEditIndexOption>? positionList = (json['position_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption).toList();
   if (positionList != null) {
     jobListEditIndexSGEntity.positionList = positionList;
   }
-  final List<JobListEditIndexOption>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption)
-      .toList();
+  final List<JobListEditIndexOption>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListEditIndexOption>(e) as JobListEditIndexOption).toList();
   if (limitList != null) {
     jobListEditIndexSGEntity.limitList = limitList;
   }
   return jobListEditIndexSGEntity;
 }
 
-Map<String, dynamic> $JobListEditIndexSGEntityToJson(
-    JobListEditIndexSGEntity entity) {
+Map<String, dynamic> $JobListEditIndexSGEntityToJson(JobListEditIndexSGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['job_id'] = entity.jobId;
   data['job_title'] = entity.jobTitle;
@@ -161,8 +141,7 @@ extension JobListEditIndexSGEntityExtension on JobListEditIndexSGEntity {
   }
 }
 
-JobListEditIndexOption $JobListEditIndexOptionFromJson(
-    Map<String, dynamic> json) {
+JobListEditIndexOption $JobListEditIndexOptionFromJson(Map<String, dynamic> json) {
   final JobListEditIndexOption jobListEditIndexOption = JobListEditIndexOption();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -183,8 +162,7 @@ JobListEditIndexOption $JobListEditIndexOptionFromJson(
   return jobListEditIndexOption;
 }
 
-Map<String, dynamic> $JobListEditIndexOptionToJson(
-    JobListEditIndexOption entity) {
+Map<String, dynamic> $JobListEditIndexOptionToJson(JobListEditIndexOption entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 1 - 2
packages/cs_domain/lib/generated/json/job_list_entity.g.dart

@@ -47,8 +47,7 @@ JobListRows $JobListRowsFromJson(Map<String, dynamic> json) {
   if (jobTime != null) {
     jobListRows.jobTime = jobTime;
   }
-  final String? departmentName = jsonConvert.convert<String>(
-      json['department_name']);
+  final String? departmentName = jsonConvert.convert<String>(json['department_name']);
   if (departmentName != null) {
     jobListRows.departmentName = departmentName;
   }

+ 9 - 22
packages/cs_domain/lib/generated/json/job_list_index_entity.g.dart

@@ -3,21 +3,13 @@ import 'package:domain/entity/response/job_list_index_entity.dart';
 
 JobListIndexEntity $JobListIndexEntityFromJson(Map<String, dynamic> json) {
   final JobListIndexEntity jobListIndexEntity = JobListIndexEntity();
-  final List<
-      JobListIndexDepartmentList>? departmentList = (json['department_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobListIndexDepartmentList>(
-          e) as JobListIndexDepartmentList).toList();
+  final List<JobListIndexDepartmentList>? departmentList = (json['department_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListIndexDepartmentList>(e) as JobListIndexDepartmentList).toList();
   if (departmentList != null) {
     jobListIndexEntity.departmentList = departmentList;
   }
-  final List<JobListIndexStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListIndexStatusList>(e) as JobListIndexStatusList)
-      .toList();
+  final List<JobListIndexStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListIndexStatusList>(e) as JobListIndexStatusList).toList();
   if (statusList != null) {
     jobListIndexEntity.statusList = statusList;
   }
@@ -26,8 +18,7 @@ JobListIndexEntity $JobListIndexEntityFromJson(Map<String, dynamic> json) {
 
 Map<String, dynamic> $JobListIndexEntityToJson(JobListIndexEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
-  data['department_list'] =
-      entity.departmentList?.map((v) => v.toJson()).toList();
+  data['department_list'] = entity.departmentList?.map((v) => v.toJson()).toList();
   data['status_list'] = entity.statusList?.map((v) => v.toJson()).toList();
   return data;
 }
@@ -43,8 +34,7 @@ extension JobListIndexEntityExtension on JobListIndexEntity {
   }
 }
 
-JobListIndexDepartmentList $JobListIndexDepartmentListFromJson(
-    Map<String, dynamic> json) {
+JobListIndexDepartmentList $JobListIndexDepartmentListFromJson(Map<String, dynamic> json) {
   final JobListIndexDepartmentList jobListIndexDepartmentList = JobListIndexDepartmentList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -61,8 +51,7 @@ JobListIndexDepartmentList $JobListIndexDepartmentListFromJson(
   return jobListIndexDepartmentList;
 }
 
-Map<String, dynamic> $JobListIndexDepartmentListToJson(
-    JobListIndexDepartmentList entity) {
+Map<String, dynamic> $JobListIndexDepartmentListToJson(JobListIndexDepartmentList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;
@@ -83,8 +72,7 @@ extension JobListIndexDepartmentListExtension on JobListIndexDepartmentList {
   }
 }
 
-JobListIndexStatusList $JobListIndexStatusListFromJson(
-    Map<String, dynamic> json) {
+JobListIndexStatusList $JobListIndexStatusListFromJson(Map<String, dynamic> json) {
   final JobListIndexStatusList jobListIndexStatusList = JobListIndexStatusList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -101,8 +89,7 @@ JobListIndexStatusList $JobListIndexStatusListFromJson(
   return jobListIndexStatusList;
 }
 
-Map<String, dynamic> $JobListIndexStatusListToJson(
-    JobListIndexStatusList entity) {
+Map<String, dynamic> $JobListIndexStatusListToJson(JobListIndexStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 6 - 18
packages/cs_domain/lib/generated/json/job_list_index_s_g_entity.g.dart

@@ -11,30 +11,18 @@ JobListIndexSGEntity $JobListIndexSGEntityFromJson(Map<String, dynamic> json) {
   if (endDate != null) {
     jobListIndexSGEntity.endDate = endDate;
   }
-  final List<JobListIndexSGOption>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption)
-      .toList();
+  final List<JobListIndexSGOption>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption).toList();
   if (outletList != null) {
     jobListIndexSGEntity.outletList = outletList;
   }
-  final List<JobListIndexSGOption>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption)
-      .toList();
+  final List<JobListIndexSGOption>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption).toList();
   if (statusList != null) {
     jobListIndexSGEntity.statusList = statusList;
   }
-  final List<JobListIndexSGOption>? agencyList = (json['agency_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption)
-      .toList();
+  final List<JobListIndexSGOption>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListIndexSGOption>(e) as JobListIndexSGOption).toList();
   if (agencyList != null) {
     jobListIndexSGEntity.agencyList = agencyList;
   }

+ 7 - 14
packages/cs_domain/lib/generated/json/job_list_remark_view_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_list_remark_view_entity.dart';
 
-JobListRemarkViewEntity $JobListRemarkViewEntityFromJson(
-    Map<String, dynamic> json) {
+JobListRemarkViewEntity $JobListRemarkViewEntityFromJson(Map<String, dynamic> json) {
   final JobListRemarkViewEntity jobListRemarkViewEntity = JobListRemarkViewEntity();
   final int? appliedId = jsonConvert.convert<int>(json['applied_id']);
   if (appliedId != null) {
@@ -12,28 +11,23 @@ JobListRemarkViewEntity $JobListRemarkViewEntityFromJson(
   if (memberName != null) {
     jobListRemarkViewEntity.memberName = memberName;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     jobListRemarkViewEntity.labourerName = labourerName;
   }
-  final double? attitudeRate = jsonConvert.convert<double>(
-      json['attitude_rate']);
+  final double? attitudeRate = jsonConvert.convert<double>(json['attitude_rate']);
   if (attitudeRate != null) {
     jobListRemarkViewEntity.attitudeRate = attitudeRate;
   }
-  final double? groomingRate = jsonConvert.convert<double>(
-      json['grooming_rate']);
+  final double? groomingRate = jsonConvert.convert<double>(json['grooming_rate']);
   if (groomingRate != null) {
     jobListRemarkViewEntity.groomingRate = groomingRate;
   }
-  final double? performanceRate = jsonConvert.convert<double>(
-      json['performance_rate']);
+  final double? performanceRate = jsonConvert.convert<double>(json['performance_rate']);
   if (performanceRate != null) {
     jobListRemarkViewEntity.performanceRate = performanceRate;
   }
-  final double? experienceRate = jsonConvert.convert<double>(
-      json['experience_rate']);
+  final double? experienceRate = jsonConvert.convert<double>(json['experience_rate']);
   if (experienceRate != null) {
     jobListRemarkViewEntity.experienceRate = experienceRate;
   }
@@ -52,8 +46,7 @@ JobListRemarkViewEntity $JobListRemarkViewEntityFromJson(
   return jobListRemarkViewEntity;
 }
 
-Map<String, dynamic> $JobListRemarkViewEntityToJson(
-    JobListRemarkViewEntity entity) {
+Map<String, dynamic> $JobListRemarkViewEntityToJson(JobListRemarkViewEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['member_name'] = entity.memberName;

+ 2 - 4
packages/cs_domain/lib/generated/json/job_list_s_g_entity.g.dart

@@ -7,10 +7,8 @@ JobListSGEntity $JobListSGEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     jobListSGEntity.total = total;
   }
-  final List<JobListSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<JobListSGRows>(e) as JobListSGRows)
-      .toList();
+  final List<JobListSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobListSGRows>(e) as JobListSGRows).toList();
   if (rows != null) {
     jobListSGEntity.rows = rows;
   }

+ 16 - 37
packages/cs_domain/lib/generated/json/job_template_edit_index_entity.g.dart

@@ -3,8 +3,7 @@ import 'package:domain/entity/response/job_template_edit_index_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-JobTemplateEditIndexEntity $JobTemplateEditIndexEntityFromJson(
-    Map<String, dynamic> json) {
+JobTemplateEditIndexEntity $JobTemplateEditIndexEntityFromJson(Map<String, dynamic> json) {
   final JobTemplateEditIndexEntity jobTemplateEditIndexEntity = JobTemplateEditIndexEntity();
   final int? templateId = jsonConvert.convert<int>(json['template_id']);
   if (templateId != null) {
@@ -38,44 +37,30 @@ JobTemplateEditIndexEntity $JobTemplateEditIndexEntityFromJson(
   if (withFoodCert != null) {
     jobTemplateEditIndexEntity.withFoodCert = withFoodCert;
   }
-  final List<JobTemplateEditIndexAgeList>? ageList = (json['age_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobTemplateEditIndexAgeList>(
-          e) as JobTemplateEditIndexAgeList).toList();
+  final List<JobTemplateEditIndexAgeList>? ageList = (json['age_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobTemplateEditIndexAgeList>(e) as JobTemplateEditIndexAgeList).toList();
   if (ageList != null) {
     jobTemplateEditIndexEntity.ageList = ageList;
   }
-  final List<JobTemplateEditIndexSexList>? sexList = (json['sex_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobTemplateEditIndexSexList>(
-          e) as JobTemplateEditIndexSexList).toList();
+  final List<JobTemplateEditIndexSexList>? sexList = (json['sex_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobTemplateEditIndexSexList>(e) as JobTemplateEditIndexSexList).toList();
   if (sexList != null) {
     jobTemplateEditIndexEntity.sexList = sexList;
   }
-  final List<
-      JobTemplateEditIndexLanguageList>? languageList = (json['language_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<JobTemplateEditIndexLanguageList>(
-          e) as JobTemplateEditIndexLanguageList).toList();
+  final List<JobTemplateEditIndexLanguageList>? languageList = (json['language_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobTemplateEditIndexLanguageList>(e) as JobTemplateEditIndexLanguageList).toList();
   if (languageList != null) {
     jobTemplateEditIndexEntity.languageList = languageList;
   }
-  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (positionList != null) {
     jobTemplateEditIndexEntity.positionList = positionList;
   }
   return jobTemplateEditIndexEntity;
 }
 
-Map<String, dynamic> $JobTemplateEditIndexEntityToJson(
-    JobTemplateEditIndexEntity entity) {
+Map<String, dynamic> $JobTemplateEditIndexEntityToJson(JobTemplateEditIndexEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['template_id'] = entity.templateId;
   data['name'] = entity.name;
@@ -123,8 +108,7 @@ extension JobTemplateEditIndexEntityExtension on JobTemplateEditIndexEntity {
   }
 }
 
-JobTemplateEditIndexAgeList $JobTemplateEditIndexAgeListFromJson(
-    Map<String, dynamic> json) {
+JobTemplateEditIndexAgeList $JobTemplateEditIndexAgeListFromJson(Map<String, dynamic> json) {
   final JobTemplateEditIndexAgeList jobTemplateEditIndexAgeList = JobTemplateEditIndexAgeList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -141,8 +125,7 @@ JobTemplateEditIndexAgeList $JobTemplateEditIndexAgeListFromJson(
   return jobTemplateEditIndexAgeList;
 }
 
-Map<String, dynamic> $JobTemplateEditIndexAgeListToJson(
-    JobTemplateEditIndexAgeList entity) {
+Map<String, dynamic> $JobTemplateEditIndexAgeListToJson(JobTemplateEditIndexAgeList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;
@@ -163,8 +146,7 @@ extension JobTemplateEditIndexAgeListExtension on JobTemplateEditIndexAgeList {
   }
 }
 
-JobTemplateEditIndexSexList $JobTemplateEditIndexSexListFromJson(
-    Map<String, dynamic> json) {
+JobTemplateEditIndexSexList $JobTemplateEditIndexSexListFromJson(Map<String, dynamic> json) {
   final JobTemplateEditIndexSexList jobTemplateEditIndexSexList = JobTemplateEditIndexSexList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -181,8 +163,7 @@ JobTemplateEditIndexSexList $JobTemplateEditIndexSexListFromJson(
   return jobTemplateEditIndexSexList;
 }
 
-Map<String, dynamic> $JobTemplateEditIndexSexListToJson(
-    JobTemplateEditIndexSexList entity) {
+Map<String, dynamic> $JobTemplateEditIndexSexListToJson(JobTemplateEditIndexSexList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;
@@ -203,8 +184,7 @@ extension JobTemplateEditIndexSexListExtension on JobTemplateEditIndexSexList {
   }
 }
 
-JobTemplateEditIndexLanguageList $JobTemplateEditIndexLanguageListFromJson(
-    Map<String, dynamic> json) {
+JobTemplateEditIndexLanguageList $JobTemplateEditIndexLanguageListFromJson(Map<String, dynamic> json) {
   final JobTemplateEditIndexLanguageList jobTemplateEditIndexLanguageList = JobTemplateEditIndexLanguageList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -221,8 +201,7 @@ JobTemplateEditIndexLanguageList $JobTemplateEditIndexLanguageListFromJson(
   return jobTemplateEditIndexLanguageList;
 }
 
-Map<String, dynamic> $JobTemplateEditIndexLanguageListToJson(
-    JobTemplateEditIndexLanguageList entity) {
+Map<String, dynamic> $JobTemplateEditIndexLanguageListToJson(JobTemplateEditIndexLanguageList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 2 - 4
packages/cs_domain/lib/generated/json/job_template_s_g_entity.g.dart

@@ -7,10 +7,8 @@ JobTemplateSGEntity $JobTemplateSGEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     jobTemplateSGEntity.total = total;
   }
-  final List<JobTemplateSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<JobTemplateSGRows>(e) as JobTemplateSGRows)
-      .toList();
+  final List<JobTemplateSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobTemplateSGRows>(e) as JobTemplateSGRows).toList();
   if (rows != null) {
     jobTemplateSGEntity.rows = rows;
   }

+ 5 - 10
packages/cs_domain/lib/generated/json/job_title_edit_index_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/job_title_edit_index_entity.dart';
 
-JobTitleEditIndexEntity $JobTitleEditIndexEntityFromJson(
-    Map<String, dynamic> json) {
+JobTitleEditIndexEntity $JobTitleEditIndexEntityFromJson(Map<String, dynamic> json) {
   final JobTitleEditIndexEntity jobTitleEditIndexEntity = JobTitleEditIndexEntity();
   final int? titleId = jsonConvert.convert<int>(json['title_id']);
   if (titleId != null) {
@@ -16,8 +15,7 @@ JobTitleEditIndexEntity $JobTitleEditIndexEntityFromJson(
   if (sort != null) {
     jobTitleEditIndexEntity.sort = sort;
   }
-  final List<JobTitleEditIndexTemplate?>? template = (json['template'] as List<
-      dynamic>?)?.map(
+  final List<JobTitleEditIndexTemplate?>? template = (json['template'] as List<dynamic>?)?.map(
           (e) => jsonConvert.convert<JobTitleEditIndexTemplate>(e)).toList();
   if (template != null) {
     jobTitleEditIndexEntity.template = template;
@@ -25,8 +23,7 @@ JobTitleEditIndexEntity $JobTitleEditIndexEntityFromJson(
   return jobTitleEditIndexEntity;
 }
 
-Map<String, dynamic> $JobTitleEditIndexEntityToJson(
-    JobTitleEditIndexEntity entity) {
+Map<String, dynamic> $JobTitleEditIndexEntityToJson(JobTitleEditIndexEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['title_id'] = entity.titleId;
   data['job_title'] = entity.jobTitle;
@@ -50,8 +47,7 @@ extension JobTitleEditIndexEntityExtension on JobTitleEditIndexEntity {
   }
 }
 
-JobTitleEditIndexTemplate $JobTitleEditIndexTemplateFromJson(
-    Map<String, dynamic> json) {
+JobTitleEditIndexTemplate $JobTitleEditIndexTemplateFromJson(Map<String, dynamic> json) {
   final JobTitleEditIndexTemplate jobTitleEditIndexTemplate = JobTitleEditIndexTemplate();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -68,8 +64,7 @@ JobTitleEditIndexTemplate $JobTitleEditIndexTemplateFromJson(
   return jobTitleEditIndexTemplate;
 }
 
-Map<String, dynamic> $JobTitleEditIndexTemplateToJson(
-    JobTitleEditIndexTemplate entity) {
+Map<String, dynamic> $JobTitleEditIndexTemplateToJson(JobTitleEditIndexTemplate entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 3 - 6
packages/cs_domain/lib/generated/json/job_title_s_g_entity.g.dart

@@ -7,10 +7,8 @@ JobTitleSGEntity $JobTitleSGEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     jobTitleSGEntity.total = total;
   }
-  final List<JobTitleSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<JobTitleSGRows>(e) as JobTitleSGRows)
-      .toList();
+  final List<JobTitleSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<JobTitleSGRows>(e) as JobTitleSGRows).toList();
   if (rows != null) {
     jobTitleSGEntity.rows = rows;
   }
@@ -45,8 +43,7 @@ JobTitleSGRows $JobTitleSGRowsFromJson(Map<String, dynamic> json) {
   if (jobTitle != null) {
     jobTitleSGRows.jobTitle = jobTitle;
   }
-  final String? templateName = jsonConvert.convert<String>(
-      json['template_name']);
+  final String? templateName = jsonConvert.convert<String>(json['template_name']);
   if (templateName != null) {
     jobTitleSGRows.templateName = templateName;
   }

+ 2 - 4
packages/cs_domain/lib/generated/json/labour_list_e_r_entity.g.dart

@@ -7,10 +7,8 @@ LabourListEREntity $LabourListEREntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     labourListEREntity.total = total;
   }
-  final List<LabourListERRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<LabourListERRows>(e) as LabourListERRows)
-      .toList();
+  final List<LabourListERRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourListERRows>(e) as LabourListERRows).toList();
   if (rows != null) {
     labourListEREntity.rows = rows;
   }

+ 3 - 6
packages/cs_domain/lib/generated/json/labour_report_entity.g.dart

@@ -3,15 +3,12 @@ import 'package:domain/entity/response/labour_report_entity.dart';
 
 LabourReportEntity $LabourReportEntityFromJson(Map<String, dynamic> json) {
   final LabourReportEntity labourReportEntity = LabourReportEntity();
-  final List<LabourReportRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<LabourReportRows>(e) as LabourReportRows)
-      .toList();
+  final List<LabourReportRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourReportRows>(e) as LabourReportRows).toList();
   if (rows != null) {
     labourReportEntity.rows = rows;
   }
-  final LabourReportTotal? total = jsonConvert.convert<LabourReportTotal>(
-      json['total']);
+  final LabourReportTotal? total = jsonConvert.convert<LabourReportTotal>(json['total']);
   if (total != null) {
     labourReportEntity.total = total;
   }

+ 3 - 7
packages/cs_domain/lib/generated/json/labour_report_v_n_entity.g.dart

@@ -11,16 +11,12 @@ LabourReportVNEntity $LabourReportVNEntityFromJson(Map<String, dynamic> json) {
   if (endDate != null) {
     labourReportVNEntity.endDate = endDate;
   }
-  final List<LabourReportVNRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<LabourReportVNRows>(e) as LabourReportVNRows)
-      .toList();
+  final List<LabourReportVNRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourReportVNRows>(e) as LabourReportVNRows).toList();
   if (rows != null) {
     labourReportVNEntity.rows = rows;
   }
-  final LabourReportVNTotal? total = jsonConvert.convert<LabourReportVNTotal>(
-      json['total']);
+  final LabourReportVNTotal? total = jsonConvert.convert<LabourReportVNTotal>(json['total']);
   if (total != null) {
     labourReportVNEntity.total = total;
   }

+ 14 - 33
packages/cs_domain/lib/generated/json/labour_request_e_r_entity.g.dart

@@ -1,23 +1,15 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_request_e_r_entity.dart';
 
-LabourRequestEREntity $LabourRequestEREntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestEREntity $LabourRequestEREntityFromJson(Map<String, dynamic> json) {
   final LabourRequestEREntity labourRequestEREntity = LabourRequestEREntity();
-  final List<LabourRequestERCountList>? countList = (json['count_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestERCountList>(
-          e) as LabourRequestERCountList).toList();
+  final List<LabourRequestERCountList>? countList = (json['count_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestERCountList>(e) as LabourRequestERCountList).toList();
   if (countList != null) {
     labourRequestEREntity.countList = countList;
   }
-  final List<
-      LabourRequestERSourceList>? sourceList = (json['source_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestERSourceList>(
-          e) as LabourRequestERSourceList).toList();
+  final List<LabourRequestERSourceList>? sourceList = (json['source_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestERSourceList>(e) as LabourRequestERSourceList).toList();
   if (sourceList != null) {
     labourRequestEREntity.sourceList = sourceList;
   }
@@ -28,8 +20,7 @@ LabourRequestEREntity $LabourRequestEREntityFromJson(
   return labourRequestEREntity;
 }
 
-Map<String, dynamic> $LabourRequestEREntityToJson(
-    LabourRequestEREntity entity) {
+Map<String, dynamic> $LabourRequestEREntityToJson(LabourRequestEREntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['count_list'] = entity.countList.map((v) => v.toJson()).toList();
   data['source_list'] = entity.sourceList.map((v) => v.toJson()).toList();
@@ -50,8 +41,7 @@ extension LabourRequestEREntityExtension on LabourRequestEREntity {
   }
 }
 
-LabourRequestERCountList $LabourRequestERCountListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestERCountList $LabourRequestERCountListFromJson(Map<String, dynamic> json) {
   final LabourRequestERCountList labourRequestERCountList = LabourRequestERCountList();
   final String? date = jsonConvert.convert<String>(json['date']);
   if (date != null) {
@@ -68,8 +58,7 @@ LabourRequestERCountList $LabourRequestERCountListFromJson(
   return labourRequestERCountList;
 }
 
-Map<String, dynamic> $LabourRequestERCountListToJson(
-    LabourRequestERCountList entity) {
+Map<String, dynamic> $LabourRequestERCountListToJson(LabourRequestERCountList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['date'] = entity.date;
   data['week'] = entity.week;
@@ -90,8 +79,7 @@ extension LabourRequestERCountListExtension on LabourRequestERCountList {
   }
 }
 
-LabourRequestERSourceList $LabourRequestERSourceListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestERSourceList $LabourRequestERSourceListFromJson(Map<String, dynamic> json) {
   final LabourRequestERSourceList labourRequestERSourceList = LabourRequestERSourceList();
   final String? agencyId = jsonConvert.convert<String>(json['agency_id']);
   if (agencyId != null) {
@@ -101,20 +89,15 @@ LabourRequestERSourceList $LabourRequestERSourceListFromJson(
   if (agencyName != null) {
     labourRequestERSourceList.agencyName = agencyName;
   }
-  final List<
-      LabourRequestERSourceListRequestList>? requestList = (json['request_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestERSourceListRequestList>(
-          e) as LabourRequestERSourceListRequestList).toList();
+  final List<LabourRequestERSourceListRequestList>? requestList = (json['request_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestERSourceListRequestList>(e) as LabourRequestERSourceListRequestList).toList();
   if (requestList != null) {
     labourRequestERSourceList.requestList = requestList;
   }
   return labourRequestERSourceList;
 }
 
-Map<String, dynamic> $LabourRequestERSourceListToJson(
-    LabourRequestERSourceList entity) {
+Map<String, dynamic> $LabourRequestERSourceListToJson(LabourRequestERSourceList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['agency_id'] = entity.agencyId;
   data['agency_name'] = entity.agencyName;
@@ -135,8 +118,7 @@ extension LabourRequestERSourceListExtension on LabourRequestERSourceList {
   }
 }
 
-LabourRequestERSourceListRequestList $LabourRequestERSourceListRequestListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestERSourceListRequestList $LabourRequestERSourceListRequestListFromJson(Map<String, dynamic> json) {
   final LabourRequestERSourceListRequestList labourRequestERSourceListRequestList = LabourRequestERSourceListRequestList();
   final String? date = jsonConvert.convert<String>(json['date']);
   if (date != null) {
@@ -149,8 +131,7 @@ LabourRequestERSourceListRequestList $LabourRequestERSourceListRequestListFromJs
   return labourRequestERSourceListRequestList;
 }
 
-Map<String, dynamic> $LabourRequestERSourceListRequestListToJson(
-    LabourRequestERSourceListRequestList entity) {
+Map<String, dynamic> $LabourRequestERSourceListRequestListToJson(LabourRequestERSourceListRequestList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['date'] = entity.date;
   data['num'] = entity.num;

+ 10 - 24
packages/cs_domain/lib/generated/json/labour_request_e_r_option_entity.g.dart

@@ -3,38 +3,25 @@ import 'package:domain/entity/response/labour_request_e_r_option_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-LabourRequestEROptionEntity $LabourRequestEROptionEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestEROptionEntity $LabourRequestEROptionEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestEROptionEntity labourRequestEROptionEntity = LabourRequestEROptionEntity();
-  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (titleList != null) {
     labourRequestEROptionEntity.titleList = titleList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     labourRequestEROptionEntity.outletList = outletList;
   }
-  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (limitList != null) {
     labourRequestEROptionEntity.limitList = limitList;
   }
-  final List<IndexOptionEntity>? otRadios = (json['ot_radios'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? otRadios = (json['ot_radios'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (otRadios != null) {
     labourRequestEROptionEntity.otRadios = otRadios;
   }
@@ -69,8 +56,7 @@ LabourRequestEROptionEntity $LabourRequestEROptionEntityFromJson(
   return labourRequestEROptionEntity;
 }
 
-Map<String, dynamic> $LabourRequestEROptionEntityToJson(
-    LabourRequestEROptionEntity entity) {
+Map<String, dynamic> $LabourRequestEROptionEntityToJson(LabourRequestEROptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['title_list'] = entity.titleList.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList.map((v) => v.toJson()).toList();

+ 14 - 34
packages/cs_domain/lib/generated/json/labour_request_edit_index_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_request_edit_index_entity.dart';
 
-LabourRequestEditIndexEntity $LabourRequestEditIndexEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestEditIndexEntity $LabourRequestEditIndexEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestEditIndexEntity labourRequestEditIndexEntity = LabourRequestEditIndexEntity();
   final int? requestId = jsonConvert.convert<int>(json['request_id']);
   if (requestId != null) {
@@ -20,8 +19,7 @@ LabourRequestEditIndexEntity $LabourRequestEditIndexEntityFromJson(
   if (jobEnd != null) {
     labourRequestEditIndexEntity.jobEnd = jobEnd;
   }
-  final String? departmentId = jsonConvert.convert<String>(
-      json['department_id']);
+  final String? departmentId = jsonConvert.convert<String>(json['department_id']);
   if (departmentId != null) {
     labourRequestEditIndexEntity.departmentId = departmentId;
   }
@@ -37,38 +35,25 @@ LabourRequestEditIndexEntity $LabourRequestEditIndexEntityFromJson(
   if (amount != null) {
     labourRequestEditIndexEntity.amount = amount;
   }
-  final List<
-      LabourRequestEditIndexTemplateList>? templateList = (json['template_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestEditIndexTemplateList>(
-          e) as LabourRequestEditIndexTemplateList).toList();
+  final List<LabourRequestEditIndexTemplateList>? templateList = (json['template_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestEditIndexTemplateList>(e) as LabourRequestEditIndexTemplateList).toList();
   if (templateList != null) {
     labourRequestEditIndexEntity.templateList = templateList;
   }
-  final List<
-      LabourRequestEditIndexDepartmentList>? departmentList = (json['department_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestEditIndexDepartmentList>(
-          e) as LabourRequestEditIndexDepartmentList).toList();
+  final List<LabourRequestEditIndexDepartmentList>? departmentList = (json['department_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestEditIndexDepartmentList>(e) as LabourRequestEditIndexDepartmentList).toList();
   if (departmentList != null) {
     labourRequestEditIndexEntity.departmentList = departmentList;
   }
-  final List<
-      LabourRequestEditIndexDepartmentList>? chargeList = (json['charge_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestEditIndexDepartmentList>(
-          e) as LabourRequestEditIndexDepartmentList).toList();
+  final List<LabourRequestEditIndexDepartmentList>? chargeList = (json['charge_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestEditIndexDepartmentList>(e) as LabourRequestEditIndexDepartmentList).toList();
   if (chargeList != null) {
     labourRequestEditIndexEntity.chargeList = chargeList;
   }
   return labourRequestEditIndexEntity;
 }
 
-Map<String, dynamic> $LabourRequestEditIndexEntityToJson(
-    LabourRequestEditIndexEntity entity) {
+Map<String, dynamic> $LabourRequestEditIndexEntityToJson(LabourRequestEditIndexEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['request_id'] = entity.requestId;
   data['service_type'] = entity.serviceType;
@@ -79,8 +64,7 @@ Map<String, dynamic> $LabourRequestEditIndexEntityToJson(
   data['need_num'] = entity.needNum;
   data['amount'] = entity.amount;
   data['template_list'] = entity.templateList.map((v) => v.toJson()).toList();
-  data['department_list'] =
-      entity.departmentList.map((v) => v.toJson()).toList();
+  data['department_list'] = entity.departmentList.map((v) => v.toJson()).toList();
   data['charge_list'] = entity.chargeList.map((v) => v.toJson()).toList();
   return data;
 }
@@ -114,8 +98,7 @@ extension LabourRequestEditIndexEntityExtension on LabourRequestEditIndexEntity
   }
 }
 
-LabourRequestEditIndexTemplateList $LabourRequestEditIndexTemplateListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestEditIndexTemplateList $LabourRequestEditIndexTemplateListFromJson(Map<String, dynamic> json) {
   final LabourRequestEditIndexTemplateList labourRequestEditIndexTemplateList = LabourRequestEditIndexTemplateList();
   final int? value = jsonConvert.convert<int>(json['value']);
   if (value != null) {
@@ -132,8 +115,7 @@ LabourRequestEditIndexTemplateList $LabourRequestEditIndexTemplateListFromJson(
   return labourRequestEditIndexTemplateList;
 }
 
-Map<String, dynamic> $LabourRequestEditIndexTemplateListToJson(
-    LabourRequestEditIndexTemplateList entity) {
+Map<String, dynamic> $LabourRequestEditIndexTemplateListToJson(LabourRequestEditIndexTemplateList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;
@@ -154,8 +136,7 @@ extension LabourRequestEditIndexTemplateListExtension on LabourRequestEditIndexT
   }
 }
 
-LabourRequestEditIndexDepartmentList $LabourRequestEditIndexDepartmentListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestEditIndexDepartmentList $LabourRequestEditIndexDepartmentListFromJson(Map<String, dynamic> json) {
   final LabourRequestEditIndexDepartmentList labourRequestEditIndexDepartmentList = LabourRequestEditIndexDepartmentList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -176,8 +157,7 @@ LabourRequestEditIndexDepartmentList $LabourRequestEditIndexDepartmentListFromJs
   return labourRequestEditIndexDepartmentList;
 }
 
-Map<String, dynamic> $LabourRequestEditIndexDepartmentListToJson(
-    LabourRequestEditIndexDepartmentList entity) {
+Map<String, dynamic> $LabourRequestEditIndexDepartmentListToJson(LabourRequestEditIndexDepartmentList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 30 - 38
packages/cs_domain/lib/generated/json/labour_request_index_entity.g.dart

@@ -3,55 +3,47 @@ import 'package:domain/entity/response/labour_request_index_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-LabourRequestIndexEntity $LabourRequestIndexEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestIndexEntity $LabourRequestIndexEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestIndexEntity labourRequestIndexEntity = LabourRequestIndexEntity();
-  final List<
-      LabourRequestIndexDepartmentList>? departmentList = (json['department_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestIndexDepartmentList>(
-          e) as LabourRequestIndexDepartmentList).toList();
+  final List<LabourRequestIndexDepartmentList>? departmentList = (json['department_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestIndexDepartmentList>(e) as LabourRequestIndexDepartmentList).toList();
   if (departmentList != null) {
     labourRequestIndexEntity.departmentList = departmentList;
   }
-  final List<
-      LabourRequestIndexDepartmentList>? outletList = (json['outlet_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestIndexDepartmentList>(
-          e) as LabourRequestIndexDepartmentList).toList();
+  final List<LabourRequestIndexDepartmentList>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestIndexDepartmentList>(e) as LabourRequestIndexDepartmentList).toList();
   if (outletList != null) {
     labourRequestIndexEntity.outletList = outletList;
   }
-  final List<
-      LabourRequestIndexStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestIndexStatusList>(
-          e) as LabourRequestIndexStatusList).toList();
+  final List<LabourRequestIndexStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestIndexStatusList>(e) as LabourRequestIndexStatusList).toList();
   if (statusList != null) {
     labourRequestIndexEntity.statusList = statusList;
   }
-  final List<IndexOptionEntity>? divisionList = (json['division_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? divisionList = (json['division_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (divisionList != null) {
     labourRequestIndexEntity.divisionList = divisionList;
   }
+  final bool? withOtJob = jsonConvert.convert<bool>(json['with_ot_job']);
+  if (withOtJob != null) {
+    labourRequestIndexEntity.withOtJob = withOtJob;
+  }
+  final bool? withOt = jsonConvert.convert<bool>(json['with_ot']);
+  if (withOt != null) {
+    labourRequestIndexEntity.withOt = withOt;
+  }
   return labourRequestIndexEntity;
 }
 
-Map<String, dynamic> $LabourRequestIndexEntityToJson(
-    LabourRequestIndexEntity entity) {
+Map<String, dynamic> $LabourRequestIndexEntityToJson(LabourRequestIndexEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
-  data['department_list'] =
-      entity.departmentList?.map((v) => v.toJson()).toList();
+  data['department_list'] = entity.departmentList?.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList?.map((v) => v.toJson()).toList();
   data['status_list'] = entity.statusList?.map((v) => v.toJson()).toList();
   data['division_list'] = entity.divisionList.map((v) => v.toJson()).toList();
+  data['with_ot_job'] = entity.withOtJob;
+  data['with_ot'] = entity.withOt;
   return data;
 }
 
@@ -61,17 +53,20 @@ extension LabourRequestIndexEntityExtension on LabourRequestIndexEntity {
     List<LabourRequestIndexDepartmentList>? outletList,
     List<LabourRequestIndexStatusList>? statusList,
     List<IndexOptionEntity>? divisionList,
+    bool? withOtJob,
+    bool? withOt,
   }) {
     return LabourRequestIndexEntity()
       ..departmentList = departmentList ?? this.departmentList
       ..outletList = outletList ?? this.outletList
       ..statusList = statusList ?? this.statusList
-      ..divisionList = divisionList ?? this.divisionList;
+      ..divisionList = divisionList ?? this.divisionList
+      ..withOtJob = withOtJob ?? this.withOtJob
+      ..withOt = withOt ?? this.withOt;
   }
 }
 
-LabourRequestIndexDepartmentList $LabourRequestIndexDepartmentListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestIndexDepartmentList $LabourRequestIndexDepartmentListFromJson(Map<String, dynamic> json) {
   final LabourRequestIndexDepartmentList labourRequestIndexDepartmentList = LabourRequestIndexDepartmentList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -88,8 +83,7 @@ LabourRequestIndexDepartmentList $LabourRequestIndexDepartmentListFromJson(
   return labourRequestIndexDepartmentList;
 }
 
-Map<String, dynamic> $LabourRequestIndexDepartmentListToJson(
-    LabourRequestIndexDepartmentList entity) {
+Map<String, dynamic> $LabourRequestIndexDepartmentListToJson(LabourRequestIndexDepartmentList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;
@@ -110,8 +104,7 @@ extension LabourRequestIndexDepartmentListExtension on LabourRequestIndexDepartm
   }
 }
 
-LabourRequestIndexStatusList $LabourRequestIndexStatusListFromJson(
-    Map<String, dynamic> json) {
+LabourRequestIndexStatusList $LabourRequestIndexStatusListFromJson(Map<String, dynamic> json) {
   final LabourRequestIndexStatusList labourRequestIndexStatusList = LabourRequestIndexStatusList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -128,8 +121,7 @@ LabourRequestIndexStatusList $LabourRequestIndexStatusListFromJson(
   return labourRequestIndexStatusList;
 }
 
-Map<String, dynamic> $LabourRequestIndexStatusListToJson(
-    LabourRequestIndexStatusList entity) {
+Map<String, dynamic> $LabourRequestIndexStatusListToJson(LabourRequestIndexStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 9 - 19
packages/cs_domain/lib/generated/json/labour_request_list_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_request_list_entity.dart';
 
-LabourRequestListEntity $LabourRequestListEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestListEntity $LabourRequestListEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestListEntity labourRequestListEntity = LabourRequestListEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     labourRequestListEntity.total = total;
   }
-  final List<LabourRequestListRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestListRows>(e) as LabourRequestListRows)
-      .toList();
+  final List<LabourRequestListRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestListRows>(e) as LabourRequestListRows).toList();
   if (rows != null) {
     labourRequestListEntity.rows = rows;
   }
   return labourRequestListEntity;
 }
 
-Map<String, dynamic> $LabourRequestListEntityToJson(
-    LabourRequestListEntity entity) {
+Map<String, dynamic> $LabourRequestListEntityToJson(LabourRequestListEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows?.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension LabourRequestListEntityExtension on LabourRequestListEntity {
   }
 }
 
-LabourRequestListRows $LabourRequestListRowsFromJson(
-    Map<String, dynamic> json) {
+LabourRequestListRows $LabourRequestListRowsFromJson(Map<String, dynamic> json) {
   final LabourRequestListRows labourRequestListRows = LabourRequestListRows();
   final int? requestId = jsonConvert.convert<int>(json['request_id']);
   if (requestId != null) {
@@ -49,8 +43,7 @@ LabourRequestListRows $LabourRequestListRowsFromJson(
   if (jobTitle != null) {
     labourRequestListRows.jobTitle = jobTitle;
   }
-  final String? departmentName = jsonConvert.convert<String>(
-      json['department_name']);
+  final String? departmentName = jsonConvert.convert<String>(json['department_name']);
   if (departmentName != null) {
     labourRequestListRows.departmentName = departmentName;
   }
@@ -58,8 +51,7 @@ LabourRequestListRows $LabourRequestListRowsFromJson(
   if (jobTime != null) {
     labourRequestListRows.jobTime = jobTime;
   }
-  final String? jobFullTime = jsonConvert.convert<String>(
-      json['job_full_time']);
+  final String? jobFullTime = jsonConvert.convert<String>(json['job_full_time']);
   if (jobFullTime != null) {
     labourRequestListRows.jobFullTime = jobFullTime;
   }
@@ -79,8 +71,7 @@ LabourRequestListRows $LabourRequestListRowsFromJson(
   if (coStatus != null) {
     labourRequestListRows.coStatus = coStatus;
   }
-  final String? coStatusShow = jsonConvert.convert<String>(
-      json['co_status_show']);
+  final String? coStatusShow = jsonConvert.convert<String>(json['co_status_show']);
   if (coStatusShow != null) {
     labourRequestListRows.coStatusShow = coStatusShow;
   }
@@ -100,8 +91,7 @@ LabourRequestListRows $LabourRequestListRowsFromJson(
   return labourRequestListRows;
 }
 
-Map<String, dynamic> $LabourRequestListRowsToJson(
-    LabourRequestListRows entity) {
+Map<String, dynamic> $LabourRequestListRowsToJson(LabourRequestListRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['request_id'] = entity.requestId;
   data['job_title'] = entity.jobTitle;

+ 9 - 19
packages/cs_domain/lib/generated/json/labour_request_work_flow_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_request_work_flow_entity.dart';
 
-LabourRequestWorkFlowEntity $LabourRequestWorkFlowEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestWorkFlowEntity $LabourRequestWorkFlowEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestWorkFlowEntity labourRequestWorkFlowEntity = LabourRequestWorkFlowEntity();
-  final String? coDepartmentId = jsonConvert.convert<String>(
-      json['co_department_id']);
+  final String? coDepartmentId = jsonConvert.convert<String>(json['co_department_id']);
   if (coDepartmentId != null) {
     labourRequestWorkFlowEntity.coDepartmentId = coDepartmentId;
   }
-  final List<LabourRequestWorkFlowRecords>? records = (json['records'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestWorkFlowRecords>(
-          e) as LabourRequestWorkFlowRecords).toList();
+  final List<LabourRequestWorkFlowRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestWorkFlowRecords>(e) as LabourRequestWorkFlowRecords).toList();
   if (records != null) {
     labourRequestWorkFlowEntity.records = records;
   }
   return labourRequestWorkFlowEntity;
 }
 
-Map<String, dynamic> $LabourRequestWorkFlowEntityToJson(
-    LabourRequestWorkFlowEntity entity) {
+Map<String, dynamic> $LabourRequestWorkFlowEntityToJson(LabourRequestWorkFlowEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['co_department_id'] = entity.coDepartmentId;
   data['records'] = entity.records?.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension LabourRequestWorkFlowEntityExtension on LabourRequestWorkFlowEntity {
   }
 }
 
-LabourRequestWorkFlowRecords $LabourRequestWorkFlowRecordsFromJson(
-    Map<String, dynamic> json) {
+LabourRequestWorkFlowRecords $LabourRequestWorkFlowRecordsFromJson(Map<String, dynamic> json) {
   final LabourRequestWorkFlowRecords labourRequestWorkFlowRecords = LabourRequestWorkFlowRecords();
   final int? serialNumber = jsonConvert.convert<int>(json['serial_number']);
   if (serialNumber != null) {
@@ -70,21 +63,18 @@ LabourRequestWorkFlowRecords $LabourRequestWorkFlowRecordsFromJson(
   if (createdAt != null) {
     labourRequestWorkFlowRecords.createdAt = createdAt;
   }
-  final String? assigneeTypeShow = jsonConvert.convert<String>(
-      json['assignee_type_show']);
+  final String? assigneeTypeShow = jsonConvert.convert<String>(json['assignee_type_show']);
   if (assigneeTypeShow != null) {
     labourRequestWorkFlowRecords.assigneeTypeShow = assigneeTypeShow;
   }
-  final String? designationShow = jsonConvert.convert<String>(
-      json['designation_show']);
+  final String? designationShow = jsonConvert.convert<String>(json['designation_show']);
   if (designationShow != null) {
     labourRequestWorkFlowRecords.designationShow = designationShow;
   }
   return labourRequestWorkFlowRecords;
 }
 
-Map<String, dynamic> $LabourRequestWorkFlowRecordsToJson(
-    LabourRequestWorkFlowRecords entity) {
+Map<String, dynamic> $LabourRequestWorkFlowRecordsToJson(LabourRequestWorkFlowRecords entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['serial_number'] = entity.serialNumber;
   data['node_name'] = entity.nodeName;

+ 5 - 11
packages/cs_domain/lib/generated/json/labour_review_list_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_review_list_entity.dart';
 
-LabourReviewListEntity $LabourReviewListEntityFromJson(
-    Map<String, dynamic> json) {
+LabourReviewListEntity $LabourReviewListEntityFromJson(Map<String, dynamic> json) {
   final LabourReviewListEntity labourReviewListEntity = LabourReviewListEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     labourReviewListEntity.total = total;
   }
-  final List<LabourReviewListRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<LabourReviewListRows>(e) as LabourReviewListRows)
-      .toList();
+  final List<LabourReviewListRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourReviewListRows>(e) as LabourReviewListRows).toList();
   if (rows != null) {
     labourReviewListEntity.rows = rows;
   }
   return labourReviewListEntity;
 }
 
-Map<String, dynamic> $LabourReviewListEntityToJson(
-    LabourReviewListEntity entity) {
+Map<String, dynamic> $LabourReviewListEntityToJson(LabourReviewListEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -56,8 +51,7 @@ LabourReviewListRows $LabourReviewListRowsFromJson(Map<String, dynamic> json) {
   if (jobTime != null) {
     labourReviewListRows.jobTime = jobTime;
   }
-  final String? departmentName = jsonConvert.convert<String>(
-      json['department_name']);
+  final String? departmentName = jsonConvert.convert<String>(json['department_name']);
   if (departmentName != null) {
     labourReviewListRows.departmentName = departmentName;
   }

+ 10 - 21
packages/cs_domain/lib/generated/json/labour_review_status_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/labour_review_status_entity.dart';
 
-LabourReviewStatusEntity $LabourReviewStatusEntityFromJson(
-    Map<String, dynamic> json) {
+LabourReviewStatusEntity $LabourReviewStatusEntityFromJson(Map<String, dynamic> json) {
   final LabourReviewStatusEntity labourReviewStatusEntity = LabourReviewStatusEntity();
-  final int? coDepartmentId = jsonConvert.convert<int>(
-      json['co_department_id']);
+  final int? coDepartmentId = jsonConvert.convert<int>(json['co_department_id']);
   if (coDepartmentId != null) {
     labourReviewStatusEntity.coDepartmentId = coDepartmentId;
   }
-  final List<LabourReviewStatusRecords>? records = (json['records'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourReviewStatusRecords>(
-          e) as LabourReviewStatusRecords).toList();
+  final List<LabourReviewStatusRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourReviewStatusRecords>(e) as LabourReviewStatusRecords).toList();
   if (records != null) {
     labourReviewStatusEntity.records = records;
   }
   return labourReviewStatusEntity;
 }
 
-Map<String, dynamic> $LabourReviewStatusEntityToJson(
-    LabourReviewStatusEntity entity) {
+Map<String, dynamic> $LabourReviewStatusEntityToJson(LabourReviewStatusEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['co_department_id'] = entity.coDepartmentId;
   data['records'] = entity.records.map((v) => v.toJson()).toList();
@@ -39,11 +33,9 @@ extension LabourReviewStatusEntityExtension on LabourReviewStatusEntity {
   }
 }
 
-LabourReviewStatusRecords $LabourReviewStatusRecordsFromJson(
-    Map<String, dynamic> json) {
+LabourReviewStatusRecords $LabourReviewStatusRecordsFromJson(Map<String, dynamic> json) {
   final LabourReviewStatusRecords labourReviewStatusRecords = LabourReviewStatusRecords();
-  final String? serialNumber = jsonConvert.convert<String>(
-      json['serial_number']);
+  final String? serialNumber = jsonConvert.convert<String>(json['serial_number']);
   if (serialNumber != null) {
     labourReviewStatusRecords.serialNumber = serialNumber;
   }
@@ -71,21 +63,18 @@ LabourReviewStatusRecords $LabourReviewStatusRecordsFromJson(
   if (createdAt != null) {
     labourReviewStatusRecords.createdAt = createdAt;
   }
-  final String? assigneeTypeShow = jsonConvert.convert<String>(
-      json['assignee_type_show']);
+  final String? assigneeTypeShow = jsonConvert.convert<String>(json['assignee_type_show']);
   if (assigneeTypeShow != null) {
     labourReviewStatusRecords.assigneeTypeShow = assigneeTypeShow;
   }
-  final String? designationShow = jsonConvert.convert<String>(
-      json['designation_show']);
+  final String? designationShow = jsonConvert.convert<String>(json['designation_show']);
   if (designationShow != null) {
     labourReviewStatusRecords.designationShow = designationShow;
   }
   return labourReviewStatusRecords;
 }
 
-Map<String, dynamic> $LabourReviewStatusRecordsToJson(
-    LabourReviewStatusRecords entity) {
+Map<String, dynamic> $LabourReviewStatusRecordsToJson(LabourReviewStatusRecords entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['serial_number'] = entity.serialNumber;
   data['node_name'] = entity.nodeName;

+ 2 - 4
packages/cs_domain/lib/generated/json/position_table_entity.g.dart

@@ -7,10 +7,8 @@ PositionTableEntity $PositionTableEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     positionTableEntity.total = total;
   }
-  final List<PositionTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<PositionTableRows>(e) as PositionTableRows)
-      .toList();
+  final List<PositionTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<PositionTableRows>(e) as PositionTableRows).toList();
   if (rows != null) {
     positionTableEntity.rows = rows;
   }

+ 4 - 10
packages/cs_domain/lib/generated/json/revise_index_s_g_entity.g.dart

@@ -3,12 +3,8 @@ import 'package:domain/entity/response/revise_index_s_g_entity.dart';
 
 ReviseIndexSGEntity $ReviseIndexSGEntityFromJson(Map<String, dynamic> json) {
   final ReviseIndexSGEntity reviseIndexSGEntity = ReviseIndexSGEntity();
-  final List<
-      ReviseIndexSGStatusList>? statusList = (json['status_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<ReviseIndexSGStatusList>(
-          e) as ReviseIndexSGStatusList).toList();
+  final List<ReviseIndexSGStatusList>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ReviseIndexSGStatusList>(e) as ReviseIndexSGStatusList).toList();
   if (statusList != null) {
     reviseIndexSGEntity.statusList = statusList;
   }
@@ -30,8 +26,7 @@ extension ReviseIndexSGEntityExtension on ReviseIndexSGEntity {
   }
 }
 
-ReviseIndexSGStatusList $ReviseIndexSGStatusListFromJson(
-    Map<String, dynamic> json) {
+ReviseIndexSGStatusList $ReviseIndexSGStatusListFromJson(Map<String, dynamic> json) {
   final ReviseIndexSGStatusList reviseIndexSGStatusList = ReviseIndexSGStatusList();
   final String? value = jsonConvert.convert<String>(json['value']);
   if (value != null) {
@@ -48,8 +43,7 @@ ReviseIndexSGStatusList $ReviseIndexSGStatusListFromJson(
   return reviseIndexSGStatusList;
 }
 
-Map<String, dynamic> $ReviseIndexSGStatusListToJson(
-    ReviseIndexSGStatusList entity) {
+Map<String, dynamic> $ReviseIndexSGStatusListToJson(ReviseIndexSGStatusList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['value'] = entity.value;
   data['txt'] = entity.txt;

+ 2 - 4
packages/cs_domain/lib/generated/json/revise_list_s_g_entity.g.dart

@@ -7,10 +7,8 @@ ReviseListSGEntity $ReviseListSGEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     reviseListSGEntity.total = total;
   }
-  final List<ReviseListSGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<ReviseListSGRows>(e) as ReviseListSGRows)
-      .toList();
+  final List<ReviseListSGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ReviseListSGRows>(e) as ReviseListSGRows).toList();
   if (rows != null) {
     reviseListSGEntity.rows = rows;
   }

+ 11 - 23
packages/cs_domain/lib/generated/json/revise_log_s_g_entity.g.dart

@@ -3,11 +3,8 @@ import 'package:domain/entity/response/revise_log_s_g_entity.dart';
 
 ReviseLogSGEntity $ReviseLogSGEntityFromJson(Map<String, dynamic> json) {
   final ReviseLogSGEntity reviseLogSGEntity = ReviseLogSGEntity();
-  final List<ReviseLogSGRecords>? records = (json['records'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<ReviseLogSGRecords>(e) as ReviseLogSGRecords)
-      .toList();
+  final List<ReviseLogSGRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<ReviseLogSGRecords>(e) as ReviseLogSGRecords).toList();
   if (records != null) {
     reviseLogSGEntity.records = records;
   }
@@ -35,8 +32,7 @@ ReviseLogSGRecords $ReviseLogSGRecordsFromJson(Map<String, dynamic> json) {
   if (id != null) {
     reviseLogSGRecords.id = id;
   }
-  final String? operationName = jsonConvert.convert<String>(
-      json['operation_name']);
+  final String? operationName = jsonConvert.convert<String>(json['operation_name']);
   if (operationName != null) {
     reviseLogSGRecords.operationName = operationName;
   }
@@ -48,8 +44,7 @@ ReviseLogSGRecords $ReviseLogSGRecordsFromJson(Map<String, dynamic> json) {
   if (desc != null) {
     reviseLogSGRecords.desc = desc;
   }
-  final ReviseLogSGRecordsContent? content = jsonConvert.convert<
-      ReviseLogSGRecordsContent>(json['content']);
+  final ReviseLogSGRecordsContent? content = jsonConvert.convert<ReviseLogSGRecordsContent>(json['content']);
   if (content != null) {
     reviseLogSGRecords.content = content;
   }
@@ -104,29 +99,24 @@ extension ReviseLogSGRecordsExtension on ReviseLogSGRecords {
   }
 }
 
-ReviseLogSGRecordsContent $ReviseLogSGRecordsContentFromJson(
-    Map<String, dynamic> json) {
+ReviseLogSGRecordsContent $ReviseLogSGRecordsContentFromJson(Map<String, dynamic> json) {
   final ReviseLogSGRecordsContent reviseLogSGRecordsContent = ReviseLogSGRecordsContent();
-  final ReviseLogSGRecordsOption? reviseHours = jsonConvert.convert<
-      ReviseLogSGRecordsOption>(json['revise_hours']);
+  final ReviseLogSGRecordsOption? reviseHours = jsonConvert.convert<ReviseLogSGRecordsOption>(json['revise_hours']);
   if (reviseHours != null) {
     reviseLogSGRecordsContent.reviseHours = reviseHours;
   }
-  final ReviseLogSGRecordsOption? reviseMsg = jsonConvert.convert<
-      ReviseLogSGRecordsOption>(json['revise_msg']);
+  final ReviseLogSGRecordsOption? reviseMsg = jsonConvert.convert<ReviseLogSGRecordsOption>(json['revise_msg']);
   if (reviseMsg != null) {
     reviseLogSGRecordsContent.reviseMsg = reviseMsg;
   }
-  final ReviseLogSGRecordsOption? status = jsonConvert.convert<
-      ReviseLogSGRecordsOption>(json['status']);
+  final ReviseLogSGRecordsOption? status = jsonConvert.convert<ReviseLogSGRecordsOption>(json['status']);
   if (status != null) {
     reviseLogSGRecordsContent.status = status;
   }
   return reviseLogSGRecordsContent;
 }
 
-Map<String, dynamic> $ReviseLogSGRecordsContentToJson(
-    ReviseLogSGRecordsContent entity) {
+Map<String, dynamic> $ReviseLogSGRecordsContentToJson(ReviseLogSGRecordsContent entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['revise_hours'] = entity.reviseHours?.toJson();
   data['revise_msg'] = entity.reviseMsg?.toJson();
@@ -147,8 +137,7 @@ extension ReviseLogSGRecordsContentExtension on ReviseLogSGRecordsContent {
   }
 }
 
-ReviseLogSGRecordsOption $ReviseLogSGRecordsOptionFromJson(
-    Map<String, dynamic> json) {
+ReviseLogSGRecordsOption $ReviseLogSGRecordsOptionFromJson(Map<String, dynamic> json) {
   final ReviseLogSGRecordsOption reviseLogSGRecordsOption = ReviseLogSGRecordsOption();
   final String? field = jsonConvert.convert<String>(json['field']);
   if (field != null) {
@@ -161,8 +150,7 @@ ReviseLogSGRecordsOption $ReviseLogSGRecordsOptionFromJson(
   return reviseLogSGRecordsOption;
 }
 
-Map<String, dynamic> $ReviseLogSGRecordsOptionToJson(
-    ReviseLogSGRecordsOption entity) {
+Map<String, dynamic> $ReviseLogSGRecordsOptionToJson(ReviseLogSGRecordsOption entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['field'] = entity.field;
   data['value'] = entity.value;

+ 6 - 14
packages/cs_domain/lib/generated/json/s_g_attendance_review_option_entity.g.dart

@@ -3,30 +3,22 @@ import 'package:domain/entity/response/s_g_attendance_review_option_entity.dart'
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-SGAttendanceReviewOptionEntity $SGAttendanceReviewOptionEntityFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewOptionEntity $SGAttendanceReviewOptionEntityFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewOptionEntity sGAttendanceReviewOptionEntity = SGAttendanceReviewOptionEntity();
-  final List<IndexOptionEntity>? sourceList = (json['source_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? sourceList = (json['source_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (sourceList != null) {
     sGAttendanceReviewOptionEntity.sourceList = sourceList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     sGAttendanceReviewOptionEntity.outletList = outletList;
   }
   return sGAttendanceReviewOptionEntity;
 }
 
-Map<String, dynamic> $SGAttendanceReviewOptionEntityToJson(
-    SGAttendanceReviewOptionEntity entity) {
+Map<String, dynamic> $SGAttendanceReviewOptionEntityToJson(SGAttendanceReviewOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['source_list'] = entity.sourceList.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList.map((v) => v.toJson()).toList();

+ 12 - 25
packages/cs_domain/lib/generated/json/s_g_attendance_review_table_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/s_g_attendance_review_table_entity.dart';
 
-SGAttendanceReviewTableEntity $SGAttendanceReviewTableEntityFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewTableEntity $SGAttendanceReviewTableEntityFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewTableEntity sGAttendanceReviewTableEntity = SGAttendanceReviewTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     sGAttendanceReviewTableEntity.total = total;
   }
-  final List<SGAttendanceReviewTableRows>? rows = (json['rows'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<SGAttendanceReviewTableRows>(
-          e) as SGAttendanceReviewTableRows).toList();
+  final List<SGAttendanceReviewTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGAttendanceReviewTableRows>(e) as SGAttendanceReviewTableRows).toList();
   if (rows != null) {
     sGAttendanceReviewTableEntity.rows = rows;
   }
   return sGAttendanceReviewTableEntity;
 }
 
-Map<String, dynamic> $SGAttendanceReviewTableEntityToJson(
-    SGAttendanceReviewTableEntity entity) {
+Map<String, dynamic> $SGAttendanceReviewTableEntityToJson(SGAttendanceReviewTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension SGAttendanceReviewTableEntityExtension on SGAttendanceReviewTableEntit
   }
 }
 
-SGAttendanceReviewTableRows $SGAttendanceReviewTableRowsFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewTableRows $SGAttendanceReviewTableRowsFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewTableRows sGAttendanceReviewTableRows = SGAttendanceReviewTableRows();
   final String? recordId = jsonConvert.convert<String>(json['record_id']);
   if (recordId != null) {
@@ -93,23 +87,19 @@ SGAttendanceReviewTableRows $SGAttendanceReviewTableRowsFromJson(
   if (totalHours != null) {
     sGAttendanceReviewTableRows.totalHours = totalHours;
   }
-  final SGAttendanceReviewTableRowsCheck? securityIn = jsonConvert.convert<
-      SGAttendanceReviewTableRowsCheck>(json['security_in']);
+  final SGAttendanceReviewTableRowsCheck? securityIn = jsonConvert.convert<SGAttendanceReviewTableRowsCheck>(json['security_in']);
   if (securityIn != null) {
     sGAttendanceReviewTableRows.securityIn = securityIn;
   }
-  final SGAttendanceReviewTableRowsCheck? securityOut = jsonConvert.convert<
-      SGAttendanceReviewTableRowsCheck>(json['security_out']);
+  final SGAttendanceReviewTableRowsCheck? securityOut = jsonConvert.convert<SGAttendanceReviewTableRowsCheck>(json['security_out']);
   if (securityOut != null) {
     sGAttendanceReviewTableRows.securityOut = securityOut;
   }
-  final SGAttendanceReviewTableRowsCheck? workIn = jsonConvert.convert<
-      SGAttendanceReviewTableRowsCheck>(json['work_in']);
+  final SGAttendanceReviewTableRowsCheck? workIn = jsonConvert.convert<SGAttendanceReviewTableRowsCheck>(json['work_in']);
   if (workIn != null) {
     sGAttendanceReviewTableRows.workIn = workIn;
   }
-  final SGAttendanceReviewTableRowsCheck? workOut = jsonConvert.convert<
-      SGAttendanceReviewTableRowsCheck>(json['work_out']);
+  final SGAttendanceReviewTableRowsCheck? workOut = jsonConvert.convert<SGAttendanceReviewTableRowsCheck>(json['work_out']);
   if (workOut != null) {
     sGAttendanceReviewTableRows.workOut = workOut;
   }
@@ -136,8 +126,7 @@ SGAttendanceReviewTableRows $SGAttendanceReviewTableRowsFromJson(
   return sGAttendanceReviewTableRows;
 }
 
-Map<String, dynamic> $SGAttendanceReviewTableRowsToJson(
-    SGAttendanceReviewTableRows entity) {
+Map<String, dynamic> $SGAttendanceReviewTableRowsToJson(SGAttendanceReviewTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['record_id'] = entity.recordId;
   data['order_id'] = entity.orderId;
@@ -215,8 +204,7 @@ extension SGAttendanceReviewTableRowsExtension on SGAttendanceReviewTableRows {
   }
 }
 
-SGAttendanceReviewTableRowsCheck $SGAttendanceReviewTableRowsCheckFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewTableRowsCheck $SGAttendanceReviewTableRowsCheckFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewTableRowsCheck sGAttendanceReviewTableRowsCheck = SGAttendanceReviewTableRowsCheck();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -245,8 +233,7 @@ SGAttendanceReviewTableRowsCheck $SGAttendanceReviewTableRowsCheckFromJson(
   return sGAttendanceReviewTableRowsCheck;
 }
 
-Map<String, dynamic> $SGAttendanceReviewTableRowsCheckToJson(
-    SGAttendanceReviewTableRowsCheck entity) {
+Map<String, dynamic> $SGAttendanceReviewTableRowsCheckToJson(SGAttendanceReviewTableRowsCheck entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['temp'] = entity.temp;

+ 23 - 48
packages/cs_domain/lib/generated/json/s_g_attendance_review_workflow_entity.g.dart

@@ -1,11 +1,9 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/s_g_attendance_review_workflow_entity.dart';
 
-SGAttendanceReviewWorkflowEntity $SGAttendanceReviewWorkflowEntityFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewWorkflowEntity $SGAttendanceReviewWorkflowEntityFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewWorkflowEntity sGAttendanceReviewWorkflowEntity = SGAttendanceReviewWorkflowEntity();
-  final SGAttendanceReviewWorkflowRow? row = jsonConvert.convert<
-      SGAttendanceReviewWorkflowRow>(json['row']);
+  final SGAttendanceReviewWorkflowRow? row = jsonConvert.convert<SGAttendanceReviewWorkflowRow>(json['row']);
   if (row != null) {
     sGAttendanceReviewWorkflowEntity.row = row;
   }
@@ -13,20 +11,15 @@ SGAttendanceReviewWorkflowEntity $SGAttendanceReviewWorkflowEntityFromJson(
   if (outletId != null) {
     sGAttendanceReviewWorkflowEntity.outletId = outletId;
   }
-  final List<
-      SGAttendanceReviewWorkflowRecords>? records = (json['records'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<SGAttendanceReviewWorkflowRecords>(
-          e) as SGAttendanceReviewWorkflowRecords).toList();
+  final List<SGAttendanceReviewWorkflowRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGAttendanceReviewWorkflowRecords>(e) as SGAttendanceReviewWorkflowRecords).toList();
   if (records != null) {
     sGAttendanceReviewWorkflowEntity.records = records;
   }
   return sGAttendanceReviewWorkflowEntity;
 }
 
-Map<String, dynamic> $SGAttendanceReviewWorkflowEntityToJson(
-    SGAttendanceReviewWorkflowEntity entity) {
+Map<String, dynamic> $SGAttendanceReviewWorkflowEntityToJson(SGAttendanceReviewWorkflowEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['row'] = entity.row?.toJson();
   data['outlet_id'] = entity.outletId;
@@ -47,8 +40,7 @@ extension SGAttendanceReviewWorkflowEntityExtension on SGAttendanceReviewWorkflo
   }
 }
 
-SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewWorkflowRow sGAttendanceReviewWorkflowRow = SGAttendanceReviewWorkflowRow();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -70,13 +62,11 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (labourerId != null) {
     sGAttendanceReviewWorkflowRow.labourerId = labourerId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     sGAttendanceReviewWorkflowRow.labourerName = labourerName;
   }
-  final String? labourerNric = jsonConvert.convert<String>(
-      json['labourer_nric']);
+  final String? labourerNric = jsonConvert.convert<String>(json['labourer_nric']);
   if (labourerNric != null) {
     sGAttendanceReviewWorkflowRow.labourerNric = labourerNric;
   }
@@ -88,8 +78,7 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (employerId != null) {
     sGAttendanceReviewWorkflowRow.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     sGAttendanceReviewWorkflowRow.employerName = employerName;
   }
@@ -117,8 +106,7 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (ballroomId != null) {
     sGAttendanceReviewWorkflowRow.ballroomId = ballroomId;
   }
-  final String? ballroomName = jsonConvert.convert<String>(
-      json['ballroom_name']);
+  final String? ballroomName = jsonConvert.convert<String>(json['ballroom_name']);
   if (ballroomName != null) {
     sGAttendanceReviewWorkflowRow.ballroomName = ballroomName;
   }
@@ -134,8 +122,7 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (endTime != null) {
     sGAttendanceReviewWorkflowRow.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     sGAttendanceReviewWorkflowRow.workingHours = workingHours;
   }
@@ -155,13 +142,11 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (grossWage != null) {
     sGAttendanceReviewWorkflowRow.grossWage = grossWage;
   }
-  final int? securityClockIn = jsonConvert.convert<int>(
-      json['security_clock_in']);
+  final int? securityClockIn = jsonConvert.convert<int>(json['security_clock_in']);
   if (securityClockIn != null) {
     sGAttendanceReviewWorkflowRow.securityClockIn = securityClockIn;
   }
-  final int? securityClockOut = jsonConvert.convert<int>(
-      json['security_clock_out']);
+  final int? securityClockOut = jsonConvert.convert<int>(json['security_clock_out']);
   if (securityClockOut != null) {
     sGAttendanceReviewWorkflowRow.securityClockOut = securityClockOut;
   }
@@ -229,13 +214,11 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (reviseHours != null) {
     sGAttendanceReviewWorkflowRow.reviseHours = reviseHours;
   }
-  final String? reviseGrossWage = jsonConvert.convert<String>(
-      json['revise_gross_wage']);
+  final String? reviseGrossWage = jsonConvert.convert<String>(json['revise_gross_wage']);
   if (reviseGrossWage != null) {
     sGAttendanceReviewWorkflowRow.reviseGrossWage = reviseGrossWage;
   }
-  final String? reviseAgencyWage = jsonConvert.convert<String>(
-      json['revise_agency_wage']);
+  final String? reviseAgencyWage = jsonConvert.convert<String>(json['revise_agency_wage']);
   if (reviseAgencyWage != null) {
     sGAttendanceReviewWorkflowRow.reviseAgencyWage = reviseAgencyWage;
   }
@@ -247,16 +230,14 @@ SGAttendanceReviewWorkflowRow $SGAttendanceReviewWorkflowRowFromJson(
   if (hotelStaff != null) {
     sGAttendanceReviewWorkflowRow.hotelStaff = hotelStaff;
   }
-  final int? salaryStructure = jsonConvert.convert<int>(
-      json['salary_structure']);
+  final int? salaryStructure = jsonConvert.convert<int>(json['salary_structure']);
   if (salaryStructure != null) {
     sGAttendanceReviewWorkflowRow.salaryStructure = salaryStructure;
   }
   return sGAttendanceReviewWorkflowRow;
 }
 
-Map<String, dynamic> $SGAttendanceReviewWorkflowRowToJson(
-    SGAttendanceReviewWorkflowRow entity) {
+Map<String, dynamic> $SGAttendanceReviewWorkflowRowToJson(SGAttendanceReviewWorkflowRow entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['job_id'] = entity.jobId;
@@ -412,11 +393,9 @@ extension SGAttendanceReviewWorkflowRowExtension on SGAttendanceReviewWorkflowRo
   }
 }
 
-SGAttendanceReviewWorkflowRecords $SGAttendanceReviewWorkflowRecordsFromJson(
-    Map<String, dynamic> json) {
+SGAttendanceReviewWorkflowRecords $SGAttendanceReviewWorkflowRecordsFromJson(Map<String, dynamic> json) {
   final SGAttendanceReviewWorkflowRecords sGAttendanceReviewWorkflowRecords = SGAttendanceReviewWorkflowRecords();
-  final String? serialNumber = jsonConvert.convert<String>(
-      json['serial_number']);
+  final String? serialNumber = jsonConvert.convert<String>(json['serial_number']);
   if (serialNumber != null) {
     sGAttendanceReviewWorkflowRecords.serialNumber = serialNumber;
   }
@@ -424,8 +403,7 @@ SGAttendanceReviewWorkflowRecords $SGAttendanceReviewWorkflowRecordsFromJson(
   if (nodeName != null) {
     sGAttendanceReviewWorkflowRecords.nodeName = nodeName;
   }
-  final String? nodeTypeShow = jsonConvert.convert<String>(
-      json['node_type_show']);
+  final String? nodeTypeShow = jsonConvert.convert<String>(json['node_type_show']);
   if (nodeTypeShow != null) {
     sGAttendanceReviewWorkflowRecords.nodeTypeShow = nodeTypeShow;
   }
@@ -449,21 +427,18 @@ SGAttendanceReviewWorkflowRecords $SGAttendanceReviewWorkflowRecordsFromJson(
   if (createdAt != null) {
     sGAttendanceReviewWorkflowRecords.createdAt = createdAt;
   }
-  final String? assigneeTypeShow = jsonConvert.convert<String>(
-      json['assignee_type_show']);
+  final String? assigneeTypeShow = jsonConvert.convert<String>(json['assignee_type_show']);
   if (assigneeTypeShow != null) {
     sGAttendanceReviewWorkflowRecords.assigneeTypeShow = assigneeTypeShow;
   }
-  final String? designationShow = jsonConvert.convert<String>(
-      json['designation_show']);
+  final String? designationShow = jsonConvert.convert<String>(json['designation_show']);
   if (designationShow != null) {
     sGAttendanceReviewWorkflowRecords.designationShow = designationShow;
   }
   return sGAttendanceReviewWorkflowRecords;
 }
 
-Map<String, dynamic> $SGAttendanceReviewWorkflowRecordsToJson(
-    SGAttendanceReviewWorkflowRecords entity) {
+Map<String, dynamic> $SGAttendanceReviewWorkflowRecordsToJson(SGAttendanceReviewWorkflowRecords entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['serial_number'] = entity.serialNumber;
   data['node_name'] = entity.nodeName;

+ 8 - 20
packages/cs_domain/lib/generated/json/s_g_dashboard_entity.g.dart

@@ -7,12 +7,8 @@ SGDashboardEntity $SGDashboardEntityFromJson(Map<String, dynamic> json) {
   if (day != null) {
     sGDashboardEntity.day = day;
   }
-  final List<SGDashboardAgencyList>? agencyList = (json['agency_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<SGDashboardAgencyList>(e) as SGDashboardAgencyList)
-      .toList();
+  final List<SGDashboardAgencyList>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGDashboardAgencyList>(e) as SGDashboardAgencyList).toList();
   if (agencyList != null) {
     sGDashboardEntity.agencyList = agencyList;
   }
@@ -37,8 +33,7 @@ extension SGDashboardEntityExtension on SGDashboardEntity {
   }
 }
 
-SGDashboardAgencyList $SGDashboardAgencyListFromJson(
-    Map<String, dynamic> json) {
+SGDashboardAgencyList $SGDashboardAgencyListFromJson(Map<String, dynamic> json) {
   final SGDashboardAgencyList sGDashboardAgencyList = SGDashboardAgencyList();
   final String? agencyId = jsonConvert.convert<String>(json['agency_id']);
   if (agencyId != null) {
@@ -56,20 +51,15 @@ SGDashboardAgencyList $SGDashboardAgencyListFromJson(
   if (outletName != null) {
     sGDashboardAgencyList.outletName = outletName;
   }
-  final List<SGDashboardAgencyListDays>? days = (json['days'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<SGDashboardAgencyListDays>(
-          e) as SGDashboardAgencyListDays)
-      .toList();
+  final List<SGDashboardAgencyListDays>? days = (json['days'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGDashboardAgencyListDays>(e) as SGDashboardAgencyListDays).toList();
   if (days != null) {
     sGDashboardAgencyList.days = days;
   }
   return sGDashboardAgencyList;
 }
 
-Map<String, dynamic> $SGDashboardAgencyListToJson(
-    SGDashboardAgencyList entity) {
+Map<String, dynamic> $SGDashboardAgencyListToJson(SGDashboardAgencyList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['agency_id'] = entity.agencyId;
   data['agency_name'] = entity.agencyName;
@@ -96,8 +86,7 @@ extension SGDashboardAgencyListExtension on SGDashboardAgencyList {
   }
 }
 
-SGDashboardAgencyListDays $SGDashboardAgencyListDaysFromJson(
-    Map<String, dynamic> json) {
+SGDashboardAgencyListDays $SGDashboardAgencyListDaysFromJson(Map<String, dynamic> json) {
   final SGDashboardAgencyListDays sGDashboardAgencyListDays = SGDashboardAgencyListDays();
   final String? day = jsonConvert.convert<String>(json['day']);
   if (day != null) {
@@ -114,8 +103,7 @@ SGDashboardAgencyListDays $SGDashboardAgencyListDaysFromJson(
   return sGDashboardAgencyListDays;
 }
 
-Map<String, dynamic> $SGDashboardAgencyListDaysToJson(
-    SGDashboardAgencyListDays entity) {
+Map<String, dynamic> $SGDashboardAgencyListDaysToJson(SGDashboardAgencyListDays entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['day'] = entity.day;
   data['week'] = entity.week;

+ 16 - 39
packages/cs_domain/lib/generated/json/s_g_labour_request_add_option_entity.g.dart

@@ -3,63 +3,42 @@ import 'package:domain/entity/response/s_g_labour_request_add_option_entity.dart
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-SGLabourRequestAddOptionEntity $SGLabourRequestAddOptionEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestAddOptionEntity $SGLabourRequestAddOptionEntityFromJson(Map<String, dynamic> json) {
   final SGLabourRequestAddOptionEntity sGLabourRequestAddOptionEntity = SGLabourRequestAddOptionEntity();
-  final List<
-      LabourRequestAgencyEntity>? agencyList = (json['agency_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<LabourRequestAgencyEntity>(
-          e) as LabourRequestAgencyEntity).toList();
+  final List<LabourRequestAgencyEntity>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<LabourRequestAgencyEntity>(e) as LabourRequestAgencyEntity).toList();
   if (agencyList != null) {
     sGLabourRequestAddOptionEntity.agencyList = agencyList;
   }
-  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (titleList != null) {
     sGLabourRequestAddOptionEntity.titleList = titleList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     sGLabourRequestAddOptionEntity.outletList = outletList;
   }
-  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (limitList != null) {
     sGLabourRequestAddOptionEntity.limitList = limitList;
   }
-  final List<IndexOptionEntity>? requestType = (json['request_type'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? requestType = (json['request_type'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (requestType != null) {
     sGLabourRequestAddOptionEntity.requestType = requestType;
   }
-  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (positionList != null) {
     sGLabourRequestAddOptionEntity.positionList = positionList;
   }
   return sGLabourRequestAddOptionEntity;
 }
 
-Map<String, dynamic> $SGLabourRequestAddOptionEntityToJson(
-    SGLabourRequestAddOptionEntity entity) {
+Map<String, dynamic> $SGLabourRequestAddOptionEntityToJson(SGLabourRequestAddOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['agency_list'] = entity.agencyList.map((v) => v.toJson()).toList();
   data['title_list'] = entity.titleList.map((v) => v.toJson()).toList();
@@ -89,8 +68,7 @@ extension SGLabourRequestAddOptionEntityExtension on SGLabourRequestAddOptionEnt
   }
 }
 
-LabourRequestAgencyEntity $LabourRequestAgencyEntityFromJson(
-    Map<String, dynamic> json) {
+LabourRequestAgencyEntity $LabourRequestAgencyEntityFromJson(Map<String, dynamic> json) {
   final LabourRequestAgencyEntity labourRequestAgencyEntity = LabourRequestAgencyEntity();
   final String? agencyId = jsonConvert.convert<String>(json['agency_id']);
   if (agencyId != null) {
@@ -103,8 +81,7 @@ LabourRequestAgencyEntity $LabourRequestAgencyEntityFromJson(
   return labourRequestAgencyEntity;
 }
 
-Map<String, dynamic> $LabourRequestAgencyEntityToJson(
-    LabourRequestAgencyEntity entity) {
+Map<String, dynamic> $LabourRequestAgencyEntityToJson(LabourRequestAgencyEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['agency_id'] = entity.agencyId;
   data['agency_name'] = entity.agencyName;

+ 16 - 36
packages/cs_domain/lib/generated/json/s_g_labour_request_detail_entity.g.dart

@@ -3,11 +3,9 @@ import 'package:domain/entity/response/s_g_labour_request_detail_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-SGLabourRequestDetailEntity $SGLabourRequestDetailEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestDetailEntity $SGLabourRequestDetailEntityFromJson(Map<String, dynamic> json) {
   final SGLabourRequestDetailEntity sGLabourRequestDetailEntity = SGLabourRequestDetailEntity();
-  final SGLabourRequestDetailLabReq? labReq = jsonConvert.convert<
-      SGLabourRequestDetailLabReq>(json['lab_req']);
+  final SGLabourRequestDetailLabReq? labReq = jsonConvert.convert<SGLabourRequestDetailLabReq>(json['lab_req']);
   if (labReq != null) {
     sGLabourRequestDetailEntity.labReq = labReq;
   }
@@ -27,43 +25,30 @@ SGLabourRequestDetailEntity $SGLabourRequestDetailEntityFromJson(
   if (isYY != null) {
     sGLabourRequestDetailEntity.isYY = isYY;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     sGLabourRequestDetailEntity.outletList = outletList;
   }
-  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (limitList != null) {
     sGLabourRequestDetailEntity.limitList = limitList;
   }
-  final List<IndexOptionEntity>? requestType = (json['request_type'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? requestType = (json['request_type'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (requestType != null) {
     sGLabourRequestDetailEntity.requestType = requestType;
   }
-  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? positionList = (json['position_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (positionList != null) {
     sGLabourRequestDetailEntity.positionList = positionList;
   }
   return sGLabourRequestDetailEntity;
 }
 
-Map<String, dynamic> $SGLabourRequestDetailEntityToJson(
-    SGLabourRequestDetailEntity entity) {
+Map<String, dynamic> $SGLabourRequestDetailEntityToJson(SGLabourRequestDetailEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['lab_req'] = entity.labReq?.toJson();
   data['from_view'] = entity.fromView;
@@ -102,8 +87,7 @@ extension SGLabourRequestDetailEntityExtension on SGLabourRequestDetailEntity {
   }
 }
 
-SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(Map<String, dynamic> json) {
   final SGLabourRequestDetailLabReq sGLabourRequestDetailLabReq = SGLabourRequestDetailLabReq();
   final int? id = jsonConvert.convert<int>(json['id']);
   if (id != null) {
@@ -113,8 +97,7 @@ SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(
   if (employerId != null) {
     sGLabourRequestDetailLabReq.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     sGLabourRequestDetailLabReq.employerName = employerName;
   }
@@ -158,8 +141,7 @@ SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(
   if (endTime != null) {
     sGLabourRequestDetailLabReq.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     sGLabourRequestDetailLabReq.workingHours = workingHours;
   }
@@ -203,8 +185,7 @@ SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(
   if (positionId != null) {
     sGLabourRequestDetailLabReq.positionId = positionId;
   }
-  final String? positionName = jsonConvert.convert<String>(
-      json['position_name']);
+  final String? positionName = jsonConvert.convert<String>(json['position_name']);
   if (positionName != null) {
     sGLabourRequestDetailLabReq.positionName = positionName;
   }
@@ -239,8 +220,7 @@ SGLabourRequestDetailLabReq $SGLabourRequestDetailLabReqFromJson(
   return sGLabourRequestDetailLabReq;
 }
 
-Map<String, dynamic> $SGLabourRequestDetailLabReqToJson(
-    SGLabourRequestDetailLabReq entity) {
+Map<String, dynamic> $SGLabourRequestDetailLabReqToJson(SGLabourRequestDetailLabReq entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['employer_id'] = entity.employerId;

+ 8 - 19
packages/cs_domain/lib/generated/json/s_g_labour_request_option_entity.g.dart

@@ -3,8 +3,7 @@ import 'package:domain/entity/response/s_g_labour_request_option_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-SGLabourRequestOptionEntity $SGLabourRequestOptionEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestOptionEntity $SGLabourRequestOptionEntityFromJson(Map<String, dynamic> json) {
   final SGLabourRequestOptionEntity sGLabourRequestOptionEntity = SGLabourRequestOptionEntity();
   final String? outletId = jsonConvert.convert<String>(json['outlet_id']);
   if (outletId != null) {
@@ -18,35 +17,25 @@ SGLabourRequestOptionEntity $SGLabourRequestOptionEntityFromJson(
   if (endDate != null) {
     sGLabourRequestOptionEntity.endDate = endDate;
   }
-  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? agencyList = (json['agency_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (agencyList != null) {
     sGLabourRequestOptionEntity.agencyList = agencyList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     sGLabourRequestOptionEntity.outletList = outletList;
   }
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     sGLabourRequestOptionEntity.statusList = statusList;
   }
   return sGLabourRequestOptionEntity;
 }
 
-Map<String, dynamic> $SGLabourRequestOptionEntityToJson(
-    SGLabourRequestOptionEntity entity) {
+Map<String, dynamic> $SGLabourRequestOptionEntityToJson(SGLabourRequestOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['outlet_id'] = entity.outletId;
   data['start_date'] = entity.startDate;

+ 6 - 14
packages/cs_domain/lib/generated/json/s_g_labour_request_table_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/s_g_labour_request_table_entity.dart';
 
-SGLabourRequestTableEntity $SGLabourRequestTableEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestTableEntity $SGLabourRequestTableEntityFromJson(Map<String, dynamic> json) {
   final SGLabourRequestTableEntity sGLabourRequestTableEntity = SGLabourRequestTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     sGLabourRequestTableEntity.total = total;
   }
-  final List<SGLabourRequestTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<SGLabourRequestTableRows>(
-          e) as SGLabourRequestTableRows)
-      .toList();
+  final List<SGLabourRequestTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGLabourRequestTableRows>(e) as SGLabourRequestTableRows).toList();
   if (rows != null) {
     sGLabourRequestTableEntity.rows = rows;
   }
   return sGLabourRequestTableEntity;
 }
 
-Map<String, dynamic> $SGLabourRequestTableEntityToJson(
-    SGLabourRequestTableEntity entity) {
+Map<String, dynamic> $SGLabourRequestTableEntityToJson(SGLabourRequestTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension SGLabourRequestTableEntityExtension on SGLabourRequestTableEntity {
   }
 }
 
-SGLabourRequestTableRows $SGLabourRequestTableRowsFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestTableRows $SGLabourRequestTableRowsFromJson(Map<String, dynamic> json) {
   final SGLabourRequestTableRows sGLabourRequestTableRows = SGLabourRequestTableRows();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -94,8 +87,7 @@ SGLabourRequestTableRows $SGLabourRequestTableRowsFromJson(
   return sGLabourRequestTableRows;
 }
 
-Map<String, dynamic> $SGLabourRequestTableRowsToJson(
-    SGLabourRequestTableRows entity) {
+Map<String, dynamic> $SGLabourRequestTableRowsToJson(SGLabourRequestTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['source'] = entity.source;

+ 14 - 30
packages/cs_domain/lib/generated/json/s_g_labour_request_worl_flow_entity.g.dart

@@ -1,11 +1,9 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/s_g_labour_request_worl_flow_entity.dart';
 
-SGLabourRequestWorlFlowEntity $SGLabourRequestWorlFlowEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestWorlFlowEntity $SGLabourRequestWorlFlowEntityFromJson(Map<String, dynamic> json) {
   final SGLabourRequestWorlFlowEntity sGLabourRequestWorlFlowEntity = SGLabourRequestWorlFlowEntity();
-  final SGLabourRequestWorlFlowRow? row = jsonConvert.convert<
-      SGLabourRequestWorlFlowRow>(json['row']);
+  final SGLabourRequestWorlFlowRow? row = jsonConvert.convert<SGLabourRequestWorlFlowRow>(json['row']);
   if (row != null) {
     sGLabourRequestWorlFlowEntity.row = row;
   }
@@ -13,20 +11,15 @@ SGLabourRequestWorlFlowEntity $SGLabourRequestWorlFlowEntityFromJson(
   if (outletId != null) {
     sGLabourRequestWorlFlowEntity.outletId = outletId;
   }
-  final List<
-      SGLabourRequestWorlFlowRecords>? records = (json['records'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<SGLabourRequestWorlFlowRecords>(
-          e) as SGLabourRequestWorlFlowRecords).toList();
+  final List<SGLabourRequestWorlFlowRecords>? records = (json['records'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGLabourRequestWorlFlowRecords>(e) as SGLabourRequestWorlFlowRecords).toList();
   if (records != null) {
     sGLabourRequestWorlFlowEntity.records = records;
   }
   return sGLabourRequestWorlFlowEntity;
 }
 
-Map<String, dynamic> $SGLabourRequestWorlFlowEntityToJson(
-    SGLabourRequestWorlFlowEntity entity) {
+Map<String, dynamic> $SGLabourRequestWorlFlowEntityToJson(SGLabourRequestWorlFlowEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['row'] = entity.row?.toJson();
   data['outlet_id'] = entity.outletId;
@@ -47,8 +40,7 @@ extension SGLabourRequestWorlFlowEntityExtension on SGLabourRequestWorlFlowEntit
   }
 }
 
-SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(Map<String, dynamic> json) {
   final SGLabourRequestWorlFlowRow sGLabourRequestWorlFlowRow = SGLabourRequestWorlFlowRow();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -58,8 +50,7 @@ SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(
   if (employerId != null) {
     sGLabourRequestWorlFlowRow.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     sGLabourRequestWorlFlowRow.employerName = employerName;
   }
@@ -103,8 +94,7 @@ SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(
   if (endTime != null) {
     sGLabourRequestWorlFlowRow.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     sGLabourRequestWorlFlowRow.workingHours = workingHours;
   }
@@ -148,8 +138,7 @@ SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(
   if (positionId != null) {
     sGLabourRequestWorlFlowRow.positionId = positionId;
   }
-  final String? positionName = jsonConvert.convert<String>(
-      json['position_name']);
+  final String? positionName = jsonConvert.convert<String>(json['position_name']);
   if (positionName != null) {
     sGLabourRequestWorlFlowRow.positionName = positionName;
   }
@@ -184,8 +173,7 @@ SGLabourRequestWorlFlowRow $SGLabourRequestWorlFlowRowFromJson(
   return sGLabourRequestWorlFlowRow;
 }
 
-Map<String, dynamic> $SGLabourRequestWorlFlowRowToJson(
-    SGLabourRequestWorlFlowRow entity) {
+Map<String, dynamic> $SGLabourRequestWorlFlowRowToJson(SGLabourRequestWorlFlowRow entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['employer_id'] = entity.employerId;
@@ -293,8 +281,7 @@ extension SGLabourRequestWorlFlowRowExtension on SGLabourRequestWorlFlowRow {
   }
 }
 
-SGLabourRequestWorlFlowRecords $SGLabourRequestWorlFlowRecordsFromJson(
-    Map<String, dynamic> json) {
+SGLabourRequestWorlFlowRecords $SGLabourRequestWorlFlowRecordsFromJson(Map<String, dynamic> json) {
   final SGLabourRequestWorlFlowRecords sGLabourRequestWorlFlowRecords = SGLabourRequestWorlFlowRecords();
   final int? serialNumber = jsonConvert.convert<int>(json['serial_number']);
   if (serialNumber != null) {
@@ -324,21 +311,18 @@ SGLabourRequestWorlFlowRecords $SGLabourRequestWorlFlowRecordsFromJson(
   if (createdAt != null) {
     sGLabourRequestWorlFlowRecords.createdAt = createdAt;
   }
-  final String? assigneeTypeShow = jsonConvert.convert<String>(
-      json['assignee_type_show']);
+  final String? assigneeTypeShow = jsonConvert.convert<String>(json['assignee_type_show']);
   if (assigneeTypeShow != null) {
     sGLabourRequestWorlFlowRecords.assigneeTypeShow = assigneeTypeShow;
   }
-  final String? designationShow = jsonConvert.convert<String>(
-      json['designation_show']);
+  final String? designationShow = jsonConvert.convert<String>(json['designation_show']);
   if (designationShow != null) {
     sGLabourRequestWorlFlowRecords.designationShow = designationShow;
   }
   return sGLabourRequestWorlFlowRecords;
 }
 
-Map<String, dynamic> $SGLabourRequestWorlFlowRecordsToJson(
-    SGLabourRequestWorlFlowRecords entity) {
+Map<String, dynamic> $SGLabourRequestWorlFlowRecordsToJson(SGLabourRequestWorlFlowRecords entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['serial_number'] = entity.serialNumber;
   data['node_name'] = entity.nodeName;

+ 6 - 14
packages/cs_domain/lib/generated/json/s_g_labour_review_option_entity.g.dart

@@ -3,8 +3,7 @@ import 'package:domain/entity/response/s_g_labour_review_option_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-SGLabourReviewOptionEntity $SGLabourReviewOptionEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourReviewOptionEntity $SGLabourReviewOptionEntityFromJson(Map<String, dynamic> json) {
   final SGLabourReviewOptionEntity sGLabourReviewOptionEntity = SGLabourReviewOptionEntity();
   final String? startTime = jsonConvert.convert<String>(json['start_time']);
   if (startTime != null) {
@@ -14,27 +13,20 @@ SGLabourReviewOptionEntity $SGLabourReviewOptionEntityFromJson(
   if (endTime != null) {
     sGLabourReviewOptionEntity.endTime = endTime;
   }
-  final List<IndexOptionEntity>? sourceList = (json['source_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? sourceList = (json['source_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (sourceList != null) {
     sGLabourReviewOptionEntity.sourceList = sourceList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     sGLabourReviewOptionEntity.outletList = outletList;
   }
   return sGLabourReviewOptionEntity;
 }
 
-Map<String, dynamic> $SGLabourReviewOptionEntityToJson(
-    SGLabourReviewOptionEntity entity) {
+Map<String, dynamic> $SGLabourReviewOptionEntityToJson(SGLabourReviewOptionEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['start_time'] = entity.startTime;
   data['end_time'] = entity.endTime;

+ 7 - 16
packages/cs_domain/lib/generated/json/s_g_labour_review_table_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/s_g_labour_review_table_entity.dart';
 
-SGLabourReviewTableEntity $SGLabourReviewTableEntityFromJson(
-    Map<String, dynamic> json) {
+SGLabourReviewTableEntity $SGLabourReviewTableEntityFromJson(Map<String, dynamic> json) {
   final SGLabourReviewTableEntity sGLabourReviewTableEntity = SGLabourReviewTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     sGLabourReviewTableEntity.total = total;
   }
-  final List<SGLabourReviewTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<SGLabourReviewTableRows>(
-          e) as SGLabourReviewTableRows)
-      .toList();
+  final List<SGLabourReviewTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SGLabourReviewTableRows>(e) as SGLabourReviewTableRows).toList();
   if (rows != null) {
     sGLabourReviewTableEntity.rows = rows;
   }
   return sGLabourReviewTableEntity;
 }
 
-Map<String, dynamic> $SGLabourReviewTableEntityToJson(
-    SGLabourReviewTableEntity entity) {
+Map<String, dynamic> $SGLabourReviewTableEntityToJson(SGLabourReviewTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension SGLabourReviewTableEntityExtension on SGLabourReviewTableEntity {
   }
 }
 
-SGLabourReviewTableRows $SGLabourReviewTableRowsFromJson(
-    Map<String, dynamic> json) {
+SGLabourReviewTableRows $SGLabourReviewTableRowsFromJson(Map<String, dynamic> json) {
   final SGLabourReviewTableRows sGLabourReviewTableRows = SGLabourReviewTableRows();
   final String? recordId = jsonConvert.convert<String>(json['record_id']);
   if (recordId != null) {
@@ -82,8 +75,7 @@ SGLabourReviewTableRows $SGLabourReviewTableRowsFromJson(
   if (jobTime != null) {
     sGLabourReviewTableRows.jobTime = jobTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     sGLabourReviewTableRows.workingHours = workingHours;
   }
@@ -98,8 +90,7 @@ SGLabourReviewTableRows $SGLabourReviewTableRowsFromJson(
   return sGLabourReviewTableRows;
 }
 
-Map<String, dynamic> $SGLabourReviewTableRowsToJson(
-    SGLabourReviewTableRows entity) {
+Map<String, dynamic> $SGLabourReviewTableRowsToJson(SGLabourReviewTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['record_id'] = entity.recordId;
   data['order_id'] = entity.orderId;

+ 2 - 4
packages/cs_domain/lib/generated/json/sign_in_sign_out_entity.g.dart

@@ -3,10 +3,8 @@ import 'package:domain/entity/response/sign_in_sign_out_entity.dart';
 
 SignInSignOutEntity $SignInSignOutEntityFromJson(Map<String, dynamic> json) {
   final SignInSignOutEntity signInSignOutEntity = SignInSignOutEntity();
-  final List<SignInSignOutRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<SignInSignOutRows>(e) as SignInSignOutRows)
-      .toList();
+  final List<SignInSignOutRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SignInSignOutRows>(e) as SignInSignOutRows).toList();
   if (rows != null) {
     signInSignOutEntity.rows = rows;
   }

+ 11 - 23
packages/cs_domain/lib/generated/json/staff_detail_s_g_entity.g.dart

@@ -31,8 +31,7 @@ StaffDetailSGEntity $StaffDetailSGEntityFromJson(Map<String, dynamic> json) {
   if (hourlyRate != null) {
     staffDetailSGEntity.hourlyRate = hourlyRate;
   }
-  final StaffDetailSGReviews? reviews = jsonConvert.convert<
-      StaffDetailSGReviews>(json['reviews']);
+  final StaffDetailSGReviews? reviews = jsonConvert.convert<StaffDetailSGReviews>(json['reviews']);
   if (reviews != null) {
     staffDetailSGEntity.reviews = reviews;
   }
@@ -40,8 +39,7 @@ StaffDetailSGEntity $StaffDetailSGEntityFromJson(Map<String, dynamic> json) {
   if (hotelStaff != null) {
     staffDetailSGEntity.hotelStaff = hotelStaff;
   }
-  final int? salaryStructure = jsonConvert.convert<int>(
-      json['salary_structure']);
+  final int? salaryStructure = jsonConvert.convert<int>(json['salary_structure']);
   if (salaryStructure != null) {
     staffDetailSGEntity.salaryStructure = salaryStructure;
   }
@@ -107,11 +105,8 @@ StaffDetailSGReviews $StaffDetailSGReviewsFromJson(Map<String, dynamic> json) {
   if (avgScore != null) {
     staffDetailSGReviews.avgScore = avgScore;
   }
-  final List<StaffDetailSGReviewsReviews>? reviews = (json['reviews'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<StaffDetailSGReviewsReviews>(
-          e) as StaffDetailSGReviewsReviews).toList();
+  final List<StaffDetailSGReviewsReviews>? reviews = (json['reviews'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffDetailSGReviewsReviews>(e) as StaffDetailSGReviewsReviews).toList();
   if (reviews != null) {
     staffDetailSGReviews.reviews = reviews;
   }
@@ -139,31 +134,25 @@ extension StaffDetailSGReviewsExtension on StaffDetailSGReviews {
   }
 }
 
-StaffDetailSGReviewsReviews $StaffDetailSGReviewsReviewsFromJson(
-    Map<String, dynamic> json) {
+StaffDetailSGReviewsReviews $StaffDetailSGReviewsReviewsFromJson(Map<String, dynamic> json) {
   final StaffDetailSGReviewsReviews staffDetailSGReviewsReviews = StaffDetailSGReviewsReviews();
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     staffDetailSGReviewsReviews.employerName = employerName;
   }
-  final String? attitudeRate = jsonConvert.convert<String>(
-      json['attitude_rate']);
+  final String? attitudeRate = jsonConvert.convert<String>(json['attitude_rate']);
   if (attitudeRate != null) {
     staffDetailSGReviewsReviews.attitudeRate = attitudeRate;
   }
-  final String? groomingRate = jsonConvert.convert<String>(
-      json['grooming_rate']);
+  final String? groomingRate = jsonConvert.convert<String>(json['grooming_rate']);
   if (groomingRate != null) {
     staffDetailSGReviewsReviews.groomingRate = groomingRate;
   }
-  final String? performanceRate = jsonConvert.convert<String>(
-      json['performance_rate']);
+  final String? performanceRate = jsonConvert.convert<String>(json['performance_rate']);
   if (performanceRate != null) {
     staffDetailSGReviewsReviews.performanceRate = performanceRate;
   }
-  final String? experienceRate = jsonConvert.convert<String>(
-      json['experience_rate']);
+  final String? experienceRate = jsonConvert.convert<String>(json['experience_rate']);
   if (experienceRate != null) {
     staffDetailSGReviewsReviews.experienceRate = experienceRate;
   }
@@ -178,8 +167,7 @@ StaffDetailSGReviewsReviews $StaffDetailSGReviewsReviewsFromJson(
   return staffDetailSGReviewsReviews;
 }
 
-Map<String, dynamic> $StaffDetailSGReviewsReviewsToJson(
-    StaffDetailSGReviewsReviews entity) {
+Map<String, dynamic> $StaffDetailSGReviewsReviewsToJson(StaffDetailSGReviewsReviews entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['employer_name'] = entity.employerName;
   data['attitude_rate'] = entity.attitudeRate;

+ 6 - 13
packages/cs_domain/lib/generated/json/staff_job_history_s_g_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/staff_job_history_s_g_entity.dart';
 
-StaffJobHistorySGEntity $StaffJobHistorySGEntityFromJson(
-    Map<String, dynamic> json) {
+StaffJobHistorySGEntity $StaffJobHistorySGEntityFromJson(Map<String, dynamic> json) {
   final StaffJobHistorySGEntity staffJobHistorySGEntity = StaffJobHistorySGEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     staffJobHistorySGEntity.total = total;
   }
-  final List<StaffJobHistorySGRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<StaffJobHistorySGRows>(e) as StaffJobHistorySGRows)
-      .toList();
+  final List<StaffJobHistorySGRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffJobHistorySGRows>(e) as StaffJobHistorySGRows).toList();
   if (rows != null) {
     staffJobHistorySGEntity.rows = rows;
   }
   return staffJobHistorySGEntity;
 }
 
-Map<String, dynamic> $StaffJobHistorySGEntityToJson(
-    StaffJobHistorySGEntity entity) {
+Map<String, dynamic> $StaffJobHistorySGEntityToJson(StaffJobHistorySGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension StaffJobHistorySGEntityExtension on StaffJobHistorySGEntity {
   }
 }
 
-StaffJobHistorySGRows $StaffJobHistorySGRowsFromJson(
-    Map<String, dynamic> json) {
+StaffJobHistorySGRows $StaffJobHistorySGRowsFromJson(Map<String, dynamic> json) {
   final StaffJobHistorySGRows staffJobHistorySGRows = StaffJobHistorySGRows();
   final String? appliedId = jsonConvert.convert<String>(json['applied_id']);
   if (appliedId != null) {
@@ -80,8 +74,7 @@ StaffJobHistorySGRows $StaffJobHistorySGRowsFromJson(
   return staffJobHistorySGRows;
 }
 
-Map<String, dynamic> $StaffJobHistorySGRowsToJson(
-    StaffJobHistorySGRows entity) {
+Map<String, dynamic> $StaffJobHistorySGRowsToJson(StaffJobHistorySGRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['job_title'] = entity.jobTitle;

+ 19 - 39
packages/cs_domain/lib/generated/json/staff_labour_history_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/staff_labour_history_entity.dart';
 
-StaffLabourHistoryEntity $StaffLabourHistoryEntityFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryEntity $StaffLabourHistoryEntityFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryEntity staffLabourHistoryEntity = StaffLabourHistoryEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     staffLabourHistoryEntity.total = total;
   }
-  final List<StaffLabourHistoryRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<StaffLabourHistoryRows>(e) as StaffLabourHistoryRows)
-      .toList();
+  final List<StaffLabourHistoryRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffLabourHistoryRows>(e) as StaffLabourHistoryRows).toList();
   if (rows != null) {
     staffLabourHistoryEntity.rows = rows;
   }
   return staffLabourHistoryEntity;
 }
 
-Map<String, dynamic> $StaffLabourHistoryEntityToJson(
-    StaffLabourHistoryEntity entity) {
+Map<String, dynamic> $StaffLabourHistoryEntityToJson(StaffLabourHistoryEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows?.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension StaffLabourHistoryEntityExtension on StaffLabourHistoryEntity {
   }
 }
 
-StaffLabourHistoryRows $StaffLabourHistoryRowsFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryRows $StaffLabourHistoryRowsFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryRows staffLabourHistoryRows = StaffLabourHistoryRows();
   final int? appliedId = jsonConvert.convert<int>(json['applied_id']);
   if (appliedId != null) {
@@ -93,8 +87,7 @@ StaffLabourHistoryRows $StaffLabourHistoryRowsFromJson(
   if (statusShow != null) {
     staffLabourHistoryRows.statusShow = statusShow;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     staffLabourHistoryRows.employerName = employerName;
   }
@@ -102,23 +95,19 @@ StaffLabourHistoryRows $StaffLabourHistoryRowsFromJson(
   if (appliedAt != null) {
     staffLabourHistoryRows.appliedAt = appliedAt;
   }
-  final StaffLabourHistoryRowsSecurityIn? securityIn = jsonConvert.convert<
-      StaffLabourHistoryRowsSecurityIn>(json['security_in']);
+  final StaffLabourHistoryRowsSecurityIn? securityIn = jsonConvert.convert<StaffLabourHistoryRowsSecurityIn>(json['security_in']);
   if (securityIn != null) {
     staffLabourHistoryRows.securityIn = securityIn;
   }
-  final StaffLabourHistoryRowsSecurityOut? securityOut = jsonConvert.convert<
-      StaffLabourHistoryRowsSecurityOut>(json['security_out']);
+  final StaffLabourHistoryRowsSecurityOut? securityOut = jsonConvert.convert<StaffLabourHistoryRowsSecurityOut>(json['security_out']);
   if (securityOut != null) {
     staffLabourHistoryRows.securityOut = securityOut;
   }
-  final StaffLabourHistoryRowsWorkIn? workIn = jsonConvert.convert<
-      StaffLabourHistoryRowsWorkIn>(json['work_in']);
+  final StaffLabourHistoryRowsWorkIn? workIn = jsonConvert.convert<StaffLabourHistoryRowsWorkIn>(json['work_in']);
   if (workIn != null) {
     staffLabourHistoryRows.workIn = workIn;
   }
-  final StaffLabourHistoryRowsWorkOut? workOut = jsonConvert.convert<
-      StaffLabourHistoryRowsWorkOut>(json['work_out']);
+  final StaffLabourHistoryRowsWorkOut? workOut = jsonConvert.convert<StaffLabourHistoryRowsWorkOut>(json['work_out']);
   if (workOut != null) {
     staffLabourHistoryRows.workOut = workOut;
   }
@@ -146,8 +135,7 @@ StaffLabourHistoryRows $StaffLabourHistoryRowsFromJson(
   return staffLabourHistoryRows;
 }
 
-Map<String, dynamic> $StaffLabourHistoryRowsToJson(
-    StaffLabourHistoryRows entity) {
+Map<String, dynamic> $StaffLabourHistoryRowsToJson(StaffLabourHistoryRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['applied_id'] = entity.appliedId;
   data['member_id'] = entity.memberId;
@@ -231,8 +219,7 @@ extension StaffLabourHistoryRowsExtension on StaffLabourHistoryRows {
   }
 }
 
-StaffLabourHistoryRowsSecurityIn $StaffLabourHistoryRowsSecurityInFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryRowsSecurityIn $StaffLabourHistoryRowsSecurityInFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryRowsSecurityIn staffLabourHistoryRowsSecurityIn = StaffLabourHistoryRowsSecurityIn();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -249,8 +236,7 @@ StaffLabourHistoryRowsSecurityIn $StaffLabourHistoryRowsSecurityInFromJson(
   return staffLabourHistoryRowsSecurityIn;
 }
 
-Map<String, dynamic> $StaffLabourHistoryRowsSecurityInToJson(
-    StaffLabourHistoryRowsSecurityIn entity) {
+Map<String, dynamic> $StaffLabourHistoryRowsSecurityInToJson(StaffLabourHistoryRowsSecurityIn entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -271,8 +257,7 @@ extension StaffLabourHistoryRowsSecurityInExtension on StaffLabourHistoryRowsSec
   }
 }
 
-StaffLabourHistoryRowsSecurityOut $StaffLabourHistoryRowsSecurityOutFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryRowsSecurityOut $StaffLabourHistoryRowsSecurityOutFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryRowsSecurityOut staffLabourHistoryRowsSecurityOut = StaffLabourHistoryRowsSecurityOut();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -289,8 +274,7 @@ StaffLabourHistoryRowsSecurityOut $StaffLabourHistoryRowsSecurityOutFromJson(
   return staffLabourHistoryRowsSecurityOut;
 }
 
-Map<String, dynamic> $StaffLabourHistoryRowsSecurityOutToJson(
-    StaffLabourHistoryRowsSecurityOut entity) {
+Map<String, dynamic> $StaffLabourHistoryRowsSecurityOutToJson(StaffLabourHistoryRowsSecurityOut entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -311,8 +295,7 @@ extension StaffLabourHistoryRowsSecurityOutExtension on StaffLabourHistoryRowsSe
   }
 }
 
-StaffLabourHistoryRowsWorkIn $StaffLabourHistoryRowsWorkInFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryRowsWorkIn $StaffLabourHistoryRowsWorkInFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryRowsWorkIn staffLabourHistoryRowsWorkIn = StaffLabourHistoryRowsWorkIn();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -329,8 +312,7 @@ StaffLabourHistoryRowsWorkIn $StaffLabourHistoryRowsWorkInFromJson(
   return staffLabourHistoryRowsWorkIn;
 }
 
-Map<String, dynamic> $StaffLabourHistoryRowsWorkInToJson(
-    StaffLabourHistoryRowsWorkIn entity) {
+Map<String, dynamic> $StaffLabourHistoryRowsWorkInToJson(StaffLabourHistoryRowsWorkIn entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;
@@ -351,8 +333,7 @@ extension StaffLabourHistoryRowsWorkInExtension on StaffLabourHistoryRowsWorkIn
   }
 }
 
-StaffLabourHistoryRowsWorkOut $StaffLabourHistoryRowsWorkOutFromJson(
-    Map<String, dynamic> json) {
+StaffLabourHistoryRowsWorkOut $StaffLabourHistoryRowsWorkOutFromJson(Map<String, dynamic> json) {
   final StaffLabourHistoryRowsWorkOut staffLabourHistoryRowsWorkOut = StaffLabourHistoryRowsWorkOut();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -369,8 +350,7 @@ StaffLabourHistoryRowsWorkOut $StaffLabourHistoryRowsWorkOutFromJson(
   return staffLabourHistoryRowsWorkOut;
 }
 
-Map<String, dynamic> $StaffLabourHistoryRowsWorkOutToJson(
-    StaffLabourHistoryRowsWorkOut entity) {
+Map<String, dynamic> $StaffLabourHistoryRowsWorkOutToJson(StaffLabourHistoryRowsWorkOut entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['image'] = entity.image;

+ 10 - 21
packages/cs_domain/lib/generated/json/staff_remark_history_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/staff_remark_history_entity.dart';
 
-StaffRemarkHistoryEntity $StaffRemarkHistoryEntityFromJson(
-    Map<String, dynamic> json) {
+StaffRemarkHistoryEntity $StaffRemarkHistoryEntityFromJson(Map<String, dynamic> json) {
   final StaffRemarkHistoryEntity staffRemarkHistoryEntity = StaffRemarkHistoryEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     staffRemarkHistoryEntity.total = total;
   }
-  final List<StaffRemarkHistoryRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<StaffRemarkHistoryRows>(e) as StaffRemarkHistoryRows)
-      .toList();
+  final List<StaffRemarkHistoryRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffRemarkHistoryRows>(e) as StaffRemarkHistoryRows).toList();
   if (rows != null) {
     staffRemarkHistoryEntity.rows = rows;
   }
   return staffRemarkHistoryEntity;
 }
 
-Map<String, dynamic> $StaffRemarkHistoryEntityToJson(
-    StaffRemarkHistoryEntity entity) {
+Map<String, dynamic> $StaffRemarkHistoryEntityToJson(StaffRemarkHistoryEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows?.map((v) => v.toJson()).toList();
@@ -38,30 +33,25 @@ extension StaffRemarkHistoryEntityExtension on StaffRemarkHistoryEntity {
   }
 }
 
-StaffRemarkHistoryRows $StaffRemarkHistoryRowsFromJson(
-    Map<String, dynamic> json) {
+StaffRemarkHistoryRows $StaffRemarkHistoryRowsFromJson(Map<String, dynamic> json) {
   final StaffRemarkHistoryRows staffRemarkHistoryRows = StaffRemarkHistoryRows();
   final String? company = jsonConvert.convert<String>(json['company']);
   if (company != null) {
     staffRemarkHistoryRows.company = company;
   }
-  final double? attitudeRate = jsonConvert.convert<double>(
-      json['attitude_rate']);
+  final double? attitudeRate = jsonConvert.convert<double>(json['attitude_rate']);
   if (attitudeRate != null) {
     staffRemarkHistoryRows.attitudeRate = attitudeRate;
   }
-  final double? groomingRate = jsonConvert.convert<double>(
-      json['grooming_rate']);
+  final double? groomingRate = jsonConvert.convert<double>(json['grooming_rate']);
   if (groomingRate != null) {
     staffRemarkHistoryRows.groomingRate = groomingRate;
   }
-  final double? performanceRate = jsonConvert.convert<double>(
-      json['performance_rate']);
+  final double? performanceRate = jsonConvert.convert<double>(json['performance_rate']);
   if (performanceRate != null) {
     staffRemarkHistoryRows.performanceRate = performanceRate;
   }
-  final double? experienceRate = jsonConvert.convert<double>(
-      json['experience_rate']);
+  final double? experienceRate = jsonConvert.convert<double>(json['experience_rate']);
   if (experienceRate != null) {
     staffRemarkHistoryRows.experienceRate = experienceRate;
   }
@@ -76,8 +66,7 @@ StaffRemarkHistoryRows $StaffRemarkHistoryRowsFromJson(
   return staffRemarkHistoryRows;
 }
 
-Map<String, dynamic> $StaffRemarkHistoryRowsToJson(
-    StaffRemarkHistoryRows entity) {
+Map<String, dynamic> $StaffRemarkHistoryRowsToJson(StaffRemarkHistoryRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['company'] = entity.company;
   data['attitude_rate'] = entity.attitudeRate;

+ 2 - 6
packages/cs_domain/lib/generated/json/staff_report_v_n_entity.g.dart

@@ -13,12 +13,8 @@ StaffReportVNEntity $StaffReportVNEntityFromJson(Map<String, dynamic> json) {
   if (endDate != null) {
     staffReportVNEntity.endDate = endDate;
   }
-  final List<
-      StaffRequestReportEntity>? requestList = (json['request_list'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<StaffRequestReportEntity>(
-          e) as StaffRequestReportEntity).toList();
+  final List<StaffRequestReportEntity>? requestList = (json['request_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffRequestReportEntity>(e) as StaffRequestReportEntity).toList();
   if (requestList != null) {
     staffReportVNEntity.requestList = requestList;
   }

+ 2 - 4
packages/cs_domain/lib/generated/json/staff_request_report_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/staff_request_report_entity.dart';
 
-StaffRequestReportEntity $StaffRequestReportEntityFromJson(
-    Map<String, dynamic> json) {
+StaffRequestReportEntity $StaffRequestReportEntityFromJson(Map<String, dynamic> json) {
   final StaffRequestReportEntity staffRequestReportEntity = StaffRequestReportEntity();
   final String? name = jsonConvert.convert<String>(json['name']);
   if (name != null) {
@@ -23,8 +22,7 @@ StaffRequestReportEntity $StaffRequestReportEntityFromJson(
   return staffRequestReportEntity;
 }
 
-Map<String, dynamic> $StaffRequestReportEntityToJson(
-    StaffRequestReportEntity entity) {
+Map<String, dynamic> $StaffRequestReportEntityToJson(StaffRequestReportEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['name'] = entity.name;
   data['num'] = entity.num;

+ 12 - 25
packages/cs_domain/lib/generated/json/staff_review_history_s_g_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/staff_review_history_s_g_entity.dart';
 
-StaffReviewHistorySGEntity $StaffReviewHistorySGEntityFromJson(
-    Map<String, dynamic> json) {
+StaffReviewHistorySGEntity $StaffReviewHistorySGEntityFromJson(Map<String, dynamic> json) {
   final StaffReviewHistorySGEntity staffReviewHistorySGEntity = StaffReviewHistorySGEntity();
   final int? count = jsonConvert.convert<int>(json['count']);
   if (count != null) {
@@ -12,11 +11,8 @@ StaffReviewHistorySGEntity $StaffReviewHistorySGEntityFromJson(
   if (avgScore != null) {
     staffReviewHistorySGEntity.avgScore = avgScore;
   }
-  final List<StaffReviewHistorySGReviews>? reviews = (json['reviews'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<StaffReviewHistorySGReviews>(
-          e) as StaffReviewHistorySGReviews).toList();
+  final List<StaffReviewHistorySGReviews>? reviews = (json['reviews'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<StaffReviewHistorySGReviews>(e) as StaffReviewHistorySGReviews).toList();
   if (reviews != null) {
     staffReviewHistorySGEntity.reviews = reviews;
   }
@@ -24,16 +20,14 @@ StaffReviewHistorySGEntity $StaffReviewHistorySGEntityFromJson(
   if (memberId != null) {
     staffReviewHistorySGEntity.memberId = memberId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     staffReviewHistorySGEntity.labourerName = labourerName;
   }
   return staffReviewHistorySGEntity;
 }
 
-Map<String, dynamic> $StaffReviewHistorySGEntityToJson(
-    StaffReviewHistorySGEntity entity) {
+Map<String, dynamic> $StaffReviewHistorySGEntityToJson(StaffReviewHistorySGEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['count'] = entity.count;
   data['avg_score'] = entity.avgScore;
@@ -60,31 +54,25 @@ extension StaffReviewHistorySGEntityExtension on StaffReviewHistorySGEntity {
   }
 }
 
-StaffReviewHistorySGReviews $StaffReviewHistorySGReviewsFromJson(
-    Map<String, dynamic> json) {
+StaffReviewHistorySGReviews $StaffReviewHistorySGReviewsFromJson(Map<String, dynamic> json) {
   final StaffReviewHistorySGReviews staffReviewHistorySGReviews = StaffReviewHistorySGReviews();
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     staffReviewHistorySGReviews.employerName = employerName;
   }
-  final double? attitudeRate = jsonConvert.convert<double>(
-      json['attitude_rate']);
+  final double? attitudeRate = jsonConvert.convert<double>(json['attitude_rate']);
   if (attitudeRate != null) {
     staffReviewHistorySGReviews.attitudeRate = attitudeRate;
   }
-  final double? groomingRate = jsonConvert.convert<double>(
-      json['grooming_rate']);
+  final double? groomingRate = jsonConvert.convert<double>(json['grooming_rate']);
   if (groomingRate != null) {
     staffReviewHistorySGReviews.groomingRate = groomingRate;
   }
-  final double? performanceRate = jsonConvert.convert<double>(
-      json['performance_rate']);
+  final double? performanceRate = jsonConvert.convert<double>(json['performance_rate']);
   if (performanceRate != null) {
     staffReviewHistorySGReviews.performanceRate = performanceRate;
   }
-  final double? experienceRate = jsonConvert.convert<double>(
-      json['experience_rate']);
+  final double? experienceRate = jsonConvert.convert<double>(json['experience_rate']);
   if (experienceRate != null) {
     staffReviewHistorySGReviews.experienceRate = experienceRate;
   }
@@ -99,8 +87,7 @@ StaffReviewHistorySGReviews $StaffReviewHistorySGReviewsFromJson(
   return staffReviewHistorySGReviews;
 }
 
-Map<String, dynamic> $StaffReviewHistorySGReviewsToJson(
-    StaffReviewHistorySGReviews entity) {
+Map<String, dynamic> $StaffReviewHistorySGReviewsToJson(StaffReviewHistorySGReviews entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['employer_name'] = entity.employerName;
   data['attitude_rate'] = entity.attitudeRate;

+ 7 - 16
packages/cs_domain/lib/generated/json/switch_project_entity.g.dart

@@ -5,19 +5,13 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 SwitchProjectEntity $SwitchProjectEntityFromJson(Map<String, dynamic> json) {
   final SwitchProjectEntity switchProjectEntity = SwitchProjectEntity();
-  final List<IndexOptionEntity>? cutUser = (json['cut_user'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? cutUser = (json['cut_user'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (cutUser != null) {
     switchProjectEntity.cutUser = cutUser;
   }
-  final List<SwitchProjectUserList>? userList = (json['user_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<SwitchProjectUserList>(e) as SwitchProjectUserList)
-      .toList();
+  final List<SwitchProjectUserList>? userList = (json['user_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<SwitchProjectUserList>(e) as SwitchProjectUserList).toList();
   if (userList != null) {
     switchProjectEntity.userList = userList;
   }
@@ -42,8 +36,7 @@ extension SwitchProjectEntityExtension on SwitchProjectEntity {
   }
 }
 
-SwitchProjectUserList $SwitchProjectUserListFromJson(
-    Map<String, dynamic> json) {
+SwitchProjectUserList $SwitchProjectUserListFromJson(Map<String, dynamic> json) {
   final SwitchProjectUserList switchProjectUserList = SwitchProjectUserList();
   final String? adminId = jsonConvert.convert<String>(json['admin_id']);
   if (adminId != null) {
@@ -53,16 +46,14 @@ SwitchProjectUserList $SwitchProjectUserListFromJson(
   if (adminName != null) {
     switchProjectUserList.adminName = adminName;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     switchProjectUserList.employerName = employerName;
   }
   return switchProjectUserList;
 }
 
-Map<String, dynamic> $SwitchProjectUserListToJson(
-    SwitchProjectUserList entity) {
+Map<String, dynamic> $SwitchProjectUserListToJson(SwitchProjectUserList entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['admin_id'] = entity.adminId;
   data['admin_name'] = entity.adminName;

+ 20 - 42
packages/cs_domain/lib/generated/json/t_h_applied_edit_entity.g.dart

@@ -5,8 +5,7 @@ import 'package:domain/entity/response/index_option_entity.dart';
 
 THAppliedEditEntity $THAppliedEditEntityFromJson(Map<String, dynamic> json) {
   final THAppliedEditEntity tHAppliedEditEntity = THAppliedEditEntity();
-  final THAppliedEditApplied? applied = jsonConvert.convert<
-      THAppliedEditApplied>(json['applied']);
+  final THAppliedEditApplied? applied = jsonConvert.convert<THAppliedEditApplied>(json['applied']);
   if (applied != null) {
     tHAppliedEditEntity.applied = applied;
   }
@@ -30,8 +29,7 @@ THAppliedEditEntity $THAppliedEditEntityFromJson(Map<String, dynamic> json) {
   if (endTime != null) {
     tHAppliedEditEntity.endTime = endTime;
   }
-  final String? defaultStart = jsonConvert.convert<String>(
-      json['default_start']);
+  final String? defaultStart = jsonConvert.convert<String>(json['default_start']);
   if (defaultStart != null) {
     tHAppliedEditEntity.defaultStart = defaultStart;
   }
@@ -43,8 +41,7 @@ THAppliedEditEntity $THAppliedEditEntityFromJson(Map<String, dynamic> json) {
   if (securityIn != null) {
     tHAppliedEditEntity.securityIn = securityIn;
   }
-  final String? defSecurityIn = jsonConvert.convert<String>(
-      json['def_security_in']);
+  final String? defSecurityIn = jsonConvert.convert<String>(json['def_security_in']);
   if (defSecurityIn != null) {
     tHAppliedEditEntity.defSecurityIn = defSecurityIn;
   }
@@ -52,8 +49,7 @@ THAppliedEditEntity $THAppliedEditEntityFromJson(Map<String, dynamic> json) {
   if (securityOut != null) {
     tHAppliedEditEntity.securityOut = securityOut;
   }
-  final String? defSecurityOut = jsonConvert.convert<String>(
-      json['def_security_out']);
+  final String? defSecurityOut = jsonConvert.convert<String>(json['def_security_out']);
   if (defSecurityOut != null) {
     tHAppliedEditEntity.defSecurityOut = defSecurityOut;
   }
@@ -77,31 +73,22 @@ THAppliedEditEntity $THAppliedEditEntityFromJson(Map<String, dynamic> json) {
   if (adjustHours != null) {
     tHAppliedEditEntity.adjustHours = adjustHours;
   }
-  final String? subtractHours = jsonConvert.convert<String>(
-      json['subtract_hours']);
+  final String? subtractHours = jsonConvert.convert<String>(json['subtract_hours']);
   if (subtractHours != null) {
     tHAppliedEditEntity.subtractHours = subtractHours;
   }
-  final List<String>? ballroomList = (json['ballroom_list'] as List<dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<String>(e) as String)
-      .toList();
+  final List<String>? ballroomList = (json['ballroom_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<String>(e) as String).toList();
   if (ballroomList != null) {
     tHAppliedEditEntity.ballroomList = ballroomList;
   }
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     tHAppliedEditEntity.statusList = statusList;
   }
-  final List<IndexOptionEntity>? reasonList = (json['reason_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? reasonList = (json['reason_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (reasonList != null) {
     tHAppliedEditEntity.reasonList = reasonList;
   }
@@ -205,13 +192,11 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (labourerId != null) {
     tHAppliedEditApplied.labourerId = labourerId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     tHAppliedEditApplied.labourerName = labourerName;
   }
-  final String? labourerNric = jsonConvert.convert<String>(
-      json['labourer_nric']);
+  final String? labourerNric = jsonConvert.convert<String>(json['labourer_nric']);
   if (labourerNric != null) {
     tHAppliedEditApplied.labourerNric = labourerNric;
   }
@@ -223,8 +208,7 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (employerId != null) {
     tHAppliedEditApplied.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     tHAppliedEditApplied.employerName = employerName;
   }
@@ -252,8 +236,7 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (ballroomId != null) {
     tHAppliedEditApplied.ballroomId = ballroomId;
   }
-  final String? ballroomName = jsonConvert.convert<String>(
-      json['ballroom_name']);
+  final String? ballroomName = jsonConvert.convert<String>(json['ballroom_name']);
   if (ballroomName != null) {
     tHAppliedEditApplied.ballroomName = ballroomName;
   }
@@ -269,8 +252,7 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (endTime != null) {
     tHAppliedEditApplied.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     tHAppliedEditApplied.workingHours = workingHours;
   }
@@ -290,13 +272,11 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (grossWage != null) {
     tHAppliedEditApplied.grossWage = grossWage;
   }
-  final int? securityClockIn = jsonConvert.convert<int>(
-      json['security_clock_in']);
+  final int? securityClockIn = jsonConvert.convert<int>(json['security_clock_in']);
   if (securityClockIn != null) {
     tHAppliedEditApplied.securityClockIn = securityClockIn;
   }
-  final int? securityClockOut = jsonConvert.convert<int>(
-      json['security_clock_out']);
+  final int? securityClockOut = jsonConvert.convert<int>(json['security_clock_out']);
   if (securityClockOut != null) {
     tHAppliedEditApplied.securityClockOut = securityClockOut;
   }
@@ -412,13 +392,11 @@ THAppliedEditApplied $THAppliedEditAppliedFromJson(Map<String, dynamic> json) {
   if (reviseHours != null) {
     tHAppliedEditApplied.reviseHours = reviseHours;
   }
-  final String? reviseGrossWage = jsonConvert.convert<String>(
-      json['revise_gross_wage']);
+  final String? reviseGrossWage = jsonConvert.convert<String>(json['revise_gross_wage']);
   if (reviseGrossWage != null) {
     tHAppliedEditApplied.reviseGrossWage = reviseGrossWage;
   }
-  final String? reviseAgencyWage = jsonConvert.convert<String>(
-      json['revise_agency_wage']);
+  final String? reviseAgencyWage = jsonConvert.convert<String>(json['revise_agency_wage']);
   if (reviseAgencyWage != null) {
     tHAppliedEditApplied.reviseAgencyWage = reviseAgencyWage;
   }

+ 7 - 15
packages/cs_domain/lib/generated/json/t_h_applied_employee_entity.g.dart

@@ -1,26 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/t_h_applied_employee_entity.dart';
 
-THAppliedEmployeeEntity $THAppliedEmployeeEntityFromJson(
-    Map<String, dynamic> json) {
+THAppliedEmployeeEntity $THAppliedEmployeeEntityFromJson(Map<String, dynamic> json) {
   final THAppliedEmployeeEntity tHAppliedEmployeeEntity = THAppliedEmployeeEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     tHAppliedEmployeeEntity.total = total;
   }
-  final List<THAppliedEmployeeRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<THAppliedEmployeeRows>(e) as THAppliedEmployeeRows)
-      .toList();
+  final List<THAppliedEmployeeRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<THAppliedEmployeeRows>(e) as THAppliedEmployeeRows).toList();
   if (rows != null) {
     tHAppliedEmployeeEntity.rows = rows;
   }
   return tHAppliedEmployeeEntity;
 }
 
-Map<String, dynamic> $THAppliedEmployeeEntityToJson(
-    THAppliedEmployeeEntity entity) {
+Map<String, dynamic> $THAppliedEmployeeEntityToJson(THAppliedEmployeeEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -38,8 +33,7 @@ extension THAppliedEmployeeEntityExtension on THAppliedEmployeeEntity {
   }
 }
 
-THAppliedEmployeeRows $THAppliedEmployeeRowsFromJson(
-    Map<String, dynamic> json) {
+THAppliedEmployeeRows $THAppliedEmployeeRowsFromJson(Map<String, dynamic> json) {
   final THAppliedEmployeeRows tHAppliedEmployeeRows = THAppliedEmployeeRows();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -61,8 +55,7 @@ THAppliedEmployeeRows $THAppliedEmployeeRowsFromJson(
   if (nric != null) {
     tHAppliedEmployeeRows.nric = nric;
   }
-  final String? profilePicture = jsonConvert.convert<String>(
-      json['profile_picture']);
+  final String? profilePicture = jsonConvert.convert<String>(json['profile_picture']);
   if (profilePicture != null) {
     tHAppliedEmployeeRows.profilePicture = profilePicture;
   }
@@ -81,8 +74,7 @@ THAppliedEmployeeRows $THAppliedEmployeeRowsFromJson(
   return tHAppliedEmployeeRows;
 }
 
-Map<String, dynamic> $THAppliedEmployeeRowsToJson(
-    THAppliedEmployeeRows entity) {
+Map<String, dynamic> $THAppliedEmployeeRowsToJson(THAppliedEmployeeRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['name'] = entity.name;

+ 5 - 11
packages/cs_domain/lib/generated/json/t_h_applied_index_entity.g.dart

@@ -9,16 +9,12 @@ THAppliedIndexEntity $THAppliedIndexEntityFromJson(Map<String, dynamic> json) {
   if (jobId != null) {
     tHAppliedIndexEntity.jobId = jobId;
   }
-  final THAppliedIndexJob? job = jsonConvert.convert<THAppliedIndexJob>(
-      json['job']);
+  final THAppliedIndexJob? job = jsonConvert.convert<THAppliedIndexJob>(json['job']);
   if (job != null) {
     tHAppliedIndexEntity.job = job;
   }
-  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? statusList = (json['status_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (statusList != null) {
     tHAppliedIndexEntity.statusList = statusList;
   }
@@ -84,8 +80,7 @@ THAppliedIndexJob $THAppliedIndexJobFromJson(Map<String, dynamic> json) {
   if (employerId != null) {
     tHAppliedIndexJob.employerId = employerId;
   }
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     tHAppliedIndexJob.employerName = employerName;
   }
@@ -133,8 +128,7 @@ THAppliedIndexJob $THAppliedIndexJobFromJson(Map<String, dynamic> json) {
   if (endTime != null) {
     tHAppliedIndexJob.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     tHAppliedIndexJob.workingHours = workingHours;
   }

+ 14 - 29
packages/cs_domain/lib/generated/json/t_h_applied_table_entity.g.dart

@@ -7,11 +7,8 @@ THAppliedTableEntity $THAppliedTableEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     tHAppliedTableEntity.total = total;
   }
-  final List<THAppliedTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<THAppliedTableRows>(e) as THAppliedTableRows)
-      .toList();
+  final List<THAppliedTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<THAppliedTableRows>(e) as THAppliedTableRows).toList();
   if (rows != null) {
     tHAppliedTableEntity.rows = rows;
   }
@@ -62,18 +59,15 @@ THAppliedTableRows $THAppliedTableRowsFromJson(Map<String, dynamic> json) {
   if (outletName != null) {
     tHAppliedTableRows.outletName = outletName;
   }
-  final String? ballroomName = jsonConvert.convert<String>(
-      json['ballroom_name']);
+  final String? ballroomName = jsonConvert.convert<String>(json['ballroom_name']);
   if (ballroomName != null) {
     tHAppliedTableRows.ballroomName = ballroomName;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     tHAppliedTableRows.labourerName = labourerName;
   }
-  final String? labourerNric = jsonConvert.convert<String>(
-      json['labourer_nric']);
+  final String? labourerNric = jsonConvert.convert<String>(json['labourer_nric']);
   if (labourerNric != null) {
     tHAppliedTableRows.labourerNric = labourerNric;
   }
@@ -93,8 +87,7 @@ THAppliedTableRows $THAppliedTableRowsFromJson(Map<String, dynamic> json) {
   if (adjustHours != null) {
     tHAppliedTableRows.adjustHours = adjustHours;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     tHAppliedTableRows.workingHours = workingHours;
   }
@@ -114,28 +107,23 @@ THAppliedTableRows $THAppliedTableRowsFromJson(Map<String, dynamic> json) {
   if (hourlyRate != null) {
     tHAppliedTableRows.hourlyRate = hourlyRate;
   }
-  final String? remarkStatus = jsonConvert.convert<String>(
-      json['remark_status']);
+  final String? remarkStatus = jsonConvert.convert<String>(json['remark_status']);
   if (remarkStatus != null) {
     tHAppliedTableRows.remarkStatus = remarkStatus;
   }
-  final THAppliedTableCheckInOut? securityIn = jsonConvert.convert<
-      THAppliedTableCheckInOut>(json['security_in']);
+  final THAppliedTableCheckInOut? securityIn = jsonConvert.convert<THAppliedTableCheckInOut>(json['security_in']);
   if (securityIn != null) {
     tHAppliedTableRows.securityIn = securityIn;
   }
-  final THAppliedTableCheckInOut? securityOut = jsonConvert.convert<
-      THAppliedTableCheckInOut>(json['security_out']);
+  final THAppliedTableCheckInOut? securityOut = jsonConvert.convert<THAppliedTableCheckInOut>(json['security_out']);
   if (securityOut != null) {
     tHAppliedTableRows.securityOut = securityOut;
   }
-  final THAppliedTableCheckInOut? workIn = jsonConvert.convert<
-      THAppliedTableCheckInOut>(json['work_in']);
+  final THAppliedTableCheckInOut? workIn = jsonConvert.convert<THAppliedTableCheckInOut>(json['work_in']);
   if (workIn != null) {
     tHAppliedTableRows.workIn = workIn;
   }
-  final THAppliedTableCheckInOut? workOut = jsonConvert.convert<
-      THAppliedTableCheckInOut>(json['work_out']);
+  final THAppliedTableCheckInOut? workOut = jsonConvert.convert<THAppliedTableCheckInOut>(json['work_out']);
   if (workOut != null) {
     tHAppliedTableRows.workOut = workOut;
   }
@@ -163,8 +151,7 @@ THAppliedTableRows $THAppliedTableRowsFromJson(Map<String, dynamic> json) {
   if (reviseHours != null) {
     tHAppliedTableRows.reviseHours = reviseHours;
   }
-  final String? clothingSize = jsonConvert.convert<String>(
-      json['clothing_size']);
+  final String? clothingSize = jsonConvert.convert<String>(json['clothing_size']);
   if (clothingSize != null) {
     tHAppliedTableRows.clothingSize = clothingSize;
   }
@@ -280,8 +267,7 @@ extension THAppliedTableRowsExtension on THAppliedTableRows {
   }
 }
 
-THAppliedTableCheckInOut $THAppliedTableCheckInOutFromJson(
-    Map<String, dynamic> json) {
+THAppliedTableCheckInOut $THAppliedTableCheckInOutFromJson(Map<String, dynamic> json) {
   final THAppliedTableCheckInOut tHAppliedTableCheckInOut = THAppliedTableCheckInOut();
   final String? time = jsonConvert.convert<String>(json['time']);
   if (time != null) {
@@ -302,8 +288,7 @@ THAppliedTableCheckInOut $THAppliedTableCheckInOutFromJson(
   return tHAppliedTableCheckInOut;
 }
 
-Map<String, dynamic> $THAppliedTableCheckInOutToJson(
-    THAppliedTableCheckInOut entity) {
+Map<String, dynamic> $THAppliedTableCheckInOutToJson(THAppliedTableCheckInOut entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['time'] = entity.time;
   data['temp'] = entity.temp;

+ 14 - 28
packages/cs_domain/lib/generated/json/t_h_employee_detail_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/t_h_employee_detail_entity.dart';
 
-THEmployeeDetailEntity $THEmployeeDetailEntityFromJson(
-    Map<String, dynamic> json) {
+THEmployeeDetailEntity $THEmployeeDetailEntityFromJson(Map<String, dynamic> json) {
   final THEmployeeDetailEntity tHEmployeeDetailEntity = THEmployeeDetailEntity();
   final String? memberId = jsonConvert.convert<String>(json['member_id']);
   if (memberId != null) {
@@ -12,8 +11,7 @@ THEmployeeDetailEntity $THEmployeeDetailEntityFromJson(
   if (staffId != null) {
     tHEmployeeDetailEntity.staffId = staffId;
   }
-  final THEmployeeDetailStaff? staff = jsonConvert.convert<
-      THEmployeeDetailStaff>(json['staff']);
+  final THEmployeeDetailStaff? staff = jsonConvert.convert<THEmployeeDetailStaff>(json['staff']);
   if (staff != null) {
     tHEmployeeDetailEntity.staff = staff;
   }
@@ -41,21 +39,18 @@ THEmployeeDetailEntity $THEmployeeDetailEntityFromJson(
   if (hourlyRate != null) {
     tHEmployeeDetailEntity.hourlyRate = hourlyRate;
   }
-  final String? clothingSize = jsonConvert.convert<String>(
-      json['clothing_size']);
+  final String? clothingSize = jsonConvert.convert<String>(json['clothing_size']);
   if (clothingSize != null) {
     tHEmployeeDetailEntity.clothingSize = clothingSize;
   }
-  final THEmployeeDetailReviews? reviews = jsonConvert.convert<
-      THEmployeeDetailReviews>(json['reviews']);
+  final THEmployeeDetailReviews? reviews = jsonConvert.convert<THEmployeeDetailReviews>(json['reviews']);
   if (reviews != null) {
     tHEmployeeDetailEntity.reviews = reviews;
   }
   return tHEmployeeDetailEntity;
 }
 
-Map<String, dynamic> $THEmployeeDetailEntityToJson(
-    THEmployeeDetailEntity entity) {
+Map<String, dynamic> $THEmployeeDetailEntityToJson(THEmployeeDetailEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['member_id'] = entity.memberId;
   data['staff_id'] = entity.staffId;
@@ -100,8 +95,7 @@ extension THEmployeeDetailEntityExtension on THEmployeeDetailEntity {
   }
 }
 
-THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(
-    Map<String, dynamic> json) {
+THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(Map<String, dynamic> json) {
   final THEmployeeDetailStaff tHEmployeeDetailStaff = THEmployeeDetailStaff();
   final String? id = jsonConvert.convert<String>(json['id']);
   if (id != null) {
@@ -123,8 +117,7 @@ THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(
   if (nric != null) {
     tHEmployeeDetailStaff.nric = nric;
   }
-  final String? profilePicture = jsonConvert.convert<String>(
-      json['profile_picture']);
+  final String? profilePicture = jsonConvert.convert<String>(json['profile_picture']);
   if (profilePicture != null) {
     tHEmployeeDetailStaff.profilePicture = profilePicture;
   }
@@ -148,8 +141,7 @@ THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(
   if (password != null) {
     tHEmployeeDetailStaff.password = password;
   }
-  final String? defaultStaff = jsonConvert.convert<String>(
-      json['default_staff']);
+  final String? defaultStaff = jsonConvert.convert<String>(json['default_staff']);
   if (defaultStaff != null) {
     tHEmployeeDetailStaff.defaultStaff = defaultStaff;
   }
@@ -165,13 +157,11 @@ THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(
   if (foodHygiene != null) {
     tHEmployeeDetailStaff.foodHygiene = foodHygiene;
   }
-  final String? criminalFile = jsonConvert.convert<String>(
-      json['criminal_file']);
+  final String? criminalFile = jsonConvert.convert<String>(json['criminal_file']);
   if (criminalFile != null) {
     tHEmployeeDetailStaff.criminalFile = criminalFile;
   }
-  final String? criminalDate = jsonConvert.convert<String>(
-      json['criminal_date']);
+  final String? criminalDate = jsonConvert.convert<String>(json['criminal_date']);
   if (criminalDate != null) {
     tHEmployeeDetailStaff.criminalDate = criminalDate;
   }
@@ -183,16 +173,14 @@ THEmployeeDetailStaff $THEmployeeDetailStaffFromJson(
   if (ownStaffId != null) {
     tHEmployeeDetailStaff.ownStaffId = ownStaffId;
   }
-  final String? clothingSize = jsonConvert.convert<String>(
-      json['clothing_size']);
+  final String? clothingSize = jsonConvert.convert<String>(json['clothing_size']);
   if (clothingSize != null) {
     tHEmployeeDetailStaff.clothingSize = clothingSize;
   }
   return tHEmployeeDetailStaff;
 }
 
-Map<String, dynamic> $THEmployeeDetailStaffToJson(
-    THEmployeeDetailStaff entity) {
+Map<String, dynamic> $THEmployeeDetailStaffToJson(THEmployeeDetailStaff entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['name'] = entity.name;
@@ -264,8 +252,7 @@ extension THEmployeeDetailStaffExtension on THEmployeeDetailStaff {
   }
 }
 
-THEmployeeDetailReviews $THEmployeeDetailReviewsFromJson(
-    Map<String, dynamic> json) {
+THEmployeeDetailReviews $THEmployeeDetailReviewsFromJson(Map<String, dynamic> json) {
   final THEmployeeDetailReviews tHEmployeeDetailReviews = THEmployeeDetailReviews();
   final String? count = jsonConvert.convert<String>(json['count']);
   if (count != null) {
@@ -278,8 +265,7 @@ THEmployeeDetailReviews $THEmployeeDetailReviewsFromJson(
   return tHEmployeeDetailReviews;
 }
 
-Map<String, dynamic> $THEmployeeDetailReviewsToJson(
-    THEmployeeDetailReviews entity) {
+Map<String, dynamic> $THEmployeeDetailReviewsToJson(THEmployeeDetailReviews entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['count'] = entity.count;
   data['avg_score'] = entity.avgScore;

+ 12 - 25
packages/cs_domain/lib/generated/json/t_h_employee_remarks_entity.g.dart

@@ -1,8 +1,7 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/t_h_employee_remarks_entity.dart';
 
-THEmployeeRemarksEntity $THEmployeeRemarksEntityFromJson(
-    Map<String, dynamic> json) {
+THEmployeeRemarksEntity $THEmployeeRemarksEntityFromJson(Map<String, dynamic> json) {
   final THEmployeeRemarksEntity tHEmployeeRemarksEntity = THEmployeeRemarksEntity();
   final int? count = jsonConvert.convert<int>(json['count']);
   if (count != null) {
@@ -12,11 +11,8 @@ THEmployeeRemarksEntity $THEmployeeRemarksEntityFromJson(
   if (avgScore != null) {
     tHEmployeeRemarksEntity.avgScore = avgScore;
   }
-  final List<THEmployeeRemarksReviews>? reviews = (json['reviews'] as List<
-      dynamic>?)?.map(
-          (e) =>
-      jsonConvert.convert<THEmployeeRemarksReviews>(
-          e) as THEmployeeRemarksReviews).toList();
+  final List<THEmployeeRemarksReviews>? reviews = (json['reviews'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<THEmployeeRemarksReviews>(e) as THEmployeeRemarksReviews).toList();
   if (reviews != null) {
     tHEmployeeRemarksEntity.reviews = reviews;
   }
@@ -24,16 +20,14 @@ THEmployeeRemarksEntity $THEmployeeRemarksEntityFromJson(
   if (memberId != null) {
     tHEmployeeRemarksEntity.memberId = memberId;
   }
-  final String? labourerName = jsonConvert.convert<String>(
-      json['labourer_name']);
+  final String? labourerName = jsonConvert.convert<String>(json['labourer_name']);
   if (labourerName != null) {
     tHEmployeeRemarksEntity.labourerName = labourerName;
   }
   return tHEmployeeRemarksEntity;
 }
 
-Map<String, dynamic> $THEmployeeRemarksEntityToJson(
-    THEmployeeRemarksEntity entity) {
+Map<String, dynamic> $THEmployeeRemarksEntityToJson(THEmployeeRemarksEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['count'] = entity.count;
   data['avg_score'] = entity.avgScore;
@@ -60,31 +54,25 @@ extension THEmployeeRemarksEntityExtension on THEmployeeRemarksEntity {
   }
 }
 
-THEmployeeRemarksReviews $THEmployeeRemarksReviewsFromJson(
-    Map<String, dynamic> json) {
+THEmployeeRemarksReviews $THEmployeeRemarksReviewsFromJson(Map<String, dynamic> json) {
   final THEmployeeRemarksReviews tHEmployeeRemarksReviews = THEmployeeRemarksReviews();
-  final String? employerName = jsonConvert.convert<String>(
-      json['employer_name']);
+  final String? employerName = jsonConvert.convert<String>(json['employer_name']);
   if (employerName != null) {
     tHEmployeeRemarksReviews.employerName = employerName;
   }
-  final double? attitudeRate = jsonConvert.convert<double>(
-      json['attitude_rate']);
+  final double? attitudeRate = jsonConvert.convert<double>(json['attitude_rate']);
   if (attitudeRate != null) {
     tHEmployeeRemarksReviews.attitudeRate = attitudeRate;
   }
-  final double? groomingRate = jsonConvert.convert<double>(
-      json['grooming_rate']);
+  final double? groomingRate = jsonConvert.convert<double>(json['grooming_rate']);
   if (groomingRate != null) {
     tHEmployeeRemarksReviews.groomingRate = groomingRate;
   }
-  final double? performanceRate = jsonConvert.convert<double>(
-      json['performance_rate']);
+  final double? performanceRate = jsonConvert.convert<double>(json['performance_rate']);
   if (performanceRate != null) {
     tHEmployeeRemarksReviews.performanceRate = performanceRate;
   }
-  final double? experienceRate = jsonConvert.convert<double>(
-      json['experience_rate']);
+  final double? experienceRate = jsonConvert.convert<double>(json['experience_rate']);
   if (experienceRate != null) {
     tHEmployeeRemarksReviews.experienceRate = experienceRate;
   }
@@ -99,8 +87,7 @@ THEmployeeRemarksReviews $THEmployeeRemarksReviewsFromJson(
   return tHEmployeeRemarksReviews;
 }
 
-Map<String, dynamic> $THEmployeeRemarksReviewsToJson(
-    THEmployeeRemarksReviews entity) {
+Map<String, dynamic> $THEmployeeRemarksReviewsToJson(THEmployeeRemarksReviews entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['employer_name'] = entity.employerName;
   data['attitude_rate'] = entity.attitudeRate;

+ 2 - 5
packages/cs_domain/lib/generated/json/t_h_o_a_attachment_entity.g.dart

@@ -7,11 +7,8 @@ THOAAttachmentEntity $THOAAttachmentEntityFromJson(Map<String, dynamic> json) {
   if (total != null) {
     tHOAAttachmentEntity.total = total;
   }
-  final List<THOAAttachmentRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<THOAAttachmentRows>(e) as THOAAttachmentRows)
-      .toList();
+  final List<THOAAttachmentRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<THOAAttachmentRows>(e) as THOAAttachmentRows).toList();
   if (rows != null) {
     tHOAAttachmentEntity.rows = rows;
   }

+ 18 - 42
packages/cs_domain/lib/generated/json/t_h_o_a_labour_detail_entity.g.dart

@@ -3,11 +3,9 @@ import 'package:domain/entity/response/t_h_o_a_labour_detail_entity.dart';
 import 'package:domain/entity/response/index_option_entity.dart';
 
 
-THOALabourDetailEntity $THOALabourDetailEntityFromJson(
-    Map<String, dynamic> json) {
+THOALabourDetailEntity $THOALabourDetailEntityFromJson(Map<String, dynamic> json) {
   final THOALabourDetailEntity tHOALabourDetailEntity = THOALabourDetailEntity();
-  final THOALabourDetailLabourRequest? labReq = jsonConvert.convert<
-      THOALabourDetailLabourRequest>(json['labour_request']);
+  final THOALabourDetailLabourRequest? labReq = jsonConvert.convert<THOALabourDetailLabourRequest>(json['labour_request']);
   if (labReq != null) {
     tHOALabourDetailEntity.labReq = labReq;
   }
@@ -27,44 +25,28 @@ THOALabourDetailEntity $THOALabourDetailEntityFromJson(
   if (withOt != null) {
     tHOALabourDetailEntity.withOt = withOt;
   }
-  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? titleList = (json['title_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (titleList != null) {
     tHOALabourDetailEntity.titleList = titleList;
   }
-  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? limitList = (json['limit_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (limitList != null) {
     tHOALabourDetailEntity.limitList = limitList;
   }
-  final List<
-      IndexOptionEntity>? employmentList = (json['employment_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? employmentList = (json['employment_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (employmentList != null) {
     tHOALabourDetailEntity.employmentList = employmentList;
   }
-  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? outletList = (json['outlet_list'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (outletList != null) {
     tHOALabourDetailEntity.outletList = outletList;
   }
-  final List<IndexOptionEntity>? otRadios = (json['ot_radios'] as List<
-      dynamic>?)
-      ?.map(
-          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity)
-      .toList();
+  final List<IndexOptionEntity>? otRadios = (json['ot_radios'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<IndexOptionEntity>(e) as IndexOptionEntity).toList();
   if (otRadios != null) {
     tHOALabourDetailEntity.otRadios = otRadios;
   }
@@ -75,8 +57,7 @@ THOALabourDetailEntity $THOALabourDetailEntityFromJson(
   return tHOALabourDetailEntity;
 }
 
-Map<String, dynamic> $THOALabourDetailEntityToJson(
-    THOALabourDetailEntity entity) {
+Map<String, dynamic> $THOALabourDetailEntityToJson(THOALabourDetailEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['labour_request'] = entity.labReq?.toJson();
   data['from_view'] = entity.fromView;
@@ -85,8 +66,7 @@ Map<String, dynamic> $THOALabourDetailEntityToJson(
   data['with_ot'] = entity.withOt;
   data['title_list'] = entity.titleList.map((v) => v.toJson()).toList();
   data['limit_list'] = entity.limitList.map((v) => v.toJson()).toList();
-  data['employment_list'] =
-      entity.employmentList.map((v) => v.toJson()).toList();
+  data['employment_list'] = entity.employmentList.map((v) => v.toJson()).toList();
   data['outlet_list'] = entity.outletList.map((v) => v.toJson()).toList();
   data['ot_radios'] = entity.otRadios.map((v) => v.toJson()).toList();
   data['view'] = entity.view;
@@ -122,8 +102,7 @@ extension THOALabourDetailEntityExtension on THOALabourDetailEntity {
   }
 }
 
-THOALabourDetailLabourRequest $THOALabourDetailLabourRequestFromJson(
-    Map<String, dynamic> json) {
+THOALabourDetailLabourRequest $THOALabourDetailLabourRequestFromJson(Map<String, dynamic> json) {
   final THOALabourDetailLabourRequest tHOALabourDetailLabourRequest = THOALabourDetailLabourRequest();
   final int? id = jsonConvert.convert<int>(json['id']);
   if (id != null) {
@@ -169,8 +148,7 @@ THOALabourDetailLabourRequest $THOALabourDetailLabourRequestFromJson(
   if (endTime != null) {
     tHOALabourDetailLabourRequest.endTime = endTime;
   }
-  final String? workingHours = jsonConvert.convert<String>(
-      json['working_hours']);
+  final String? workingHours = jsonConvert.convert<String>(json['working_hours']);
   if (workingHours != null) {
     tHOALabourDetailLabourRequest.workingHours = workingHours;
   }
@@ -246,8 +224,7 @@ THOALabourDetailLabourRequest $THOALabourDetailLabourRequestFromJson(
   if (jobTitleId != null) {
     tHOALabourDetailLabourRequest.jobTitleId = jobTitleId;
   }
-  final String? preStaffIds = jsonConvert.convert<String>(
-      json['pre_staff_ids']);
+  final String? preStaffIds = jsonConvert.convert<String>(json['pre_staff_ids']);
   if (preStaffIds != null) {
     tHOALabourDetailLabourRequest.preStaffIds = preStaffIds;
   }
@@ -282,8 +259,7 @@ THOALabourDetailLabourRequest $THOALabourDetailLabourRequestFromJson(
   return tHOALabourDetailLabourRequest;
 }
 
-Map<String, dynamic> $THOALabourDetailLabourRequestToJson(
-    THOALabourDetailLabourRequest entity) {
+Map<String, dynamic> $THOALabourDetailLabourRequestToJson(THOALabourDetailLabourRequest entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['id'] = entity.id;
   data['employer_id'] = entity.employerId;

+ 7 - 16
packages/cs_domain/lib/generated/json/t_h_o_a_labour_review_table_entity.g.dart

@@ -1,27 +1,21 @@
 import 'package:domain/generated/json/base/json_convert_content.dart';
 import 'package:domain/entity/response/t_h_o_a_labour_review_table_entity.dart';
 
-THOALabourReviewTableEntity $THOALabourReviewTableEntityFromJson(
-    Map<String, dynamic> json) {
+THOALabourReviewTableEntity $THOALabourReviewTableEntityFromJson(Map<String, dynamic> json) {
   final THOALabourReviewTableEntity tHOALabourReviewTableEntity = THOALabourReviewTableEntity();
   final int? total = jsonConvert.convert<int>(json['total']);
   if (total != null) {
     tHOALabourReviewTableEntity.total = total;
   }
-  final List<THOALabourReviewTableRows>? rows = (json['rows'] as List<dynamic>?)
-      ?.map(
-          (e) =>
-      jsonConvert.convert<THOALabourReviewTableRows>(
-          e) as THOALabourReviewTableRows)
-      .toList();
+  final List<THOALabourReviewTableRows>? rows = (json['rows'] as List<dynamic>?)?.map(
+          (e) => jsonConvert.convert<THOALabourReviewTableRows>(e) as THOALabourReviewTableRows).toList();
   if (rows != null) {
     tHOALabourReviewTableEntity.rows = rows;
   }
   return tHOALabourReviewTableEntity;
 }
 
-Map<String, dynamic> $THOALabourReviewTableEntityToJson(
-    THOALabourReviewTableEntity entity) {
+Map<String, dynamic> $THOALabourReviewTableEntityToJson(THOALabourReviewTableEntity entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['total'] = entity.total;
   data['rows'] = entity.rows.map((v) => v.toJson()).toList();
@@ -39,8 +33,7 @@ extension THOALabourReviewTableEntityExtension on THOALabourReviewTableEntity {
   }
 }
 
-THOALabourReviewTableRows $THOALabourReviewTableRowsFromJson(
-    Map<String, dynamic> json) {
+THOALabourReviewTableRows $THOALabourReviewTableRowsFromJson(Map<String, dynamic> json) {
   final THOALabourReviewTableRows tHOALabourReviewTableRows = THOALabourReviewTableRows();
   final String? recordId = jsonConvert.convert<String>(json['record_id']);
   if (recordId != null) {
@@ -98,8 +91,7 @@ THOALabourReviewTableRows $THOALabourReviewTableRowsFromJson(
   if (attNum != null) {
     tHOALabourReviewTableRows.attNum = attNum;
   }
-  final String? positionName = jsonConvert.convert<String>(
-      json['position_name']);
+  final String? positionName = jsonConvert.convert<String>(json['position_name']);
   if (positionName != null) {
     tHOALabourReviewTableRows.positionName = positionName;
   }
@@ -114,8 +106,7 @@ THOALabourReviewTableRows $THOALabourReviewTableRowsFromJson(
   return tHOALabourReviewTableRows;
 }
 
-Map<String, dynamic> $THOALabourReviewTableRowsToJson(
-    THOALabourReviewTableRows entity) {
+Map<String, dynamic> $THOALabourReviewTableRowsToJson(THOALabourReviewTableRows entity) {
   final Map<String, dynamic> data = <String, dynamic>{};
   data['record_id'] = entity.recordId;
   data['order_id'] = entity.orderId;

+ 0 - 0
packages/cs_domain/lib/generated/json/t_h_o_a_labour_table_entity.g.dart


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels