/*!999999\- enable the sandbox mode */ -- MariaDB dump 10.19 Distrib 10.5.25-MariaDB, for Win64 (AMD64) -- -- Host: localhost Database: dbms -- ------------------------------------------------------ -- Server version 10.5.25-MariaDB /*!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 utf8mb4 */; /*!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 `accountinfo` -- DROP TABLE IF EXISTS `accountinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `accountinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `title` varchar(255) NOT NULL, `alias` varchar(50) NOT NULL COMMENT '입출금자명', `amount` int(11) NOT NULL DEFAULT 0 COMMENT '압출금액', `status` varchar(20) NOT NULL DEFAULT 'default', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_clientinfo_TO_accountinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_accountinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='예치금계좌'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `accountinfo` -- LOCK TABLES `accountinfo` WRITE; /*!40000 ALTER TABLE `accountinfo` DISABLE KEYS */; INSERT INTO `accountinfo` VALUES (1,1,'5월예치금입금','Test111',100000,'default','2025-05-29 06:08:43'),(2,1,'5월예치금출금','Test111',50000,'out','2025-05-29 06:09:07'); /*!40000 ALTER TABLE `accountinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `clientinfo` -- DROP TABLE IF EXISTS `clientinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `clientinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `role` varchar(50) NOT NULL DEFAULT 'user', `name` varchar(100) NOT NULL, `phone` varchar(50) DEFAULT NULL, `email` varchar(50) NOT NULL, `account_balance` int(11) NOT NULL DEFAULT 0 COMMENT '예치금', `coupon_balance` int(11) NOT NULL DEFAULT 0 COMMENT '쿠폰수', `point_balance` int(11) NOT NULL DEFAULT 0 COMMENT '포인트', `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='고객정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `clientinfo` -- LOCK TABLES `clientinfo` WRITE; /*!40000 ALTER TABLE `clientinfo` DISABLE KEYS */; INSERT INTO `clientinfo` VALUES (1,'user','Test111','1111','test111@co.kr',50000,0,0,'default','2025-05-29 06:09:07','2025-05-29 06:07:37'),(2,'user,vip','Test222','222','test222@co.kr',0,50,0,'default','2025-05-29 06:10:10','2025-05-29 06:07:54'),(3,'user,vip,reseller','Test333','3333','test333@co.kr',0,0,50000,'default','2025-05-29 06:10:55','2025-05-29 06:08:07'),(4,'user','Test444','4444','test444@co.kr',0,0,0,'default',NULL,'2025-05-29 06:08:17'); /*!40000 ALTER TABLE `clientinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `couponinfo` -- DROP TABLE IF EXISTS `couponinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `couponinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `title` varchar(100) NOT NULL, `amount` int(11) NOT NULL DEFAULT 0 COMMENT '갯수', `status` varchar(20) NOT NULL DEFAULT 'default', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_clientinfo_TO_couponinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_couponinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='쿠폰정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `couponinfo` -- LOCK TABLES `couponinfo` WRITE; /*!40000 ALTER TABLE `couponinfo` DISABLE KEYS */; INSERT INTO `couponinfo` VALUES (1,2,'5월쿠폰추가',100,'default','2025-05-29 06:09:41'),(2,2,'5월쿠폰사용',50,'out','2025-05-29 06:10:10'); /*!40000 ALTER TABLE `couponinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `cpuinfo` -- DROP TABLE IF EXISTS `cpuinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `cpuinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_model` (`model`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='CPU 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `cpuinfo` -- LOCK TABLES `cpuinfo` WRITE; /*!40000 ALTER TABLE `cpuinfo` DISABLE KEYS */; INSERT INTO `cpuinfo` VALUES (1,'Xeon(R) CPU E5-2690 v2 @3.00GHz',50000,'default',NULL,'2025-05-29 07:25:04'),(2,'Xeon(R) CPU E5-2690 v4 @ 2.60GHz',70000,'default',NULL,'2025-05-29 07:25:17'),(3,'Intel i3',10000,'default',NULL,'2025-05-29 07:25:56'),(4,'Intel i5',20000,'default',NULL,'2025-05-29 07:26:08'),(5,'Intel i7',30000,'default',NULL,'2025-05-29 07:26:22'); /*!40000 ALTER TABLE `cpuinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `defenceinfo` -- DROP TABLE IF EXISTS `defenceinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `defenceinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL, `ip` varchar(50) DEFAULT NULL, `price` int(11) NOT NULL DEFAULT 0, `accountid` varchar(50) DEFAULT NULL, `domain` varchar(100) DEFAULT NULL, `description` text DEFAULT NULL, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_uid` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='방어(CS)정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `defenceinfo` -- LOCK TABLES `defenceinfo` WRITE; /*!40000 ALTER TABLE `defenceinfo` DISABLE KEYS */; INSERT INTO `defenceinfo` VALUES (2,'VPC-CS','21.238.234.34',100000,'VPC-X21',NULL,NULL,'default',NULL,'2025-05-29 07:20:50'),(3,'KT-CS','13.23.4.2',50000,'KT-X23',NULL,NULL,'default',NULL,'2025-05-29 07:22:55'); /*!40000 ALTER TABLE `defenceinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `diskinfo` -- DROP TABLE IF EXISTS `diskinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `diskinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_model` (`model`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='DISK 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `diskinfo` -- LOCK TABLES `diskinfo` WRITE; /*!40000 ALTER TABLE `diskinfo` DISABLE KEYS */; INSERT INTO `diskinfo` VALUES (1,'ECC 2G',1000,'default',NULL,'2025-05-29 07:26:40'),(2,'ECC 4G',2000,'default',NULL,'2025-05-29 07:26:52'),(3,'ECC 8G',3000,'default',NULL,'2025-05-29 07:27:08'),(4,'ECC 16G',4000,'default',NULL,'2025-05-29 07:27:22'),(5,'ECC 32G',5000,'default',NULL,'2025-05-29 07:27:33'); /*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `domaininfo` -- DROP TABLE IF EXISTS `domaininfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `domaininfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `domain` varchar(20) NOT NULL, `expired_at` date NOT NULL COMMENT '종료일', `price` int(11) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_domain` (`domain`), KEY `FK_clientinfo_TO_domaininfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_domaininfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='도메인 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `domaininfo` -- LOCK TABLES `domaininfo` WRITE; /*!40000 ALTER TABLE `domaininfo` DISABLE KEYS */; /*!40000 ALTER TABLE `domaininfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `invoiceinfo` -- DROP TABLE IF EXISTS `invoiceinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `invoiceinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `issue_at` date DEFAULT NULL COMMENT '발행일', `due_at` date DEFAULT NULL COMMENT '지급기한일', `total_amount` int(11) NOT NULL DEFAULT 0 COMMENT '총금액', `status` varchar(20) NOT NULL DEFAULT 'default' COMMENT '상태', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_clientinfo_TO_invoiceinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_invoiceinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='청구서정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `invoiceinfo` -- LOCK TABLES `invoiceinfo` WRITE; /*!40000 ALTER TABLE `invoiceinfo` DISABLE KEYS */; /*!40000 ALTER TABLE `invoiceinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `invoiceinfo_items` -- DROP TABLE IF EXISTS `invoiceinfo_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `invoiceinfo_items` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `invoiceinfo_uid` int(11) NOT NULL, `item_type` varchar(20) NOT NULL, `item_uid` int(11) NOT NULL, `billing_cyle` varchar(20) NOT NULL, `amount` int(11) NOT NULL DEFAULT 0 COMMENT '청구금액', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_invoiceinfo_TO_invoiceinfo_items` (`invoiceinfo_uid`), CONSTRAINT `FK_invoiceinfo_TO_invoiceinfo_items` FOREIGN KEY (`invoiceinfo_uid`) REFERENCES `invoiceinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='청구서Item정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `invoiceinfo_items` -- LOCK TABLES `invoiceinfo_items` WRITE; /*!40000 ALTER TABLE `invoiceinfo_items` DISABLE KEYS */; /*!40000 ALTER TABLE `invoiceinfo_items` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `ipinfo` -- DROP TABLE IF EXISTS `ipinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `ipinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `lineinfo_uid` int(11) NOT NULL, `ip` char(16) NOT NULL, `price` int(11) NOT NULL DEFAULT 50000, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_ip` (`ip`), KEY `FK_lineinfo_TO_ipinfo` (`lineinfo_uid`), CONSTRAINT `FK_lineinfo_TO_ipinfo` FOREIGN KEY (`lineinfo_uid`) REFERENCES `lineinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT=' IP 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `ipinfo` -- LOCK TABLES `ipinfo` WRITE; /*!40000 ALTER TABLE `ipinfo` DISABLE KEYS */; INSERT INTO `ipinfo` VALUES (1,8,'27.125.207.128',50000,'default',NULL,'2025-05-29 06:45:34'),(2,8,'27.125.207.129',50000,'default',NULL,'2025-05-29 06:45:34'),(3,8,'27.125.207.130',50000,'default',NULL,'2025-05-29 06:45:34'),(4,8,'27.125.207.131',50000,'default',NULL,'2025-05-29 06:45:34'),(5,8,'27.125.207.132',50000,'default',NULL,'2025-05-29 06:45:34'),(6,8,'27.125.207.133',50000,'default',NULL,'2025-05-29 06:45:34'),(7,8,'27.125.207.134',50000,'default',NULL,'2025-05-29 06:45:34'),(8,8,'27.125.207.135',50000,'default',NULL,'2025-05-29 06:45:34'),(9,8,'27.125.207.136',50000,'default',NULL,'2025-05-29 06:45:34'),(10,8,'27.125.207.137',50000,'default',NULL,'2025-05-29 06:45:34'),(11,8,'27.125.207.138',50000,'default',NULL,'2025-05-29 06:45:34'),(12,8,'27.125.207.139',50000,'default',NULL,'2025-05-29 06:45:34'),(13,8,'27.125.207.140',50000,'default',NULL,'2025-05-29 06:45:34'),(14,8,'27.125.207.141',50000,'default',NULL,'2025-05-29 06:45:34'),(15,8,'27.125.207.142',50000,'default',NULL,'2025-05-29 06:45:34'),(16,8,'27.125.207.143',50000,'default',NULL,'2025-05-29 06:45:34'),(17,8,'27.125.207.144',50000,'default',NULL,'2025-05-29 06:45:34'),(18,8,'27.125.207.145',50000,'default',NULL,'2025-05-29 06:45:34'),(19,8,'27.125.207.146',50000,'default',NULL,'2025-05-29 06:45:34'),(20,8,'27.125.207.147',50000,'default',NULL,'2025-05-29 06:45:34'),(21,8,'27.125.207.148',50000,'default',NULL,'2025-05-29 06:45:34'),(22,8,'27.125.207.149',50000,'default',NULL,'2025-05-29 06:45:34'),(23,8,'27.125.207.150',50000,'default',NULL,'2025-05-29 06:45:34'),(24,8,'27.125.207.151',50000,'default',NULL,'2025-05-29 06:45:34'),(25,8,'27.125.207.152',50000,'default',NULL,'2025-05-29 06:45:34'),(26,8,'27.125.207.153',50000,'default',NULL,'2025-05-29 06:45:34'),(27,8,'27.125.207.154',50000,'default',NULL,'2025-05-29 06:45:34'),(28,8,'27.125.207.155',50000,'default',NULL,'2025-05-29 06:45:34'),(29,8,'27.125.207.156',50000,'default',NULL,'2025-05-29 06:45:34'),(30,8,'27.125.207.157',50000,'default',NULL,'2025-05-29 06:45:34'),(31,8,'27.125.207.158',50000,'default',NULL,'2025-05-29 06:45:34'),(32,8,'27.125.207.159',50000,'default',NULL,'2025-05-29 06:45:34'),(33,8,'27.125.207.160',50000,'default',NULL,'2025-05-29 06:45:34'),(34,8,'27.125.207.161',50000,'default',NULL,'2025-05-29 06:45:34'),(35,8,'27.125.207.162',50000,'default',NULL,'2025-05-29 06:45:34'),(36,8,'27.125.207.163',50000,'default',NULL,'2025-05-29 06:45:34'),(37,8,'27.125.207.164',50000,'default',NULL,'2025-05-29 06:45:34'),(38,8,'27.125.207.165',50000,'default',NULL,'2025-05-29 06:45:34'),(39,8,'27.125.207.166',50000,'default',NULL,'2025-05-29 06:45:34'),(40,8,'27.125.207.167',50000,'default',NULL,'2025-05-29 06:45:34'),(41,8,'27.125.207.168',50000,'default',NULL,'2025-05-29 06:45:34'),(42,8,'27.125.207.169',50000,'default',NULL,'2025-05-29 06:45:34'),(43,8,'27.125.207.170',50000,'default',NULL,'2025-05-29 06:45:34'),(44,8,'27.125.207.171',50000,'default',NULL,'2025-05-29 06:45:34'),(45,8,'27.125.207.172',50000,'default',NULL,'2025-05-29 06:45:34'),(46,8,'27.125.207.173',50000,'default',NULL,'2025-05-29 06:45:34'),(47,8,'27.125.207.174',50000,'default',NULL,'2025-05-29 06:45:34'),(48,8,'27.125.207.175',50000,'default',NULL,'2025-05-29 06:45:34'),(49,8,'27.125.207.176',50000,'default',NULL,'2025-05-29 06:45:34'),(50,8,'27.125.207.177',50000,'default',NULL,'2025-05-29 06:45:34'),(51,8,'27.125.207.178',50000,'default',NULL,'2025-05-29 06:45:34'),(52,8,'27.125.207.179',50000,'default',NULL,'2025-05-29 06:45:34'),(53,8,'27.125.207.180',50000,'default',NULL,'2025-05-29 06:45:34'),(54,8,'27.125.207.181',50000,'default',NULL,'2025-05-29 06:45:34'),(55,8,'27.125.207.182',50000,'default',NULL,'2025-05-29 06:45:34'),(56,8,'27.125.207.183',50000,'default',NULL,'2025-05-29 06:45:34'),(57,8,'27.125.207.184',50000,'default',NULL,'2025-05-29 06:45:34'),(58,8,'27.125.207.185',50000,'default',NULL,'2025-05-29 06:45:34'),(59,8,'27.125.207.186',50000,'default',NULL,'2025-05-29 06:45:34'),(60,8,'27.125.207.187',50000,'default',NULL,'2025-05-29 06:45:34'),(61,8,'27.125.207.188',50000,'default',NULL,'2025-05-29 06:45:34'),(62,8,'27.125.207.189',50000,'default',NULL,'2025-05-29 06:45:34'),(63,8,'27.125.207.190',50000,'default',NULL,'2025-05-29 06:45:34'),(64,8,'27.125.207.191',50000,'default',NULL,'2025-05-29 06:45:34'),(65,8,'27.125.207.192',50000,'default',NULL,'2025-05-29 06:45:34'),(66,8,'27.125.207.193',50000,'default',NULL,'2025-05-29 06:45:34'),(67,8,'27.125.207.194',50000,'default',NULL,'2025-05-29 06:45:35'),(68,8,'27.125.207.195',50000,'default',NULL,'2025-05-29 06:45:35'),(69,8,'27.125.207.196',50000,'default',NULL,'2025-05-29 06:45:35'),(70,8,'27.125.207.197',50000,'default',NULL,'2025-05-29 06:45:35'),(71,8,'27.125.207.198',50000,'default',NULL,'2025-05-29 06:45:35'),(72,8,'27.125.207.199',50000,'default',NULL,'2025-05-29 06:45:35'),(73,8,'27.125.207.200',50000,'default',NULL,'2025-05-29 06:45:35'),(74,8,'27.125.207.201',50000,'default',NULL,'2025-05-29 06:45:35'),(75,8,'27.125.207.202',50000,'default',NULL,'2025-05-29 06:45:35'),(76,8,'27.125.207.203',50000,'default',NULL,'2025-05-29 06:45:35'),(77,8,'27.125.207.204',50000,'default',NULL,'2025-05-29 06:45:35'),(78,8,'27.125.207.205',50000,'default',NULL,'2025-05-29 06:45:35'),(79,8,'27.125.207.206',50000,'default',NULL,'2025-05-29 06:45:35'),(80,8,'27.125.207.207',50000,'default',NULL,'2025-05-29 06:45:35'),(81,8,'27.125.207.208',50000,'default',NULL,'2025-05-29 06:45:35'),(82,8,'27.125.207.209',50000,'default',NULL,'2025-05-29 06:45:35'),(83,8,'27.125.207.210',50000,'default',NULL,'2025-05-29 06:45:35'),(84,8,'27.125.207.211',50000,'default',NULL,'2025-05-29 06:45:35'),(85,8,'27.125.207.212',50000,'default',NULL,'2025-05-29 06:45:35'),(86,8,'27.125.207.213',50000,'default',NULL,'2025-05-29 06:45:35'),(87,8,'27.125.207.214',50000,'default',NULL,'2025-05-29 06:45:35'),(88,8,'27.125.207.215',50000,'default',NULL,'2025-05-29 06:45:35'),(89,8,'27.125.207.216',50000,'default',NULL,'2025-05-29 06:45:35'),(90,8,'27.125.207.217',50000,'default',NULL,'2025-05-29 06:45:35'),(91,8,'27.125.207.218',50000,'default',NULL,'2025-05-29 06:45:35'),(92,8,'27.125.207.219',50000,'default',NULL,'2025-05-29 06:45:35'),(93,8,'27.125.207.220',50000,'default',NULL,'2025-05-29 06:45:35'),(94,8,'27.125.207.221',50000,'default',NULL,'2025-05-29 06:45:35'),(95,8,'27.125.207.222',50000,'default',NULL,'2025-05-29 06:45:35'),(96,8,'27.125.207.223',50000,'default',NULL,'2025-05-29 06:45:35'),(97,8,'27.125.207.224',50000,'default',NULL,'2025-05-29 06:45:35'),(98,8,'27.125.207.225',50000,'default',NULL,'2025-05-29 06:45:35'),(99,8,'27.125.207.226',50000,'default',NULL,'2025-05-29 06:45:35'),(100,8,'27.125.207.227',50000,'default',NULL,'2025-05-29 06:45:35'),(101,8,'27.125.207.228',50000,'default',NULL,'2025-05-29 06:45:35'),(102,8,'27.125.207.229',50000,'default',NULL,'2025-05-29 06:45:35'),(103,8,'27.125.207.230',50000,'default',NULL,'2025-05-29 06:45:35'),(104,8,'27.125.207.231',50000,'default',NULL,'2025-05-29 06:45:35'),(105,8,'27.125.207.232',50000,'default',NULL,'2025-05-29 06:45:35'),(106,8,'27.125.207.233',50000,'default',NULL,'2025-05-29 06:45:35'),(107,8,'27.125.207.234',50000,'default',NULL,'2025-05-29 06:45:35'),(108,8,'27.125.207.235',50000,'default',NULL,'2025-05-29 06:45:35'),(109,8,'27.125.207.236',50000,'default',NULL,'2025-05-29 06:45:35'),(110,8,'27.125.207.237',50000,'default',NULL,'2025-05-29 06:45:35'),(111,8,'27.125.207.238',50000,'default',NULL,'2025-05-29 06:45:35'),(112,8,'27.125.207.239',50000,'default',NULL,'2025-05-29 06:45:35'),(113,8,'27.125.207.240',50000,'default',NULL,'2025-05-29 06:45:35'),(114,8,'27.125.207.241',50000,'default',NULL,'2025-05-29 06:45:35'),(115,8,'27.125.207.242',50000,'default',NULL,'2025-05-29 06:45:35'),(116,8,'27.125.207.243',50000,'default',NULL,'2025-05-29 06:45:35'),(117,8,'27.125.207.244',50000,'default',NULL,'2025-05-29 06:45:35'),(118,8,'27.125.207.245',50000,'default',NULL,'2025-05-29 06:45:35'),(119,8,'27.125.207.246',50000,'default',NULL,'2025-05-29 06:45:35'),(120,8,'27.125.207.247',50000,'default',NULL,'2025-05-29 06:45:35'),(121,8,'27.125.207.248',50000,'default',NULL,'2025-05-29 06:45:35'),(122,8,'27.125.207.249',50000,'default',NULL,'2025-05-29 06:45:35'),(123,8,'27.125.207.250',50000,'default',NULL,'2025-05-29 06:45:35'),(124,8,'27.125.207.251',50000,'default',NULL,'2025-05-29 06:45:35'),(125,8,'27.125.207.252',50000,'default',NULL,'2025-05-29 06:45:35'),(126,8,'27.125.207.253',50000,'default',NULL,'2025-05-29 06:45:35'),(127,8,'27.125.207.254',50000,'default',NULL,'2025-05-29 06:45:35'),(128,8,'27.125.207.255',50000,'default',NULL,'2025-05-29 06:45:35'); /*!40000 ALTER TABLE `ipinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `lineinfo` -- DROP TABLE IF EXISTS `lineinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lineinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) DEFAULT NULL COMMENT '소유자정보', `type` varchar(20) NOT NULL COMMENT '회선구분', `title` varchar(100) NOT NULL, `bandwith` varchar(20) NOT NULL COMMENT 'IP 대역', `price` int(11) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'default', `start_at` date DEFAULT NULL COMMENT '개통일', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_title` (`title`), KEY `FK_clientinfo_TO_lineinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_lineinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='회선 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `lineinfo` -- LOCK TABLES `lineinfo` WRITE; /*!40000 ALTER TABLE `lineinfo` DISABLE KEYS */; INSERT INTO `lineinfo` VALUES (8,NULL,'default','Softbank회선','27.125.207.128/25',1000000,'default','2025-05-01',NULL,'2025-05-29 06:45:34'); /*!40000 ALTER TABLE `lineinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `logger` -- DROP TABLE IF EXISTS `logger`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `logger` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `user_uid` int(11) NOT NULL, `class_name` varchar(255) DEFAULT NULL, `method_name` varchar(255) DEFAULT NULL, `title` varchar(255) NOT NULL, `content` text NOT NULL, `status` varchar(20) DEFAULT 'default', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_user_TO_logger` (`user_uid`), CONSTRAINT `FK_user_TO_logger` FOREIGN KEY (`user_uid`) REFERENCES `user` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `logger` -- LOCK TABLES `logger` WRITE; /*!40000 ALTER TABLE `logger` DISABLE KEYS */; INSERT INTO `logger` VALUES (1,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:20:05[debug]: 입력내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:20:05[debug]: [1/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 1,\n)\n12:20:05[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:20:05'),(2,1,'Equipment\\Server','create','작업이 실패하였습니다.','12:21:29[debug]: 입력내용\n12:21:29[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2017-06-07',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '300000',\n 'status' => 'default',\n 'description' => '',\n)\n12:21:29[error]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n\n12:21:29[debug]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n','default','2025-06-02 03:21:29'),(3,1,'Equipment\\Server','delete','작업이 성공적으로 완료되었습니다.','12:22:37[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]삭제되였습니다.:','default','2025-06-02 03:22:37'),(4,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:27:07[debug]: 입력내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'description' => '',\n)\n12:27:07[debug]: [3/HP DL360 Gen 6 [HP DL360 Gen 6]] 입력 후 내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'uid' => 3,\n)\n12:27:07[info]: [HP DL360 Gen 6 [HP DL360 Gen 6]]생성되었습니다.:','default','2025-06-02 03:27:08'),(5,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:06[debug]: 입력내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:06[debug]: [4/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'uid' => 4,\n)\n12:28:06[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:28:06'),(6,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:35[debug]: 입력내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:35[debug]: [5/HP DL360 Gen 8 [HP DL360 Gen 8]] 입력 후 내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 5,\n)\n12:28:35[info]: [HP DL360 Gen 8 [HP DL360 Gen 8]]생성되었습니다.:','default','2025-06-02 03:28:35'),(7,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:22[debug]: 입력내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:22[debug]: [6/3,4,5세대 PC [3,4,5세대 PC]] 입력 후 내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'uid' => 6,\n)\n12:29:22[info]: [3,4,5세대 PC [3,4,5세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:22'),(8,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:55[debug]: 입력내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:55[debug]: [7/6,7,8세대 PC [6,7,8세대 PC]] 입력 후 내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'uid' => 7,\n)\n12:29:55[info]: [6,7,8세대 PC [6,7,8세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:55'),(9,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:30:31[debug]: 입력내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'description' => '',\n)\n12:30:31[debug]: [8/12,13,14세대 MiniPC [12,13,14세대 MiniPC]] 입력 후 내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'uid' => 8,\n)\n12:30:31[info]: [12,13,14세대 MiniPC [12,13,14세대 MiniPC]]생성되었습니다.:','default','2025-06-02 03:30:31'); /*!40000 ALTER TABLE `logger` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `paymentinfo` -- DROP TABLE IF EXISTS `paymentinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `paymentinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `invoiceinfo_uid` int(11) NOT NULL, `alias` varchar(50) NOT NULL COMMENT '결제자명', `type` varchar(20) NOT NULL COMMENT '결제방식', `amount` int(11) NOT NULL DEFAULT 0 COMMENT '결제금액', `paid_at` date DEFAULT NULL COMMENT '결제일', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_invoiceinfo_TO_paymentinfo` (`invoiceinfo_uid`), CONSTRAINT `FK_invoiceinfo_TO_paymentinfo` FOREIGN KEY (`invoiceinfo_uid`) REFERENCES `invoiceinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='결제정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `paymentinfo` -- LOCK TABLES `paymentinfo` WRITE; /*!40000 ALTER TABLE `paymentinfo` DISABLE KEYS */; /*!40000 ALTER TABLE `paymentinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `pointinfo` -- DROP TABLE IF EXISTS `pointinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pointinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `title` varchar(255) NOT NULL, `amount` int(11) NOT NULL DEFAULT 0 COMMENT '압출금액', `status` varchar(20) NOT NULL DEFAULT 'default', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_clientinfo_TO_pointinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_pointinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='포인트정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `pointinfo` -- LOCK TABLES `pointinfo` WRITE; /*!40000 ALTER TABLE `pointinfo` DISABLE KEYS */; INSERT INTO `pointinfo` VALUES (1,3,'5월포인트입금',100000,'default','2025-05-29 06:10:41'),(2,3,'5월포인트출금',50000,'out','2025-05-29 06:10:55'); /*!40000 ALTER TABLE `pointinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `raminfo` -- DROP TABLE IF EXISTS `raminfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `raminfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_model` (`model`) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='RAM 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `raminfo` -- LOCK TABLES `raminfo` WRITE; /*!40000 ALTER TABLE `raminfo` DISABLE KEYS */; INSERT INTO `raminfo` VALUES (1,'Samsung SSD 860 256G',50000,'default',NULL,'2025-05-29 07:27:54'),(2,'Samsung SSD 870 EVO 500G',70000,'default',NULL,'2025-05-29 07:28:09'),(3,'Samsung SSD 870 Pro 500G',80000,'default',NULL,'2025-05-29 07:28:18'); /*!40000 ALTER TABLE `raminfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `serverinfo` -- DROP TABLE IF EXISTS `serverinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `serverinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) DEFAULT NULL COMMENT '소유자정보', `code` varchar(20) NOT NULL, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `description` text DEFAULT NULL, `status` varchar(20) NOT NULL DEFAULT 'default', `manufactur_at` timestamp NOT NULL DEFAULT current_timestamp() COMMENT '제조일', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_uid` (`uid`), UNIQUE KEY `UQ_code` (`code`), KEY `FK_clientinfo_TO_serverinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_serverinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `serverinfo` -- LOCK TABLES `serverinfo` WRITE; /*!40000 ALTER TABLE `serverinfo` DISABLE KEYS */; INSERT INTO `serverinfo` VALUES (3,NULL,'X386','HP DL360 Gen 6',100000,NULL,'default','2025-05-31 15:00:00',NULL,'2025-06-02 03:27:07'),(4,NULL,'XE785','HP DL360 Gen 7',150000,NULL,'default','2019-06-03 15:00:00',NULL,'2025-06-02 03:28:06'),(5,NULL,'ZE2345','HP DL360 Gen 8',200000,NULL,'default','2019-06-10 15:00:00',NULL,'2025-06-02 03:28:35'),(6,NULL,'I3A23','3,4,5세대 PC',50000,NULL,'default','2025-04-15 15:00:00',NULL,'2025-06-02 03:29:22'),(7,NULL,'I7','6,7,8세대 PC',70000,NULL,'default','2025-02-03 15:00:00',NULL,'2025-06-02 03:29:55'),(8,NULL,'Min234','12,13,14세대 MiniPC',90000,NULL,'default','2025-04-15 15:00:00',NULL,'2025-06-02 03:30:31'); /*!40000 ALTER TABLE `serverinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `serviceinfo` -- DROP TABLE IF EXISTS `serviceinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `serviceinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, `switch` varchar(20) NOT NULL, `location` varchar(20) DEFAULT NULL, `type` varchar(20) NOT NULL, `raid` varchar(20) NOT NULL, `billing_at` date NOT NULL COMMENT '청구일', `start_at` date NOT NULL COMMENT '시작일', `end_at` date DEFAULT NULL COMMENT '종료일', `status` varchar(20) NOT NULL DEFAULT 'default' COMMENT '상태', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_clientinfo_TO_serviceinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_serviceinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `serviceinfo` -- LOCK TABLES `serviceinfo` WRITE; /*!40000 ALTER TABLE `serviceinfo` DISABLE KEYS */; /*!40000 ALTER TABLE `serviceinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `serviceinfo_items` -- DROP TABLE IF EXISTS `serviceinfo_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `serviceinfo_items` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `serviceinfo_uid` int(11) NOT NULL, `item_type` varchar(20) NOT NULL, `item_uid` int(11) NOT NULL, `billing_cyle` varchar(20) NOT NULL, `price` int(11) NOT NULL DEFAULT 0 COMMENT '소비자금액', `amount` int(11) NOT NULL DEFAULT 0 COMMENT '청구금액', `start_at` date DEFAULT NULL COMMENT '시작일', `end_at` date DEFAULT NULL COMMENT '종료일', `status` varchar(20) NOT NULL DEFAULT 'default' COMMENT '상태', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_serviceinfo_TO_serviceinfo_items` (`serviceinfo_uid`), CONSTRAINT `FK_serviceinfo_TO_serviceinfo_items` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스Item정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `serviceinfo_items` -- LOCK TABLES `serviceinfo_items` WRITE; /*!40000 ALTER TABLE `serviceinfo_items` DISABLE KEYS */; /*!40000 ALTER TABLE `serviceinfo_items` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `softwareinfo` -- DROP TABLE IF EXISTS `softwareinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `softwareinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `description` text DEFAULT NULL, `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_model` (`model`) ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='소프트웨어 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `softwareinfo` -- LOCK TABLES `softwareinfo` WRITE; /*!40000 ALTER TABLE `softwareinfo` DISABLE KEYS */; INSERT INTO `softwareinfo` VALUES (1,'Windows','Windows 2008R2 Ent',10000,NULL,'default',NULL,'2025-05-29 07:23:17'),(2,'Windows','Windows 10',5000,NULL,'default',NULL,'2025-05-29 07:23:36'),(3,'Linux','CentOS 7.9',5000,NULL,'default',NULL,'2025-05-29 07:23:53'),(4,'Security','닷디펜더',10000,NULL,'default',NULL,'2025-05-29 07:24:14'),(5,'Virus','비트디펜더',5000,NULL,'default',NULL,'2025-05-29 07:24:36'); /*!40000 ALTER TABLE `softwareinfo` ENABLE KEYS */; UNLOCK TABLES; -- -- Table structure for table `user` -- DROP TABLE IF EXISTS `user`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `user` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `id` varchar(20) NOT NULL, `passwd` varchar(255) NOT NULL, `name` varchar(20) NOT NULL, `email` varchar(50) NOT NULL, `mobile` varchar(20) DEFAULT NULL, `role` varchar(50) DEFAULT NULL, `status` varchar(20) DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_id` (`id`), UNIQUE KEY `UQ_email` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='관리자정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- -- Dumping data for table `user` -- LOCK TABLES `user` WRITE; /*!40000 ALTER TABLE `user` DISABLE KEYS */; INSERT INTO `user` VALUES (1,'choi.jh','$2y$10$9kUte0xrvEkxtI9CzVaeKeCAxzOR4pKPpsCaQHR1YW7dXsCrTLWeC','최준흠','choi.jh@prime-idc.jp','','manager,cloudflare,firewall,director,master','default','2023-05-31 14:55:51','2023-03-23 06:50:04'),(2,'cho.jh','$2y$10$ot/aUXR/W1n4Q3dZA2dZCOxQrpVb2Bq31Y7xFQS3G6D1gtImmyBjm','조준희','cho.jh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-30 14:35:55','2023-03-24 02:20:48'),(4,'kimdy','$2y$10$18uyn94xdprzAnt.oYZ5weAvb8rRLhkz/SdQrjEK7yuGhCr9PlUCC','김동윤','kimdy@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:21:50','2023-03-24 02:21:50'),(5,'kimhy','$2y$10$.yEKVqY.F7HoSOZijl4uyeulUtfAQ4EDRiyR2JpgFYBuKw.mZoZvG','김효영','khy@prime-idc.jp',NULL,'manager,cloudflare,director','default','2023-03-24 02:23:18','2023-03-24 02:23:18'),(6,'kim.eh','$2y$10$YmwicI.Br4XNyGamfRADMOu.qlkwKd2fmnNkL7YIkNHGndvqYPnCq','김은혁','kim.eh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:23:52','2023-03-24 02:23:52'),(7,'leeph','$2y$10$lR739WzJsW6rDLgchYs7buek4BYeTlKHTQY60RDqRms9Io7RSY3AC','이풍호','leeph@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-29 16:32:52','2023-03-24 02:24:21'),(8,'jinmingyu','$2y$10$PI8WA6d/z4hDE6hxJoUhbuMH3vTTWH0Ry2Z6fTLUUpwQGaE/9bEZa','김명옥','jinmingyu@idcjp.jp',NULL,'manager,cloudflare','default','2023-07-21 06:48:39','2023-03-24 02:25:00'),(9,'kangdh','$2y$10$gu9OS2DDQQ5H.Hh61t3BSOUp87l35q.xsduVSxvCcn8IgA4jrATgG','강동헌','kang.dh@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-22 23:59:07','2023-03-24 02:25:48'),(10,'yoohs','$2y$10$TGASk98FuZ6Ux6FDquu1aO3rztA01MCle/Vs1.3iaEMQzakAbCzJy','유혜성','yoo.hs@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-02 02:07:19','2023-03-24 02:26:31'),(11,'kim.yh','$2y$10$8GciQXpKYiR3TDWQfh9JjOQAQ.YWGoOSCL0a0/w4XACO0mUgjjbWy','김영환','kim.yh@idcjp.jp',NULL,'manager,cloudflare,firewall','default','2023-10-16 23:08:51','2023-03-24 02:27:05'),(12,'yunmuj','$2y$10$zkgwGVj2JSOVIsxLe8fePe1gvWWaCemfZMktzBlrN8oLb3CKydkZC','윤무정','yunmuj@idcjp.jp',NULL,'manager,cloudflare','default','2024-06-12 00:21:07','2023-03-24 02:27:59'),(13,'kim.mt','$2y$10$3dfkA0oq4LqiJOmjbBGKe.p0Dhj/MDqjoTdw11BOPF/H2qJqnEuHO','김문태','kim.mt@idcjp.jp',NULL,'manager,cloudflare','default','2023-05-31 14:22:43','2023-03-24 02:28:31'),(14,'shin.ms','$2y$10$.jaDkGtm/gZK3ZDF.fJUGOwMI7Zif5588X5AxSMvvk238RDI7spQ6','신민수','shin.ms@idcjp.jp',NULL,'manager,cloudflare','default','2023-03-24 02:29:00','2023-03-24 02:29:00'),(15,'park.sm','$2y$10$BwMxw0uvw2tAdQ0EZQ2/hu.Q7zYu7mbuBPPRTaa14bwG3VLf0cXfu','박선미','park.sm@idcjp.jp',NULL,'manager,cloudflare','default','2024-03-12 02:14:09','2023-03-24 02:29:34'),(19,'park.hg','$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e','박혁규','park.hg@prime-idc.jp',NULL,'manager','pause','2023-09-04 10:27:32','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','pause','2023-12-18 08:56:29','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','pause','2024-06-06 23:51:19','2024-02-26 01:26:20'),(23,'cho.sh','$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y','조성호','cho.sh@prime-idc.jp','','manager','pause','2024-10-02 00:45:19','2024-10-02 00:32:30'),(24,'kobn','$2y$10$pWM/XFfSNeSng32sypbDX.WaR4UlM4EDkYKCQfFkYIOC7Ppg0nc5G','고병남','ko@prime-idc.jp',NULL,'manager,cloudflare','default',NULL,'2024-10-29 06:30:19'),(25,'jeong.sg','$2y$10$OzH6140JztiUEs4s/VHbPOxfxubFooqwqVhGpdFG8OJCGAFXNu546','정상구','jeong.sg@prime-idc.jp',NULL,'manager,cloudflare','default','2025-01-23 00:30:13','2025-01-23 00:29:46'),(38,'choi.jh234222222','$2y$10$zCgVXnCClLbftgeGxH0rk.v3o1zHkoO8Ywq2UDmGkdjIhK5mLJhvu','adfasdfas2222','postfixadmin@idcjp.jp2222222','043443432722222','cloudflare','pause',NULL,'2025-05-02 04:49:19'),(40,'choi.jh2342222224','$2y$10$hP/z5Nojh4eNKnTxZe3Cm.0NtvqHW2U2U0vvVDSzelKRaXSxlVj2y','adfasdfas22222221234','postfixadmin@idcjp.jp3234343','04344343271234','manager,cloudflare','pause',NULL,'2025-05-02 06:34:43'); /*!40000 ALTER TABLE `user` 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 2025-06-02 12:30:48