import 'package:cpt_job/modules/applied_staff_detail/applied_staff_detail_page.dart';
import 'package:cpt_job/modules/applied_staff_reviews/applied_staff_reviews_page.dart';
import 'package:cpt_job/modules/applied_workflow/applied_workflow_page.dart';
import 'package:cpt_job/modules/job_applied/job_applied_page.dart';
import 'package:cpt_job/modules/job_applied_edit/job_applied_edit_page.dart';
import 'package:get/get.dart';
import 'package:router/path/router_path.dart';

import '../modules/job_list/job_list_page.dart';
import '../modules/job_list_detail/job_list_detail_page.dart';
import '../modules/sign_in_sign_out/sign_in_sign_out_page.dart';

class JobPageRouter {
  static final routes = [
    //签到签出
    GetPage(
      name: RouterPath.JOB_SIGN_IN_SIGN_OUT,
      page: () => SignInSignOutPage(),
    ),

    //工作列表
    GetPage(
      name: RouterPath.JOB_LIST,
      page: () => JobListPage(),
    ),

    //工作列表详情
    GetPage(
      name: RouterPath.JOB_LIST_DETAIL,
      page: () => JobListDetailPage(),
    ),

    //工作已申请列表
    GetPage(
      name: RouterPath.JOB_APPLIED_STAFF_LIST,
      page: () => JobAppliedPage(),
    ),

    //工作已申请列表
    GetPage(
      name: RouterPath.JOB_APPLIED_STAFF_WORKFLOW,
      page: () => AppliedWorkflowPage(),
    ),

    //编辑申请
    GetPage(
      name: RouterPath.JOB_APPLIED_STAFF_EDIT,
      page: () => JobAppliedEditPage(),
    ),

    //员工详情
    GetPage(
      name: RouterPath.JOB_APPLIED_STAFF_DETAIL,
      page: () => AppliedStaffDetailPage(),
    ),

    //员工评价
    GetPage(
      name: RouterPath.JOB_APPLIED_STAFF_REVIEWS,
      page: () => AppliedStaffReviewsPage(),
    ),

  ];
}
