"use strict";

const MenuConstants = {
  PER_PAGE: 10,
  USER_PRIORITY: ["SUPER ADMIN", "ADMIN", "MANAGER", "OPERATOR"], // 결정 필요...
  MAIN_MENU: [
    {
      name: "Home",
      code: "menu01",
      root: "home",
      sub_menu: [
        {
          name: "Dashboard",
          code: "menu01_sub01",
          url: '/view/home/dashboard'
        },
        {
          name: "Trend",
          code: "menu01_sub02",
          url: '/view/home/trend'
        },
        {
          name: "Tenant Dashboard",
          code: "menu01_sub03",
          url: '/view/home/tenantDashboard'
        },
      ],
    },
    {
      name: "구성관리",
      code: "menu02",
      root: "cm",
      sub_menu: [
        {
          name: "테넌트 관리",
          code: "menu02_sub01",
          url: '/view/cm/tenantMgmt'
        },
        {
          name: "수집 장비 관리",
          code: "menu02_sub02",
          url: '/view/cm/equipMgmt'
        },
        {
          name: "NE 관리",
          code: "menu02_sub03",
          url: '/view/cm/neMgmt'
        },
        {
          name: "가입자관리",
          code: "menu02_sub04",
          url: '/view/cm/userMgmt'
        },
      ],
    },
    {
      name: "장애관리",
      code: "menu03",
      root: "dm",
      sub_menu: [
        {
          name: "알람이력",
          code: "menu03_sub01",
          url: '/view/dm/alarmHistory'
        },
      ],
    },
    {
      name: "성능관리",
      code: "menu04",
      root: "pm",
      sub_menu: [
        {
          name: "성능통계",
          code: "menu04_sub01",
          url: '/view/pm/performanceMgmt'
        }
      ],
    },
    {
      name: "보안관리",
      code: "menu05",
      root: "sm",
      sub_menu: [
        {
          name: "계정관리",
          code: "menu05_sub01",
          url: '/view/sm/accountMgmt'
        },
        {
          name: "접속자 세션관리",
          code: "menu05_sub02",
          url: '/view/sm/connectSessionMgmt'
        },
        {
          name: "운용이력",
          code: "menu05_sub03",
          url: '/view/sm/operatingHistory'
        },
        {
          name: "접속이력",
          code: "menu05_sub04",
          url: '/view/sm/loginHistory'
        },
      ],
    },
    {
      name: "설정",
      code: "menu06",
      root: "gm",
      sub_menu: [
        {
          name: "DB 관리",
          code: "menu06_sub01",
          url: '/view/gm/dbMgmt'
        },
        {
          name: "컨테이너 관리",
          code: "menu06_sub02",
          url: '/view/gm/containerMgmt'
        },
        {
          name: "세션 설정 관리",
          code: "menu06_sub03",
          url: '/view/gm/connectSetMgmt'
        },
        {
          name: "메뉴 권한 관리",
          code: "menu06_sub04",
          url: '/view/gm/menuRoleMgmt'
        },
        {
          name: "약관 관리",
          code: "menu06_sub05",
          url: '/view/gm/termsMgmt'
        },
      ],
    },
  ],
};

export default MenuConstants;
