import { MENU_CODES, PERMISSIONS } from "@/app/permissions";

export const hostAgencyPolicyRoutes = [
    {
        label: "工资政策",
        loader: () => import("./pages/HostAgencyPolicyPage.jsx").then((module) => module.HostAgencyPolicyPage),
        menuCode: MENU_CODES.hostAgencyPolicy,
        pageKey: "host-agency-policy",
        path: "/host/salary-policies",
        permission: PERMISSIONS.hostAgencyPolicyView,
    },
    {
        label: "工资结算",
        loader: () => import("./pages/HostSalarySettlementPage.jsx").then((module) => module.HostSalarySettlementPage),
        menuCode: MENU_CODES.hostSalarySettlement,
        pageKey: "host-salary-settlement",
        path: "/host/salary-settlements",
        permission: PERMISSIONS.hostSalarySettlementView,
    },
];
