Files
OMS/app/desktop/dbschema/menus.php
2025-12-28 23:13:25 +08:00

116 lines
2.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['menus']=array (
'columns' =>
array (
'menu_id'=>array(
'type' => 'number',
'pkey' => true,
'extra' => 'auto_increment',
),
'menu_type' =>
array (
'type' => 'varchar(80)',
'required' => true,
'width' => 100,
'in_list' => true,
'default_in_list' => true,
'comment' => '菜单类型',
),
'app_id' =>
array (
'type' => 'table:apps@base',
'required' => true,
'width' => 100,
'in_list' => true,
'default_in_list' => true,
'comment' => '所属app(应用)ID',
),
'workground'=>array(
'type'=>'varchar(200)',
'comment'=>'顶级菜单',
),
'menu_group'=>array(
'type'=>'varchar(200)',
'comment'=>'菜单组',
),
'menu_title'=>array(
'type'=>'varchar(100)',
'is_title'=>true,
'comment'=>'菜单标题',
),
'menu_path'=>array(
'type'=>'varchar(255)',
'comment'=>'菜单对应执行的url路径',
),
'disabled'=>array(
'type'=>'bool',
'default'=>'false',
'comment'=>'是否有效',
),
'display'=>array(
'type'=>"enum('true', 'false')",
'default'=>'false',
'comment'=>'是否显示',
),
'permission'=>array(
'type'=>'varchar(80)',
'comment'=>'权限',
),
'addon'=>array(
'type'=>'text',
'comment'=>'额外信息',
),
'target'=>array(
'type'=>'varchar(10)',
'default'=>'',
'comment'=>'跳转'
),
'menu_order'=>array(
'type' => 'int unsigned',
'default'=>'0',
'comment'=>'排序'
),
'icon'=>array(
'type'=>'varchar(50)',
'comment'=>'图标',
),
'en'=>array(
'type'=>'varchar(100)',
'comment'=>'英文名称',
),
),
'index' =>
array (
'ind_menu_type' =>
array (
'columns' =>
array (
0 => 'menu_type',
),
),
'ind_menu_path' =>
array (
'columns' =>
array (
0 => 'menu_path',
),
),
'ind_menu_order' =>
array (
'columns' =>
array (
0 => 'menu_order',
),
),
),
'comment' => '后台菜单表',
'version' => '$Rev: 44008 $',
'unbackup' => true,
);