-- MySQL dump 10.11
--
-- Host: localhost    Database: ztest
-- ------------------------------------------------------
-- Server version	5.0.45

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `opl_subSystem`
--

DROP TABLE IF EXISTS `opl_subSystem`;
CREATE TABLE `opl_subSystem` (
  `id` int(10) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `opl_subSystem`
--

LOCK TABLES `opl_subSystem` WRITE;
/*!40000 ALTER TABLE `opl_subSystem` DISABLE KEYS */;
INSERT INTO `opl_subSystem` VALUES (1,'Library'),(2,'Textbook'),(3,'Equipment');
/*!40000 ALTER TABLE `opl_subSystem` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `opl_permGroup`
--

DROP TABLE IF EXISTS `opl_permGroup`;
CREATE TABLE `opl_permGroup` (
  `id` int(10) NOT NULL auto_increment,
  `ssId` int(10) NOT NULL,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `opl_permGroup`
--

LOCK TABLES `opl_permGroup` WRITE;
/*!40000 ALTER TABLE `opl_permGroup` DISABLE KEYS */;
INSERT INTO `opl_permGroup` VALUES (1,1,'User'),(2,1,'Marc'),(3,1,'System'),(4,1,'Circ'),(5,1,'Misc'),(6,2,'User'),(7,2,'Marc'),(8,2,'System'),(9,2,'Circ'),(10,2,'Misc'),(11,3,'User'),(12,3,'Marc'),(13,3,'System'),(14,3,'Circ'),(15,3,'Misc');
/*!40000 ALTER TABLE `opl_permGroup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `opl_permission`
--

DROP TABLE IF EXISTS `opl_permission`;
CREATE TABLE `opl_permission` (
  `id` int(10) NOT NULL auto_increment,
  `grpId` int(10) NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;

--
-- Dumping data for table `opl_permission`
--

LOCK TABLES `opl_permission` WRITE;
/*!40000 ALTER TABLE `opl_permission` DISABLE KEYS */;
INSERT INTO `opl_permission` VALUES (1,1,'User Add','user_add'),(2,1,'User Edit','user_edit'),(3,1,'User Delete','user_delete'),(4,2,'Marc Edit','marc_edit'),(5,3,'Pref Edit','pref_edit'),(6,4,'Circ Loan','circ_loan'),(7,4,'Circ Return','circ_return'),(8,4,'Circ Reserve','circ_rsrv'),(9,4,'Self-Reserve','circ_rsrv_self'),(10,4,'Fine','fine'),(12,4,'Notice','notice'),(13,4,'Report','report'),(14,4,'Email Bib','bibsrc'),(15,5,'Path Finder','pf'),(16,5,'Rating','rating'),(18,7,'Record Edit','tb_record_edit'),(11,4,'Payment','payment'),(19,9,'Circ Loan','tb_circ_loan'),(20,9,'Circ Return','tb_circ_return'),(21,9,'Circ Reserve','tb_circ_rsrv'),(22,9,'Self-Reserve','tb_circ_rsrv_self'),(23,9,'Fine','tb_fine'),(24,9,'Notice','tb_notice'),(25,9,'Report','tb_report'),(27,12,'Record Edit','eq_record_edit'),(28,14,'Circ Loan','eq_circ_loan'),(29,14,'Circ Return','eq_circ_return'),(30,14,'Circ Reserve','eq_circ_rsrv'),(31,14,'Self-Reserve','eq_circ_rsrv_self'),(32,14,'Report','eq_report'),(17,6,'User Add','tb_user_edit'),(26,10,'Course','tb_course_edit');
/*!40000 ALTER TABLE `opl_permission` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2009-09-04 13:50:42
