DROP TABLE IF EXISTS `#@_linkage`;
CREATE TABLE `#@_linkage` (
  `id` smallint(4) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `_parentId` smallint(4) NOT NULL DEFAULT '0' COMMENT '上级ID',
  `text` char(35) NOT NULL DEFAULT '' COMMENT '名称',
  `val` char(50) NOT NULL DEFAULT '' COMMENT '值',
  `code` varchar(80) NOT NULL DEFAULT '' COMMENT '名称拼音',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  `sort` smallint(4) NOT NULL DEFAULT '50' COMMENT '排序',
  `type` char(5) NOT NULL DEFAULT '' COMMENT '类型',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='联动';
REPLACE INTO `#@_linkage` VALUES ('1','0','性别','性别','xingbie','1','50','');
REPLACE INTO `#@_linkage` VALUES ('2','1','男','1','nan','1','50','');
REPLACE INTO `#@_linkage` VALUES ('3','1','女','2','nv','1','50','');
