manage_menu 1.1 KB

12345678910111213141516171819
  1. <?php return array (
  2. 'time' => 1449932249,
  3. 'table' => 'manage_menu',
  4. 'create' => 'DROP TABLE IF EXISTS `manage_menu`;CREATE TABLE `manage_menu`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'菜单ID\',`name` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'菜单名称\',`menu_id` INT(11) NOT NULL DEFAULT \'-1\' COMMENT \'上级菜单\',`key` VARCHAR(100) NOT NULL DEFAULT \'\' COMMENT \'菜单唯一KEY\',`link` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'链接(或路径)\',`reorder` INT(11) NOT NULL DEFAULT \'1\' COMMENT \'排序\',`type` TINYINT(1) NOT NULL DEFAULT \'2\' COMMENT \'开启子菜单\',`icon` INT(2) NOT NULL DEFAULT \'1\' COMMENT \'图标\',`fast` TINYINT(1) NOT NULL DEFAULT \'2\' COMMENT \'是否快捷菜单\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
  5. 'struct' =>
  6. array (
  7. 'id' => 0,
  8. 'name' => 1,
  9. 'menu_id' => 2,
  10. 'key' => 3,
  11. 'link' => 4,
  12. 'reorder' => 5,
  13. 'type' => 6,
  14. 'icon' => 7,
  15. 'fast' => 8,
  16. 'state' => 9,
  17. 'cdate' => 10,
  18. ),
  19. );