创建一个表MODEL,下面展现代码片段: `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'ID', `name` ) NOT NULL DEFAULT '' COMMENT '名称', `pid` COMMENT '父级ID', `tid` COMMENT '顶级ID', `tree` ) NOT NULL DEFAULT '' COMMENT '层级树(,1,2,)', `status` ) unsigned COMMENT '状态', `…