# SQL-Front 5.1 (Build 4.16) /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE */;
/*!40101 SET SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES */;
/*!40103 SET SQL_NOTES='ON' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS */;
/*!40014 SET FOREIGN_KEY_CHECKS=0 */; # Host: localhost Database: pms
# ------------------------------------------------------
# Server version 5.5.28 DROP DATABASE IF EXISTS `pms`;
CREATE DATABASE `pms` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `pms`; #
# Source for table tb_pms_area
# DROP TABLE IF EXISTS `tb_pms_area`;
CREATE TABLE `tb_pms_area` (
`AREA_ID` varchar(555) NOT NULL,
`AREA_NAME` varchar(555) DEFAULT NULL,
`AREA_DESC` varchar(399) DEFAULT NULL,
`PARENT_AREA_ID` varchar(555) DEFAULT NULL,
`SORT_ORDER` int(11) DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_area
# LOCK TABLES `tb_pms_area` WRITE;
/*!40000 ALTER TABLE `tb_pms_area` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_area` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_group
# DROP TABLE IF EXISTS `tb_pms_group`;
CREATE TABLE `tb_pms_group` (
`F_GROUPID` varchar(200) DEFAULT NULL,
`F_GROUPNAME` varchar(555) DEFAULT NULL,
`F_FLAG` int(11) DEFAULT NULL,
`F_AREA_ID` varchar(333) DEFAULT NULL,
`F_GROUPDESC` varchar(1000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_group
# LOCK TABLES `tb_pms_group` WRITE;
/*!40000 ALTER TABLE `tb_pms_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_group` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_group_role
# DROP TABLE IF EXISTS `tb_pms_group_role`;
CREATE TABLE `tb_pms_group_role` (
`F_groupID` varchar(200) NOT NULL,
`F_ROLEID` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_group_role
# LOCK TABLES `tb_pms_group_role` WRITE;
/*!40000 ALTER TABLE `tb_pms_group_role` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_group_role` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_module
# DROP TABLE IF EXISTS `tb_pms_module`;
CREATE TABLE `tb_pms_module` (
`MOD_ID` varchar(888) NOT NULL,
`MOD_PARENTID` varchar(888) DEFAULT NULL,
`MOD_NAME` varchar(201) DEFAULT NULL,
`MOD_TYPE` int(11) DEFAULT NULL,
`MOD_DESC` varchar(755) DEFAULT NULL,
`MOD_URL` varchar(755) DEFAULT NULL,
`MOD_COUNTER` int(11) NOT NULL DEFAULT '',
`MOD_ORDER` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_module
# LOCK TABLES `tb_pms_module` WRITE;
/*!40000 ALTER TABLE `tb_pms_module` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_module` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_role
# DROP TABLE IF EXISTS `tb_pms_role`;
CREATE TABLE `tb_pms_role` (
`F_ROLEID` varchar(200) NOT NULL,
`F_NAME` varchar(201) NOT NULL,
`F_DESC` varchar(1000) DEFAULT NULL,
`F_status` int(11) DEFAULT NULL,
`F_createDate` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_role
# LOCK TABLES `tb_pms_role` WRITE;
/*!40000 ALTER TABLE `tb_pms_role` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_role` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_role_module
# DROP TABLE IF EXISTS `tb_pms_role_module`;
CREATE TABLE `tb_pms_role_module` (
`MOD_ID` varchar(200) NOT NULL,
`F_ROLEID` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_role_module
# LOCK TABLES `tb_pms_role_module` WRITE;
/*!40000 ALTER TABLE `tb_pms_role_module` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_role_module` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_user
# DROP TABLE IF EXISTS `tb_pms_user`;
CREATE TABLE `tb_pms_user` (
`F_USERID` varchar(200) DEFAULT NULL,
`F_NAME` varchar(200) DEFAULT NULL,
`F_EMAIL` varchar(200) DEFAULT NULL,
`F_MOBILE` varchar(200) DEFAULT NULL,
`F_PASSWORD` varchar(100) DEFAULT NULL,
`F_FLAG` int(11) DEFAULT NULL,
`F_REGISTERTIME` date DEFAULT NULL,
`F_LASTLOGIN` date DEFAULT NULL,
`F_AREAID` varchar(100) DEFAULT NULL,
`F_LEVEL_ID` int(11) DEFAULT NULL,
`F_HOSTID` varchar(100) DEFAULT NULL,
`F_ISLOCK` int(11) DEFAULT NULL,
`F_LOCKDATEBEGIN` date DEFAULT NULL,
`IF_SUPERUSER` varchar(2) DEFAULT NULL,
`F_LASTMODIFY` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_user
# LOCK TABLES `tb_pms_user` WRITE;
/*!40000 ALTER TABLE `tb_pms_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_user` ENABLE KEYS */;
UNLOCK TABLES; #
# Source for table tb_pms_user_group
# DROP TABLE IF EXISTS `tb_pms_user_group`;
CREATE TABLE `tb_pms_user_group` (
`F_USERID` varchar(200) NOT NULL,
`F_GROUPID` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8; #
# Dumping data for table tb_pms_user_group
# LOCK TABLES `tb_pms_user_group` WRITE;
/*!40000 ALTER TABLE `tb_pms_user_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `tb_pms_user_group` ENABLE KEYS */;
UNLOCK TABLES; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;