diff --git a/app/Config/Constants.php b/app/Config/Constants.php index 15b2988..0084a18 100644 --- a/app/Config/Constants.php +++ b/app/Config/Constants.php @@ -97,6 +97,7 @@ define('EVENT_PRIORITY_HIGH', 10); define('DEFAULTS', [ 'DELIMITER_FILE' => "||", 'DELIMITER_ROLE' => ",", + 'STATUS' => "default", ]); define('MESSAGES', [ 'CREATED' => '생성되었습니다.', diff --git a/app/Controllers/Admin/Customer/ServicePartController.php b/app/Controllers/Admin/Customer/ServicePartController.php deleted file mode 100644 index 53e0b19..0000000 --- a/app/Controllers/Admin/Customer/ServicePartController.php +++ /dev/null @@ -1,93 +0,0 @@ -uri_path .= strtolower($this->getService()->getClassName()) . '/'; - $this->class_path = $this->getService()->getClassPath(); - $this->title = lang("{$this->getService()->getClassPath()}.title"); - $this->helper = $this->getHelper(); - } - public function getService(): ServicePartService - { - if (!$this->_service) { - $this->_service = new ServicePartService($this->request); - } - return $this->_service; - } - public function getHelper(): mixed - { - if (!$this->_helper) { - $this->_helper = new ServicePartHelper($this->request); - } - return $this->_helper; - } - final public function getPartService(): PartService - { - if (!$this->_partService) { - $this->_partService = new PartService($this->request); - } - return $this->_partService; - } - protected function getFormFieldOption(string $field, array $options): array - { - switch ($field) { - case 'serviceinfo_uid': - $options[$field] = $this->getServiceService()->getFormFieldOption($field,); - break; - case 'partinfo_uid': - $options[$field] = $this->getPartService()->getFormFieldOption($field,); - break; - default: - $options = parent::getFormFieldOption($field, $options); - break; - } - return $options; - } - protected function getResultPageByActon(string $action, string $message = MESSAGES["SUCCESS"]): RedirectResponse|string - { - switch ($action) { - case 'index': - case 'view': - $this->getHelper()->setViewDatas($this->getViewDatas()); - $result = view($this->view_path . "popup" . DIRECTORY_SEPARATOR . $action, ['viewDatas' => $this->getViewDatas()]); - break; - default: - $result = parent::getResultPageByActon($action, $message); - break; - } - return $result; - } - //Index,FieldForm관련 - - - protected function setOrderByForList() - { - //OrderBy 처리 - $this->getService()->getModel()->orderBy('serviceinfo_uid', 'ASC', false); - parent::setOrderByForList(); - } - protected function index_process(): array - { - $fields = [ - 'fields' => ['serviceinfo_uid', 'billing_type', 'partinfo_uid'], - ]; - $this->init('index', $fields); - $this->modal_type = 'modal_iframe'; - return parent::index_process(); - } -} diff --git a/app/Controllers/Admin/Equipment/ServerPartController.php b/app/Controllers/Admin/Equipment/ServerPartController.php deleted file mode 100644 index c4edc4a..0000000 --- a/app/Controllers/Admin/Equipment/ServerPartController.php +++ /dev/null @@ -1,93 +0,0 @@ -uri_path .= strtolower($this->getService()->getClassName()) . '/'; - $this->class_path = $this->getService()->getClassPath(); - $this->title = lang("{$this->getService()->getClassPath()}.title"); - $this->helper = $this->getHelper(); - } - public function getService(): ServerPartService - { - if (!$this->_service) { - $this->_service = new ServerPartService($this->request); - } - return $this->_service; - } - public function getHelper(): mixed - { - if (!$this->_helper) { - $this->_helper = new ServerPartHelper($this->request); - } - return $this->_helper; - } - final public function getPartService(): PartService - { - if (!$this->_partService) { - $this->_partService = new PartService($this->request); - } - return $this->_partService; - } - protected function getFormFieldOption(string $field, array $options): array - { - switch ($field) { - case 'serverinfo_uid': - $options = $this->getServerService()->getFormFieldOption($field); - break; - case 'partinfo_uid': - $options = $this->getPartService()->getFormFieldOption($field); - break; - default: - $options = parent::getFormFieldOption($field, $options); - break; - } - return $options; - } - protected function getResultPageByActon(string $action, string $message = MESSAGES["SUCCESS"]): RedirectResponse|string - { - switch ($action) { - case 'index': - case 'view': - $this->getHelper()->setViewDatas($this->getViewDatas()); - $result = view($this->view_path . "popup" . DIRECTORY_SEPARATOR . $action, ['viewDatas' => $this->getViewDatas()]); - break; - default: - $result = parent::getResultPageByActon($action, $message); - break; - } - return $result; - } - //Index,FieldForm관련 - - - protected function setOrderByForList() - { - //OrderBy 처리 - $this->getService()->getModel()->orderBy('serverinfo_uid', 'ASC', false); - parent::setOrderByForList(); - } - protected function index_process(): array - { - $fields = [ - 'fields' => ['serverinfo_uid', 'type', 'partinfo_uid'], - ]; - $this->init('index', $fields); - $this->modal_type = 'modal_iframe'; - return parent::index_process(); - } -} diff --git a/app/Database/dbms_init.sql b/app/Database/dbms_init.sql index 1f1d527..7e95695 100644 --- a/app/Database/dbms_init.sql +++ b/app/Database/dbms_init.sql @@ -16,36 +16,6 @@ /*!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 'in', - `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 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 */; -/*!40000 ALTER TABLE `accountinfo` ENABLE KEYS */; -UNLOCK TABLES; - -- -- Table structure for table `billinginfo` -- @@ -58,7 +28,7 @@ CREATE TABLE `billinginfo` ( `serviceinfo_uid` int(11) NOT NULL, `issue_at` date NOT NULL, `total_amount` int(11) NOT NULL DEFAULT 0, - `status` varchar(20) DEFAULT 'unpaid', + `status` varchar(20) DEFAULT 'default', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), KEY `FK_serviceinfo_TO_billinginfo` (`serviceinfo_uid`), @@ -90,7 +60,7 @@ CREATE TABLE `clientinfo` ( `email` varchar(50) NOT NULL, `coupon_balance` int(11) NOT NULL DEFAULT 0 COMMENT '쿠폰수', `point_balance` int(11) NOT NULL DEFAULT 0 COMMENT '포인트', - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`) @@ -118,7 +88,7 @@ CREATE TABLE `couponinfo` ( `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 'in', + `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`), @@ -145,6 +115,7 @@ DROP TABLE IF EXISTS `cpuinfo`; CREATE TABLE `cpuinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT 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`), @@ -161,6 +132,41 @@ LOCK TABLES `cpuinfo` WRITE; /*!40000 ALTER TABLE `cpuinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `cpuinfo_link` +-- + +DROP TABLE IF EXISTS `cpuinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `cpuinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) DEFAULT NULL, + `serverinfo_uid` int(11) NOT NULL, + `cpuinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_cpuinfo_link` (`serviceinfo_uid`), + KEY `FK_cpuinfo_TO_cpuinfo_link` (`cpuinfo_uid`), + KEY `FK_serverinfo_TO_cpuinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_cpuinfo_TO_cpuinfo_link` FOREIGN KEY (`cpuinfo_uid`) REFERENCES `cpuinfo` (`uid`), + CONSTRAINT `FK_serverinfo_TO_cpuinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_cpuinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_CPU 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `cpuinfo_link` +-- + +LOCK TABLES `cpuinfo_link` WRITE; +/*!40000 ALTER TABLE `cpuinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `cpuinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `defenceinfo` -- @@ -172,9 +178,10 @@ CREATE TABLE `defenceinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `type` varchar(20) NOT NULL DEFAULT 'VPC-CS', `ip` varchar(50) DEFAULT NULL, + `accountid` varchar(50) DEFAULT NULL, `domain` varchar(100) DEFAULT NULL, `description` text DEFAULT NULL, - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), @@ -191,6 +198,41 @@ LOCK TABLES `defenceinfo` WRITE; /*!40000 ALTER TABLE `defenceinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `defenceinfo_link` +-- + +DROP TABLE IF EXISTS `defenceinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `defenceinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) NOT NULL, + `serverinfo_uid` int(11) NOT NULL, + `defenceinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) NOT NULL DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_defenceinfo_link` (`serviceinfo_uid`), + KEY `FK_defenceinfo_TO_defenceinfo_link` (`defenceinfo_uid`), + KEY `FK_serverinfo_TO_defenceinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_defenceinfo_TO_defenceinfo_link` FOREIGN KEY (`defenceinfo_uid`) REFERENCES `defenceinfo` (`uid`), + CONSTRAINT `FK_serverinfo_TO_defenceinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_defenceinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-방어 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `defenceinfo_link` +-- + +LOCK TABLES `defenceinfo_link` WRITE; +/*!40000 ALTER TABLE `defenceinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `defenceinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `diskinfo` -- @@ -201,6 +243,7 @@ DROP TABLE IF EXISTS `diskinfo`; CREATE TABLE `diskinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT 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`), @@ -217,6 +260,41 @@ LOCK TABLES `diskinfo` WRITE; /*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `diskinfo_link` +-- + +DROP TABLE IF EXISTS `diskinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `diskinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) DEFAULT NULL, + `serverinfo_uid` int(11) NOT NULL, + `diskinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_diskinfo_link` (`serviceinfo_uid`), + KEY `FK_diskinfo_TO_diskinfo_link` (`diskinfo_uid`), + KEY `FK_serverinfo_TO_diskinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_diskinfo_TO_diskinfo_link` FOREIGN KEY (`diskinfo_uid`) REFERENCES `diskinfo` (`uid`), + CONSTRAINT `FK_serverinfo_TO_diskinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_diskinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_DISK 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `diskinfo_link` +-- + +LOCK TABLES `diskinfo_link` WRITE; +/*!40000 ALTER TABLE `diskinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `diskinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `ipinfo` -- @@ -228,7 +306,7 @@ CREATE TABLE `ipinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `lineinfo_uid` int(11) NOT NULL, `ip` char(16) NOT NULL, - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), @@ -247,6 +325,39 @@ LOCK TABLES `ipinfo` WRITE; /*!40000 ALTER TABLE `ipinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `ipinfo_link` +-- + +DROP TABLE IF EXISTS `ipinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ipinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) NOT NULL, + `serverinfo_uid` int(11) NOT NULL, + `ipinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) NOT NULL DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_ipinfo_link` (`serviceinfo_uid`), + KEY `FK_serverinfo_TO_ipinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_serverinfo_TO_ipinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_ipinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-IP 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ipinfo_link` +-- + +LOCK TABLES `ipinfo_link` WRITE; +/*!40000 ALTER TABLE `ipinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `ipinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `lineinfo` -- @@ -260,7 +371,7 @@ CREATE TABLE `lineinfo` ( `type` varchar(20) NOT NULL DEFAULT 'general' COMMENT '회선구분', `title` varchar(100) NOT NULL, `bandwith` varchar(20) NOT NULL COMMENT 'IP 대역', - `status` varchar(20) NOT NULL DEFAULT 'use', + `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(), @@ -280,6 +391,38 @@ LOCK TABLES `lineinfo` WRITE; /*!40000 ALTER TABLE `lineinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `lineinfo_link` +-- + +DROP TABLE IF EXISTS `lineinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `lineinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) NOT NULL, + `lineinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) NOT NULL DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_lineinfo_link` (`serviceinfo_uid`), + KEY `FK_lineinfo_TO_lineinfo_link` (`lineinfo_uid`), + CONSTRAINT `FK_lineinfo_TO_lineinfo_link` FOREIGN KEY (`lineinfo_uid`) REFERENCES `lineinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_lineinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Line연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `lineinfo_link` +-- + +LOCK TABLES `lineinfo_link` WRITE; +/*!40000 ALTER TABLE `lineinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `lineinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `logger` -- @@ -289,7 +432,7 @@ DROP TABLE IF EXISTS `logger`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `logger` ( `uid` int(11) NOT NULL AUTO_INCREMENT, - `userinfo_uid` int(11) NOT NULL, + `user_uid` int(11) NOT NULL, `class_name` varchar(255) DEFAULT NULL, `method_name` varchar(255) DEFAULT NULL, `title` varchar(255) NOT NULL, @@ -297,7 +440,7 @@ CREATE TABLE `logger` ( `status` varchar(20) DEFAULT 'use', `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그'; +) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -306,6 +449,7 @@ CREATE TABLE `logger` ( LOCK TABLES `logger` WRITE; /*!40000 ALTER TABLE `logger` DISABLE KEYS */; +INSERT INTO `logger` VALUES (22,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:24[debug]: [23/조성호] 변경 전 내용\n11:02:24[debug]: array (\n \'uid\' => \'23\',\n \'id\' => \'cho.sh\',\n \'passwd\' => \'$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y\',\n \'name\' => \'조성호\',\n \'email\' => \'cho.sh@prime-idc.jp\',\n \'mobile\' => \'\',\n \'role\' => \'manager\',\n \'status\' => \'unuse\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-10-02 09:45:19.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-10-02 09:32:30.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:24[debug]: [23/조성호] 변경 후 내용\n11:02:24[debug]: array (\n \'uid\' => \'23\',\n \'id\' => \'cho.sh\',\n \'passwd\' => \'$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y\',\n \'name\' => \'조성호\',\n \'email\' => \'cho.sh@prime-idc.jp\',\n \'mobile\' => \'\',\n \'role\' => \'manager\',\n \'status\' => \'pause\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2025-05-22 11:02:24.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-10-02 09:32:30.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:24[info]: [조성호]수정되였습니다.:','use','2025-05-22 02:02:24'),(23,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:28[debug]: [22/배장훈] 변경 전 내용\n11:02:28[debug]: array (\n \'uid\' => \'22\',\n \'id\' => \'bjh\',\n \'passwd\' => \'$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS\',\n \'name\' => \'배장훈\',\n \'email\' => \'bjh@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'cloudflare\',\n \'status\' => \'unuse\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-06-07 08:51:19.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-02-26 10:26:20.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:28[debug]: [22/배장훈] 변경 후 내용\n11:02:28[debug]: array (\n \'uid\' => \'22\',\n \'id\' => \'bjh\',\n \'passwd\' => \'$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS\',\n \'name\' => \'배장훈\',\n \'email\' => \'bjh@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'cloudflare\',\n \'status\' => \'pause\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2025-05-22 11:02:28.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2024-02-26 10:26:20.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:28[info]: [배장훈]수정되였습니다.:','use','2025-05-22 02:02:28'),(24,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:31[debug]: [21/김창국] 변경 전 내용\n11:02:31[debug]: array (\n \'uid\' => \'21\',\n \'id\' => \'masakuni\',\n \'passwd\' => \'$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe\',\n \'name\' => \'김창국\',\n \'email\' => \'masakuni@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'cloudflare\',\n \'status\' => \'unuse\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-12-18 17:56:29.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-12-18 17:56:29.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:31[debug]: [21/김창국] 변경 후 내용\n11:02:31[debug]: array (\n \'uid\' => \'21\',\n \'id\' => \'masakuni\',\n \'passwd\' => \'$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe\',\n \'name\' => \'김창국\',\n \'email\' => \'masakuni@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'cloudflare\',\n \'status\' => \'pause\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2025-05-22 11:02:31.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-12-18 17:56:29.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:31[info]: [김창국]수정되였습니다.:','use','2025-05-22 02:02:31'),(25,1,'User','toggle','작업이 성공적으로 완료되었습니다.','11:02:36[debug]: [19/박혁규] 변경 전 내용\n11:02:36[debug]: array (\n \'uid\' => \'19\',\n \'id\' => \'park.hg\',\n \'passwd\' => \'$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e\',\n \'name\' => \'박혁규\',\n \'email\' => \'park.hg@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'manager\',\n \'status\' => \'unuse\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-09-04 19:27:32.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-09-04 18:48:02.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:36[debug]: [19/박혁규] 변경 후 내용\n11:02:36[debug]: array (\n \'uid\' => \'19\',\n \'id\' => \'park.hg\',\n \'passwd\' => \'$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e\',\n \'name\' => \'박혁규\',\n \'email\' => \'park.hg@prime-idc.jp\',\n \'mobile\' => NULL,\n \'role\' => \'manager\',\n \'status\' => \'pause\',\n \'updated_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2025-05-22 11:02:36.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'created_at\' => \n \\CodeIgniter\\I18n\\Time::__set_state(array(\n \'timezone\' => \n \\DateTimeZone::__set_state(array(\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n \'locale\' => \'en\',\n \'toStringFormat\' => \'yyyy-MM-dd HH:mm:ss\',\n \'date\' => \'2023-09-04 18:48:02.000000\',\n \'timezone_type\' => 3,\n \'timezone\' => \'Asia/Seoul\',\n )),\n)\n11:02:36[info]: [박혁규]수정되였습니다.:','use','2025-05-22 02:02:36'); /*!40000 ALTER TABLE `logger` ENABLE KEYS */; UNLOCK TABLES; @@ -321,7 +465,7 @@ CREATE TABLE `pointinfo` ( `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 'in', + `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`), @@ -348,6 +492,7 @@ DROP TABLE IF EXISTS `raminfo`; CREATE TABLE `raminfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT 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`), @@ -364,6 +509,41 @@ LOCK TABLES `raminfo` WRITE; /*!40000 ALTER TABLE `raminfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `raminfo_link` +-- + +DROP TABLE IF EXISTS `raminfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `raminfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) DEFAULT NULL, + `serverinfo_uid` int(11) NOT NULL, + `raminfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_raminfo_link` (`serviceinfo_uid`), + KEY `FK_raminfo_TO_raminfo_link` (`raminfo_uid`), + KEY `FK_serverinfo_TO_raminfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_raminfo_TO_raminfo_link` FOREIGN KEY (`raminfo_uid`) REFERENCES `raminfo` (`uid`), + CONSTRAINT `FK_serverinfo_TO_raminfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_raminfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='섭비스_RAM 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `raminfo_link` +-- + +LOCK TABLES `raminfo_link` WRITE; +/*!40000 ALTER TABLE `raminfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `raminfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `serverinfo` -- @@ -374,10 +554,10 @@ DROP TABLE IF EXISTS `serverinfo`; CREATE TABLE `serverinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `code` varchar(20) NOT NULL, - `type` varchar(20) NOT NULL DEFAULT 'Rack', + `type` varchar(20) NOT NULL DEFAULT 'Rackmount', `model` varchar(50) NOT NULL, `description` text DEFAULT NULL, - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), @@ -396,90 +576,35 @@ LOCK TABLES `serverinfo` WRITE; UNLOCK TABLES; -- --- Table structure for table `serverinfos_cpuinfos` +-- Table structure for table `serverinfo_link` -- -DROP TABLE IF EXISTS `serverinfos_cpuinfos`; +DROP TABLE IF EXISTS `serverinfo_link`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serverinfos_cpuinfos` ( +CREATE TABLE `serverinfo_link` ( `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) NOT NULL, `serverinfo_uid` int(11) NOT NULL, - `cpuinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) NOT NULL DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), - KEY `FK_serverinfo_TO_serverinfos_cpuinfos` (`serverinfo_uid`), - KEY `FK_cpuinfo_TO_serverinfos_cpuinfos` (`cpuinfo_uid`), - CONSTRAINT `FK_cpuinfo_TO_serverinfos_cpuinfos` FOREIGN KEY (`cpuinfo_uid`) REFERENCES `cpuinfo` (`uid`), - CONSTRAINT `FK_serverinfo_TO_serverinfos_cpuinfos` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버-CPU 연결'; + KEY `FK_serviceinfo_TO_serverinfo_link` (`serviceinfo_uid`), + KEY `FK_serverinfo_TO_serverinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_serverinfo_TO_serverinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_serverinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Server 연결'; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Dumping data for table `serverinfos_cpuinfos` +-- Dumping data for table `serverinfo_link` -- -LOCK TABLES `serverinfos_cpuinfos` WRITE; -/*!40000 ALTER TABLE `serverinfos_cpuinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serverinfos_cpuinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serverinfos_diskinfos` --- - -DROP TABLE IF EXISTS `serverinfos_diskinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serverinfos_diskinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serverinfo_uid` int(11) NOT NULL, - `diskinfo_uid` int(11) NOT NULL, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serverinfo_TO_serverinfos_diskinfos` (`serverinfo_uid`), - KEY `FK_diskinfo_TO_serverinfos_diskinfos` (`diskinfo_uid`), - CONSTRAINT `FK_diskinfo_TO_serverinfos_diskinfos` FOREIGN KEY (`diskinfo_uid`) REFERENCES `diskinfo` (`uid`), - CONSTRAINT `FK_serverinfo_TO_serverinfos_diskinfos` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버-DISK연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serverinfos_diskinfos` --- - -LOCK TABLES `serverinfos_diskinfos` WRITE; -/*!40000 ALTER TABLE `serverinfos_diskinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serverinfos_diskinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serverinfos_raminfos` --- - -DROP TABLE IF EXISTS `serverinfos_raminfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serverinfos_raminfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serverinfo_uid` int(11) NOT NULL, - `raminfo_uid` int(11) NOT NULL, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serverinfo_TO_serverinfos_raminfos` (`serverinfo_uid`), - KEY `FK_raminfo_TO_serverinfos_raminfos` (`raminfo_uid`), - CONSTRAINT `FK_raminfo_TO_serverinfos_raminfos` FOREIGN KEY (`raminfo_uid`) REFERENCES `raminfo` (`uid`), - CONSTRAINT `FK_serverinfo_TO_serverinfos_raminfos` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버-RAM 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serverinfos_raminfos` --- - -LOCK TABLES `serverinfos_raminfos` WRITE; -/*!40000 ALTER TABLE `serverinfos_raminfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serverinfos_raminfos` ENABLE KEYS */; +LOCK TABLES `serverinfo_link` WRITE; +/*!40000 ALTER TABLE `serverinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `serverinfo_link` ENABLE KEYS */; UNLOCK TABLES; -- @@ -497,7 +622,7 @@ CREATE TABLE `serviceinfo` ( `billing_at` date NOT NULL COMMENT '청구일', `start_at` date DEFAULT NULL COMMENT '개통일', `end_at` date DEFAULT NULL COMMENT '종료일', - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), @@ -515,252 +640,6 @@ LOCK TABLES `serviceinfo` WRITE; /*!40000 ALTER TABLE `serviceinfo` ENABLE KEYS */; UNLOCK TABLES; --- --- Table structure for table `serviceinfos_cpuinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_cpuinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_cpuinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `cpuinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_cpuinfos` (`serviceinfo_uid`), - KEY `FK_cpuinfo_TO_serviceinfos_cpuinfos` (`cpuinfo_uid`), - CONSTRAINT `FK_cpuinfo_TO_serviceinfos_cpuinfos` FOREIGN KEY (`cpuinfo_uid`) REFERENCES `cpuinfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_cpuinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_CPU 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_cpuinfos` --- - -LOCK TABLES `serviceinfos_cpuinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_cpuinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_cpuinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_defenceinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_defenceinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_defenceinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `defenceinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) NOT NULL DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_defenceinfos` (`serviceinfo_uid`), - KEY `FK_defenceinfo_TO_serviceinfos_defenceinfos` (`defenceinfo_uid`), - CONSTRAINT `FK_defenceinfo_TO_serviceinfos_defenceinfos` FOREIGN KEY (`defenceinfo_uid`) REFERENCES `defenceinfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_defenceinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-방어 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_defenceinfos` --- - -LOCK TABLES `serviceinfos_defenceinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_defenceinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_defenceinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_diskinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_diskinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_diskinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `diskinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_diskinfos` (`serviceinfo_uid`), - KEY `FK_diskinfo_TO_serviceinfos_diskinfos` (`diskinfo_uid`), - CONSTRAINT `FK_diskinfo_TO_serviceinfos_diskinfos` FOREIGN KEY (`diskinfo_uid`) REFERENCES `diskinfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_diskinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스_DISK 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_diskinfos` --- - -LOCK TABLES `serviceinfos_diskinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_diskinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_diskinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_ipinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_ipinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_ipinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `ipinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) NOT NULL DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_ipinfos` (`serviceinfo_uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_ipinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-IP 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_ipinfos` --- - -LOCK TABLES `serviceinfos_ipinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_ipinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_ipinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_lineinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_lineinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_lineinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `lineinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) NOT NULL DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_lineinfos` (`serviceinfo_uid`), - KEY `FK_lineinfo_TO_serviceinfos_lineinfos` (`lineinfo_uid`), - CONSTRAINT `FK_lineinfo_TO_serviceinfos_lineinfos` FOREIGN KEY (`lineinfo_uid`) REFERENCES `lineinfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_lineinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Line연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_lineinfos` --- - -LOCK TABLES `serviceinfos_lineinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_lineinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_lineinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_raminfos` --- - -DROP TABLE IF EXISTS `serviceinfos_raminfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_raminfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `cpuinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_raminfos` (`serviceinfo_uid`), - KEY `FK_raminfo_TO_serviceinfos_raminfos` (`cpuinfo_uid`), - CONSTRAINT `FK_raminfo_TO_serviceinfos_raminfos` FOREIGN KEY (`cpuinfo_uid`) REFERENCES `raminfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_raminfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='섭비스_RAM 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_raminfos` --- - -LOCK TABLES `serviceinfos_raminfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_raminfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_raminfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_serverinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_serverinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_serverinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `serverinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) NOT NULL DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_serverinfos` (`serviceinfo_uid`), - KEY `FK_serverinfo_TO_serviceinfos_serverinfos` (`serverinfo_uid`), - CONSTRAINT `FK_serverinfo_TO_serviceinfos_serverinfos` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_serverinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-Server 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_serverinfos` --- - -LOCK TABLES `serviceinfos_serverinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_serverinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_serverinfos` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `serviceinfos_softwareinfos` --- - -DROP TABLE IF EXISTS `serviceinfos_softwareinfos`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `serviceinfos_softwareinfos` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `serviceinfo_uid` int(11) NOT NULL, - `softwareinfo_uid` int(11) NOT NULL, - `billing_type` varchar(20) NOT NULL DEFAULT 'month', - `amount` int(11) NOT NULL DEFAULT 0, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - KEY `FK_serviceinfo_TO_serviceinfos_softwareinfos` (`serviceinfo_uid`), - KEY `FK_softwareinfo_TO_serviceinfos_softwareinfos` (`softwareinfo_uid`), - CONSTRAINT `FK_serviceinfo_TO_serviceinfos_softwareinfos` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`), - CONSTRAINT `FK_softwareinfo_TO_serviceinfos_softwareinfos` FOREIGN KEY (`softwareinfo_uid`) REFERENCES `softwareinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-소프트웨어 연결'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `serviceinfos_softwareinfos` --- - -LOCK TABLES `serviceinfos_softwareinfos` WRITE; -/*!40000 ALTER TABLE `serviceinfos_softwareinfos` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfos_softwareinfos` ENABLE KEYS */; -UNLOCK TABLES; - -- -- Table structure for table `softwareinfo` -- @@ -773,7 +652,7 @@ CREATE TABLE `softwareinfo` ( `type` varchar(20) NOT NULL DEFAULT 'Windows', `model` varchar(50) NOT NULL, `description` text DEFAULT NULL, - `status` varchar(20) NOT NULL DEFAULT 'use', + `status` varchar(20) NOT NULL DEFAULT 'default', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), @@ -790,6 +669,41 @@ LOCK TABLES `softwareinfo` WRITE; /*!40000 ALTER TABLE `softwareinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `softwareinfo_link` +-- + +DROP TABLE IF EXISTS `softwareinfo_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `softwareinfo_link` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `serviceinfo_uid` int(11) NOT NULL, + `serverinfo_uid` int(11) NOT NULL, + `softwareinfo_uid` int(11) NOT NULL, + `billing_type` varchar(20) NOT NULL DEFAULT 'month', + `amount` int(11) NOT NULL DEFAULT 0, + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + KEY `FK_serviceinfo_TO_softwareinfo_link` (`serviceinfo_uid`), + KEY `FK_softwareinfo_TO_softwareinfo_link` (`softwareinfo_uid`), + KEY `FK_serverinfo_TO_softwareinfo_link` (`serverinfo_uid`), + CONSTRAINT `FK_serverinfo_TO_softwareinfo_link` FOREIGN KEY (`serverinfo_uid`) REFERENCES `serverinfo` (`uid`), + CONSTRAINT `FK_serviceinfo_TO_softwareinfo_link` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`), + CONSTRAINT `FK_softwareinfo_TO_softwareinfo_link` FOREIGN KEY (`softwareinfo_uid`) REFERENCES `softwareinfo` (`uid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스-소프트웨어 연결'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `softwareinfo_link` +-- + +LOCK TABLES `softwareinfo_link` WRITE; +/*!40000 ALTER TABLE `softwareinfo_link` DISABLE KEYS */; +/*!40000 ALTER TABLE `softwareinfo_link` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `user` -- @@ -810,7 +724,9 @@ CREATE TABLE `user` ( `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `id` (`id`), - UNIQUE KEY `email` (`email`) + UNIQUE KEY `email` (`email`), + UNIQUE KEY `UQ_id` (`id`), + UNIQUE KEY `UQ_email` (`email`) ) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -820,7 +736,7 @@ CREATE 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','use','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','use','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','use','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','use','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','use','2023-03-24 02:23:52','2023-03-24 02:23:52'),(7,'leeph','$2y$10$lR739WzJsW6rDLgchYs7buek4BYeTlKHTQY60RDqRms9Io7RSY3AC','이풍호','leeph@prime-idc.jp',NULL,'manager,cloudflare','use','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','use','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','use','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','use','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','use','2023-10-16 23:08:51','2023-03-24 02:27:05'),(12,'yunmuj','$2y$10$zkgwGVj2JSOVIsxLe8fePe1gvWWaCemfZMktzBlrN8oLb3CKydkZC','윤무정','yunmuj@idcjp.jp',NULL,'manager,cloudflare','use','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','use','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','use','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','use','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','unuse','2023-09-04 10:27:32','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','unuse','2023-12-18 08:56:29','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','unuse','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','unuse','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','use',NULL,'2024-10-29 06:30:19'),(25,'jeong.sg','$2y$10$OzH6140JztiUEs4s/VHbPOxfxubFooqwqVhGpdFG8OJCGAFXNu546','정상구','jeong.sg@prime-idc.jp',NULL,'manager,cloudflare','use','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'); +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','2025-05-22 02:02:36','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','pause','2025-05-22 02:02:31','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','pause','2025-05-22 02:02:28','2024-02-26 01:26:20'),(23,'cho.sh','$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y','조성호','cho.sh@prime-idc.jp','','manager','pause','2025-05-22 02:02:24','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 */; @@ -833,4 +749,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2025-05-21 16:10:32 +-- Dump completed on 2025-05-22 11:03:31 diff --git a/app/Database/dbms_user_logger.sql b/app/Database/dbms_user_logger.sql new file mode 100644 index 0000000..52ff239 --- /dev/null +++ b/app/Database/dbms_user_logger.sql @@ -0,0 +1,91 @@ +/*!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 `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(5) unsigned 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(255) NOT NULL DEFAULT 'use', + `status` varchar(10) NOT NULL DEFAULT 'use', + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + UNIQUE KEY `id` (`id`), + UNIQUE KEY `email` (`email`) +) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; +/*!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','unuse','2023-09-04 10:27:32','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','unuse','2023-12-18 08:56:29','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','unuse','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','unuse','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; + +-- +-- 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 'use', + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`) +) ENGINE=InnoDB AUTO_INCREMENT=22 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 */; +/*!40000 ALTER TABLE `logger` 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-05-22 10:45:17 diff --git a/app/Database/erp2.vuerd.json b/app/Database/erp2.vuerd.json index 89f777d..7b7ee86 100644 --- a/app/Database/erp2.vuerd.json +++ b/app/Database/erp2.vuerd.json @@ -4,13 +4,13 @@ "settings": { "width": 4000, "height": 4000, - "scrollTop": -2409.9338, - "scrollLeft": -1962.0885, - "zoomLevel": 0.94, + "scrollTop": -1917.7631, + "scrollLeft": -986.5658, + "zoomLevel": 0.82, "show": 511, "database": 4, "databaseName": "", - "canvasType": "ERD", + "canvasType": "@dineug/erd-editor/builtin-schema-sql", "language": 1, "tableNameCase": 4, "columnNameCase": 2, @@ -49,11 +49,8 @@ "RMhrLs7bOaopKmKt9YKHQ", "gYqhvNLZjWrQk8LNKH3il", "RTq5rHQupiXXJPXqpN8K5", - "BoXnD7ITrjdXuJVzpiLoN", "lwd2DR7f1FW8fXtJ0lX-r", - "clEhcctzDQV_zPwyyczK1", "33kopDW02tJG0YjGvxsnb", - "5b_1J-B_jmnw1NU_mV_sr", "dnFyz1CSdGeS6mCbfCMO0", "O16FZYP2H6A8FoXHHYkLK", "SnAHgbwS6oJiDJ-9JvMsS", @@ -76,20 +73,20 @@ "rDaiOqjpenuTOWAB9GhA6", "rvhOgmNcWHmmWI1PYPjzk", "avEpCJt-x4kXYN5bcKxiG", - "KMa7J50RT1ImakceLy9iZ", - "bVmMQk7Qb5kh6yURDiOLx", - "aAqJBcaRRMJ4DFG9kgvbN", "fubg5Dl6T9RhMC2UiG1G2", "FUBur66i0x78rG_9t77X-", - "XHvOEOQa7Em8ZA6JW2zyu", - "wT92mXVEGvXGzTjfbCmIc", - "FVI_bw_S3pQ5iPraRK3AU", "-hk1fQTZWwoqdMg3o4v2H", "BMCA7A2au8qHxEybuVin6", "A95jXUL-PbW1llS_CcnDv", "GPdTxG-bhcW_C7QYLUi7U", "Ora6jxky2rRdOP3TdmEVY", - "zJI4tjQWmlupFIPITHL9_" + "zJI4tjQWmlupFIPITHL9_", + "SrX2eHkNeAC1AbREja24v", + "GKTo4PVcGQiej9YEonViC", + "jbt6QJ9O_QehKL5KVdR0m", + "iwjg9CNlhsFlN9G8CLujv", + "w_YPvdI0fCn6dNnp_aD9t", + "mG0FZojEdcRWkLpO5Zm08" ], "indexIds": [], "memoIds": [] @@ -125,15 +122,15 @@ "_Isvu_q8_Gsp82W0Lkk-r" ], "ui": { - "x": 1215.6628, - "y": 3197.2341, + "x": 1187.8148, + "y": 3240.2718, "zIndex": 2, "widthName": 60, "widthComment": 62, "color": "" }, "meta": { - "updateAt": 1747816360177, + "updateAt": 1747877021795, "createAt": 1745819764136 } }, @@ -342,15 +339,15 @@ "liJON6hIBB9aS-pQgM0Q6" ], "ui": { - "x": 2143.4318, - "y": 1088.9074, + "x": 2135.8369, + "y": 1057.2617, "zIndex": 2, "widthName": 60, "widthComment": 60, "color": "" }, "meta": { - "updateAt": 1747810340692, + "updateAt": 1747876584673, "createAt": 1745819764138 } }, @@ -486,20 +483,23 @@ }, "sgFc3Tg9sWiMm4hsEwKm9": { "id": "sgFc3Tg9sWiMm4hsEwKm9", - "name": "serviceinfos_defenceinfos", + "name": "defenceinfo_link", "comment": "서비스-방어 연결", "columnIds": [ "TDXOYTNCKhN0r0vj8at-s", "zG8_7CN0n4heTPXcS1V8e", + "icpJnCzEHaX_f6HzD8SSI", "Ve6X-7qKKUxId0tll1Caz", "N7bLm6kgwYVMp4xflIi_V", "2VWaNAVGlic6PysNFB-p-", + "0A1MzG31nHH28ml-AEqBt", "UCQyqc-F1swYRY6Qa3lIi" ], "seqColumnIds": [ "TDXOYTNCKhN0r0vj8at-s", "zG8_7CN0n4heTPXcS1V8e", "uNqzMzAALwe_V_QA41OFW", + "icpJnCzEHaX_f6HzD8SSI", "Ve6X-7qKKUxId0tll1Caz", "TRMh2T-cxkATOXOzBSIYE", "HcPbXEU_CjGa4ZpnzN2tj", @@ -508,79 +508,89 @@ "pGf_WVtjQtrxr-p19k5G3", "_3sv_g-FNI77icmJbBBAF", "uBuqi8eabZOjHwaEZ4HnE", + "0A1MzG31nHH28ml-AEqBt", "UCQyqc-F1swYRY6Qa3lIi" ], "ui": { - "x": 1214.9955, - "y": 2749.3448, + "x": 1182.0842, + "y": 2708.8387, "zIndex": 2, - "widthName": 136, + "widthName": 88, "widthComment": 94, "color": "" }, "meta": { - "updateAt": 1747808077987, + "updateAt": 1747877002252, "createAt": 1745819764139 } }, "5KwHMmZppj-7TjRC_xQ54": { "id": "5KwHMmZppj-7TjRC_xQ54", - "name": "serviceinfos_softwareinfos", + "name": "softwareinfo_link", "comment": "서비스-소프트웨어 연결", "columnIds": [ "BEKFy_-SDnnB_udIwHS4P", "CgGKx59wNvLpWcoBrEuvK", + "n91bsk7zplILR-uBBm_5X", "AKpf8UbHiwRJll36PQR6f", "8agbo_j1bQNrN8OoG2TAs", "oZ3RpNTiLRp6utYj02FOu", + "0pAo1Z2svmBaDGVhfOSyt", "3v3JWUBHg3mAb4HmHPUP-" ], "seqColumnIds": [ "BEKFy_-SDnnB_udIwHS4P", "CgGKx59wNvLpWcoBrEuvK", + "n91bsk7zplILR-uBBm_5X", "AKpf8UbHiwRJll36PQR6f", "8agbo_j1bQNrN8OoG2TAs", "oZ3RpNTiLRp6utYj02FOu", "3qI0r0SlOTmWa9IODRdQ-", "MwPnUpvgyZAWrwklOW0aq", "bz9oU8libaYKgvU2IR82Y", + "0pAo1Z2svmBaDGVhfOSyt", "3v3JWUBHg3mAb4HmHPUP-" ], "ui": { - "x": 1213.3791, - "y": 2969.4319, + "x": 1182.9994, + "y": 2970.6977, "zIndex": 2, - "widthName": 139, + "widthName": 91, "widthComment": 130, "color": "" }, "meta": { - "updateAt": 1747808069835, + "updateAt": 1747877008011, "createAt": 1745819764139 } }, "3tdV9J9ns8BWCGQeCXITI": { "id": "3tdV9J9ns8BWCGQeCXITI", - "name": "serviceinfos_ipinfos", + "name": "ipinfo_link", "comment": "서비스-IP 연결", "columnIds": [ "N9whwkJk3imEwSl_tqk7W", "jw-RY9uJDPlANghUUPnJ4", + "d5WvaVr67shm_WaAeLntG", "fdfaSp8HaDoxD96LL1tX4", "3xj1HNeP9Ve34yUpq2lCB", "zk7fke88oHwR5W_3ReKcp", + "Y4owvSSiXeFZ6yfPRek2O", "kTwnu5ylJ22aQ7cBwn3pZ" ], "seqColumnIds": [ "Ldl-BM3r4VHghisIMyllD", "N9whwkJk3imEwSl_tqk7W", "jw-RY9uJDPlANghUUPnJ4", + "d5WvaVr67shm_WaAeLntG", "fdfaSp8HaDoxD96LL1tX4", "6TYzDwJbiYyvcj6NuvaBI", + "Uc1KP79hBjYWg3ng1sBtL", "3xj1HNeP9Ve34yUpq2lCB", "zk7fke88oHwR5W_3ReKcp", "uUAmxeQ2jccu4JFTvVBGY", "N61HbQYSC4Xe-OKxZLLiO", + "Y4owvSSiXeFZ6yfPRek2O", "kTwnu5ylJ22aQ7cBwn3pZ", "lLQgyWJhi6-3ZThpmB1yu", "9owj9VIe6zTgi6G9zptgz", @@ -588,15 +598,15 @@ "rJxM74-2ICXhXGMSF1g_b" ], "ui": { - "x": 1157.533, - "y": 1529.5163, + "x": 1173.9886, + "y": 1406.7317, "zIndex": 2, - "widthName": 104, + "widthName": 60, "widthComment": 80, "color": "" }, "meta": { - "updateAt": 1747809791921, + "updateAt": 1747876958588, "createAt": 1745819764139 } }, @@ -804,19 +814,22 @@ }, "gYqhvNLZjWrQk8LNKH3il": { "id": "gYqhvNLZjWrQk8LNKH3il", - "name": "serviceinfos_cpuinfos", + "name": "cpuinfo_link", "comment": "서비스_CPU 연결", "columnIds": [ "TQwAGrd3jBQOImSKgfAZb", "YKXKsIEJE-vmIMQd5ZUMC", + "oF2aRgjSIBWgBTyeUygb6", "ox7xu7XaYBZyB2alu2HcK", "lc-qccQ7orROrFjeexBjR", "2G6G5tqs-9wyT0i7RaFtL", + "igpmCFqTpxsUPPUlfjzkv", "VzuPW7xCYQCRJ5S3m5qU1" ], "seqColumnIds": [ "TQwAGrd3jBQOImSKgfAZb", "YKXKsIEJE-vmIMQd5ZUMC", + "oF2aRgjSIBWgBTyeUygb6", "ox7xu7XaYBZyB2alu2HcK", "mbHBFFMJ3Y1Bj4Yu3Irv2", "sqR0RO_KImSS3iNSVWt0Q", @@ -824,18 +837,19 @@ "2G6G5tqs-9wyT0i7RaFtL", "OuT_E7LvMnwM-b6oh4GMR", "dfV6qhK_Fgn-cny8bxE9P", + "igpmCFqTpxsUPPUlfjzkv", "VzuPW7xCYQCRJ5S3m5qU1" ], "ui": { - "x": 1185.8779, - "y": 2086.844, + "x": 1175.7513, + "y": 1915.455, "zIndex": 547, - "widthName": 114, + "widthName": 65, "widthComment": 93, "color": "" }, "meta": { - "updateAt": 1747808847140, + "updateAt": 1747876974767, "createAt": 1746783705263 } }, @@ -1084,34 +1098,38 @@ }, "33kopDW02tJG0YjGvxsnb": { "id": "33kopDW02tJG0YjGvxsnb", - "name": "serviceinfos_raminfos", + "name": "raminfo_link", "comment": "섭비스_RAM 연결", "columnIds": [ "xSh2byQSRVFSs1c7xHVnU", "T56cjdxZzJE1kNMWaD1Wy", + "PitpX_ubSIrQYaOkbsSLx", "Sdf3eOJV9eozG_NEDn2jP", "MgshrD8GBDwhT6_34GtuN", "8AWYprt0NzdgUvEYKax5e", + "lW9gXxFVV8qiULJWW-kqV", "OIgoKpFkAqW7-ZSX4Di-h" ], "seqColumnIds": [ "xSh2byQSRVFSs1c7xHVnU", "T56cjdxZzJE1kNMWaD1Wy", + "PitpX_ubSIrQYaOkbsSLx", "Sdf3eOJV9eozG_NEDn2jP", "MgshrD8GBDwhT6_34GtuN", "8AWYprt0NzdgUvEYKax5e", + "lW9gXxFVV8qiULJWW-kqV", "OIgoKpFkAqW7-ZSX4Di-h" ], "ui": { - "x": 1180.7525, - "y": 2306.3292, + "x": 1178.2209, + "y": 2179.7474, "zIndex": 1067, - "widthName": 115, + "widthName": 67, "widthComment": 96, "color": "" }, "meta": { - "updateAt": 1747808785945, + "updateAt": 1747876983565, "createAt": 1747808269255 } }, @@ -1196,40 +1214,44 @@ }, "O16FZYP2H6A8FoXHHYkLK": { "id": "O16FZYP2H6A8FoXHHYkLK", - "name": "serviceinfos_diskinfos", + "name": "diskinfo_link", "comment": "서비스_DISK 연결", "columnIds": [ "it93yolgcnLv-86UHTSok", "eR5sCRzMNW3UANZudEgAD", + "yAE3aMuHAz2Rdu3CP2jUc", "Rz-tT8JA2j_zo2Sml5hES", "RANoHyQBf_sobpDKqoEtd", "jw_L_SVoiwF5NGVBMhtNj", + "z5jLeihywNBw-sHeW_EWE", "6w-g7TpyNz-QYr3RsDarF" ], "seqColumnIds": [ "it93yolgcnLv-86UHTSok", "eR5sCRzMNW3UANZudEgAD", + "yAE3aMuHAz2Rdu3CP2jUc", "Rz-tT8JA2j_zo2Sml5hES", "RANoHyQBf_sobpDKqoEtd", "jw_L_SVoiwF5NGVBMhtNj", + "z5jLeihywNBw-sHeW_EWE", "6w-g7TpyNz-QYr3RsDarF" ], "ui": { - "x": 1183.1916, - "y": 2519.7439, + "x": 1180.66, + "y": 2447.5922, "zIndex": 1147, - "widthName": 115, + "widthName": 67, "widthComment": 95, "color": "" }, "meta": { - "updateAt": 1747808789475, + "updateAt": 1747876993609, "createAt": 1747808666473 } }, "SnAHgbwS6oJiDJ-9JvMsS": { "id": "SnAHgbwS6oJiDJ-9JvMsS", - "name": "serviceinfos_serverinfos", + "name": "serverinfo_link", "comment": "서비스-Server 연결", "columnIds": [ "aJ5yir7zNZfD8YNnDXuwL", @@ -1237,6 +1259,7 @@ "0AzBsuvrX5XEk2pIRNTZR", "TKoYcVntKcHeEDpWfusm1", "IpWimoINbuMFGnEMZ554I", + "tB4KnvqKQ20hn6ZzM7qRn", "X4MpKGfIk57frbGbI_hvm" ], "seqColumnIds": [ @@ -1245,24 +1268,25 @@ "0AzBsuvrX5XEk2pIRNTZR", "TKoYcVntKcHeEDpWfusm1", "IpWimoINbuMFGnEMZ554I", + "tB4KnvqKQ20hn6ZzM7qRn", "X4MpKGfIk57frbGbI_hvm" ], "ui": { - "x": 1169.2989, - "y": 1770.2022, + "x": 1173.0963, + "y": 1673.9998, "zIndex": 1223, - "widthName": 126, + "widthName": 78, "widthComment": 103, "color": "" }, "meta": { - "updateAt": 1747809890855, + "updateAt": 1747876966750, "createAt": 1747809799591 } }, "KjMkfDhEIFtqzt24wZL_o": { "id": "KjMkfDhEIFtqzt24wZL_o", - "name": "serviceinfos_lineinfos", + "name": "lineinfo_link", "comment": "서비스-Line연결", "columnIds": [ "7H1dMNV2UxOx8O6DD_fv3", @@ -1270,26 +1294,29 @@ "A5jE2aplbrccrkErwht-L", "xXf6S4ALrDaYympxFLecy", "xVa4vn9BzbObswNs0nbUQ", + "R1A5zjJSem_5G2_5bAffz", "s4YF5Cw7Z65Hvw-z95dDa" ], "seqColumnIds": [ "7H1dMNV2UxOx8O6DD_fv3", + "quc3ij2-2WjckJbeT42jS", "nL-8jbbaXLAxQmwKmxwVp", "A5jE2aplbrccrkErwht-L", "xXf6S4ALrDaYympxFLecy", "xVa4vn9BzbObswNs0nbUQ", + "R1A5zjJSem_5G2_5bAffz", "s4YF5Cw7Z65Hvw-z95dDa" ], "ui": { - "x": 1157.7727, - "y": 1301.1527, + "x": 1171.6967, + "y": 1168.2415, "zIndex": 1250, - "widthName": 113, + "widthName": 65, "widthComment": 88, "color": "" }, "meta": { - "updateAt": 1747810045012, + "updateAt": 1747876955698, "createAt": 1747809933290 } } @@ -1421,7 +1448,7 @@ "name": "role", "comment": "", "dataType": "VARCHAR(50)", - "default": "manager", + "default": "'manager'", "options": 0, "ui": { "keys": 0, @@ -1431,7 +1458,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746420269272, + "updateAt": 1747878103240, "createAt": 1745819764137 } }, @@ -1441,7 +1468,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "use", + "default": "'default'", "options": 0, "ui": { "keys": 0, @@ -1451,7 +1478,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746409029484, + "updateAt": 1747878027715, "createAt": 1745819764137 } }, @@ -1641,7 +1668,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -1651,7 +1678,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746408900558, + "updateAt": 1747878195845, "createAt": 1745819764137 } }, @@ -1901,17 +1928,17 @@ "name": "type", "comment": "", "dataType": "VARCHAR(20)", - "default": "'Rack'", + "default": "'Rackmount'", "options": 8, "ui": { "keys": 0, "widthName": 60, "widthComment": 60, "widthDataType": 75, - "widthDefault": 60 + "widthDefault": 67 }, "meta": { - "updateAt": 1747632559724, + "updateAt": 1747878140724, "createAt": 1745819764138 } }, @@ -2561,7 +2588,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -2571,7 +2598,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747124656324, + "updateAt": 1747878210199, "createAt": 1745819764139 } }, @@ -2721,7 +2748,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'unpaid'", + "default": "'default'", "options": 0, "ui": { "keys": 0, @@ -2731,7 +2758,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746603847946, + "updateAt": 1747878219530, "createAt": 1745819764139 } }, @@ -2811,7 +2838,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1745819764139, + "updateAt": 1747877386293, "createAt": 1745819764139 } }, @@ -2951,7 +2978,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1745819764139, + "updateAt": 1747877381709, "createAt": 1745819764139 } }, @@ -3091,7 +3118,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1745819764139, + "updateAt": 1747877423615, "createAt": 1745819764139 } }, @@ -4201,7 +4228,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 0, "ui": { "keys": 0, @@ -4211,7 +4238,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747811295275, + "updateAt": 1747878040311, "createAt": 1746409047865 } }, @@ -4221,7 +4248,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -4231,7 +4258,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746603908729, + "updateAt": 1747878050418, "createAt": 1746409123565 } }, @@ -4241,7 +4268,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -4251,7 +4278,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746603923348, + "updateAt": 1747878126469, "createAt": 1746409135259 } }, @@ -4261,7 +4288,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -4271,7 +4298,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746603928086, + "updateAt": 1747878150246, "createAt": 1746409147624 } }, @@ -4281,7 +4308,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -4291,7 +4318,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746603932724, + "updateAt": 1747878160216, "createAt": 1746409157661 } }, @@ -4561,7 +4588,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'in'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -4571,7 +4598,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747124775479, + "updateAt": 1747878184329, "createAt": 1746609884642 } }, @@ -4862,7 +4889,7 @@ "comment": "", "dataType": "INT", "default": "", - "options": 8, + "options": 0, "ui": { "keys": 2, "widthName": 80, @@ -4871,7 +4898,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1746783800416, + "updateAt": 1747873685614, "createAt": 1746783790047 } }, @@ -5001,7 +5028,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'in'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -5011,7 +5038,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747124828013, + "updateAt": 1747878174792, "createAt": 1747124828013 } }, @@ -5041,7 +5068,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'in'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -5051,7 +5078,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747124839902, + "updateAt": 1747878167336, "createAt": 1747124839902 } }, @@ -6061,7 +6088,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -6071,7 +6098,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747374853724, + "updateAt": 1747878056417, "createAt": 1747374853724 } }, @@ -6644,7 +6671,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 76, "widthComment": 60, "widthDataType": 60, @@ -6664,7 +6691,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 64, "widthComment": 60, "widthDataType": 60, @@ -6964,7 +6991,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 76, "widthComment": 60, "widthDataType": 60, @@ -7062,7 +7089,7 @@ "comment": "", "dataType": "INT", "default": "", - "options": 8, + "options": 0, "ui": { "keys": 2, "widthName": 80, @@ -7071,27 +7098,27 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747808359996, + "updateAt": 1747873687854, "createAt": 1747808340389 } }, "Sdf3eOJV9eozG_NEDn2jP": { "id": "Sdf3eOJV9eozG_NEDn2jP", "tableId": "33kopDW02tJG0YjGvxsnb", - "name": "cpuinfo_uid", + "name": "raminfo_uid", "comment": "", "dataType": "INT", "default": "", "options": 8, "ui": { "keys": 2, - "widthName": 64, + "widthName": 65, "widthComment": 60, "widthDataType": 60, "widthDefault": 60 }, "meta": { - "updateAt": 1747808397485, + "updateAt": 1747874810590, "createAt": 1747808386677 } }, @@ -7104,7 +7131,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 65, "widthComment": 60, "widthDataType": 60, @@ -7244,7 +7271,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 76, "widthComment": 60, "widthDataType": 60, @@ -7264,7 +7291,7 @@ "default": "", "options": 8, "ui": { - "keys": 2, + "keys": 0, "widthName": 65, "widthComment": 60, "widthDataType": 60, @@ -7362,7 +7389,7 @@ "comment": "", "dataType": "INT", "default": "", - "options": 8, + "options": 0, "ui": { "keys": 2, "widthName": 80, @@ -7371,7 +7398,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747808741798, + "updateAt": 1747873689390, "createAt": 1747808730126 } }, @@ -7571,7 +7598,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747809875858, + "updateAt": 1747877467553, "createAt": 1747809857178 } }, @@ -7721,7 +7748,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -7731,7 +7758,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747816623992, + "updateAt": 1747878090679, "createAt": 1747816623991 } }, @@ -7741,7 +7768,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -7751,7 +7778,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747816631728, + "updateAt": 1747878082292, "createAt": 1747816631727 } }, @@ -7761,7 +7788,7 @@ "name": "status", "comment": "", "dataType": "VARCHAR(20)", - "default": "'use'", + "default": "'default'", "options": 8, "ui": { "keys": 0, @@ -7771,7 +7798,7 @@ "widthDefault": 60 }, "meta": { - "updateAt": 1747816636766, + "updateAt": 1747878064464, "createAt": 1747816636766 } }, @@ -7794,6 +7821,326 @@ "updateAt": 1747817197659, "createAt": 1747817172798 } + }, + "oF2aRgjSIBWgBTyeUygb6": { + "id": "oF2aRgjSIBWgBTyeUygb6", + "tableId": "gYqhvNLZjWrQk8LNKH3il", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747873919725, + "createAt": 1747873258315 + } + }, + "PitpX_ubSIrQYaOkbsSLx": { + "id": "PitpX_ubSIrQYaOkbsSLx", + "tableId": "33kopDW02tJG0YjGvxsnb", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747874793052, + "createAt": 1747873425269 + } + }, + "yAE3aMuHAz2Rdu3CP2jUc": { + "id": "yAE3aMuHAz2Rdu3CP2jUc", + "tableId": "O16FZYP2H6A8FoXHHYkLK", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747874821981, + "createAt": 1747873431828 + } + }, + "Uc1KP79hBjYWg3ng1sBtL": { + "id": "Uc1KP79hBjYWg3ng1sBtL", + "tableId": "3tdV9J9ns8BWCGQeCXITI", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 0, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747873957813, + "createAt": 1747873940297 + } + }, + "quc3ij2-2WjckJbeT42jS": { + "id": "quc3ij2-2WjckJbeT42jS", + "tableId": "KjMkfDhEIFtqzt24wZL_o", + "name": "uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 0, + "widthName": 60, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747874015318, + "createAt": 1747874015318 + } + }, + "d5WvaVr67shm_WaAeLntG": { + "id": "d5WvaVr67shm_WaAeLntG", + "tableId": "3tdV9J9ns8BWCGQeCXITI", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747875755414, + "createAt": 1747874331915 + } + }, + "icpJnCzEHaX_f6HzD8SSI": { + "id": "icpJnCzEHaX_f6HzD8SSI", + "tableId": "sgFc3Tg9sWiMm4hsEwKm9", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876408263, + "createAt": 1747876382948 + } + }, + "n91bsk7zplILR-uBBm_5X": { + "id": "n91bsk7zplILR-uBBm_5X", + "tableId": "5KwHMmZppj-7TjRC_xQ54", + "name": "serverinfo_uid", + "comment": "", + "dataType": "INT", + "default": "", + "options": 8, + "ui": { + "keys": 2, + "widthName": 76, + "widthComment": 60, + "widthDataType": 60, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876896185, + "createAt": 1747876435580 + } + }, + "R1A5zjJSem_5G2_5bAffz": { + "id": "R1A5zjJSem_5G2_5bAffz", + "tableId": "KjMkfDhEIFtqzt24wZL_o", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876941885, + "createAt": 1747876941885 + } + }, + "Y4owvSSiXeFZ6yfPRek2O": { + "id": "Y4owvSSiXeFZ6yfPRek2O", + "tableId": "3tdV9J9ns8BWCGQeCXITI", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876946521, + "createAt": 1747876946521 + } + }, + "tB4KnvqKQ20hn6ZzM7qRn": { + "id": "tB4KnvqKQ20hn6ZzM7qRn", + "tableId": "SnAHgbwS6oJiDJ-9JvMsS", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876962397, + "createAt": 1747876962397 + } + }, + "igpmCFqTpxsUPPUlfjzkv": { + "id": "igpmCFqTpxsUPPUlfjzkv", + "tableId": "gYqhvNLZjWrQk8LNKH3il", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876970426, + "createAt": 1747876970425 + } + }, + "lW9gXxFVV8qiULJWW-kqV": { + "id": "lW9gXxFVV8qiULJWW-kqV", + "tableId": "33kopDW02tJG0YjGvxsnb", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876978725, + "createAt": 1747876978725 + } + }, + "z5jLeihywNBw-sHeW_EWE": { + "id": "z5jLeihywNBw-sHeW_EWE", + "tableId": "O16FZYP2H6A8FoXHHYkLK", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876988540, + "createAt": 1747876988540 + } + }, + "0A1MzG31nHH28ml-AEqBt": { + "id": "0A1MzG31nHH28ml-AEqBt", + "tableId": "sgFc3Tg9sWiMm4hsEwKm9", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747876997900, + "createAt": 1747876997900 + } + }, + "0pAo1Z2svmBaDGVhfOSyt": { + "id": "0pAo1Z2svmBaDGVhfOSyt", + "tableId": "5KwHMmZppj-7TjRC_xQ54", + "name": "updated_at", + "comment": "", + "dataType": "TIMESTAMP", + "default": "", + "options": 0, + "ui": { + "keys": 0, + "widthName": 62, + "widthComment": 60, + "widthDataType": 65, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1747877006519, + "createAt": 1747877006518 + } } }, "relationshipEntities": { @@ -7863,7 +8210,7 @@ "columnIds": [ "nb5CGzskl3_LIRA0yyede" ], - "x": 631.4711333333333, + "x": 462.13779999999997, "y": 1840.8461, "direction": 8 }, @@ -7872,8 +8219,8 @@ "columnIds": [ "zG8_7CN0n4heTPXcS1V8e" ], - "x": 1214.9955, - "y": 2849.3448, + "x": 1182.0842, + "y": 2832.8387, "direction": 1 }, "meta": { @@ -7891,7 +8238,7 @@ "columnIds": [ "nb5CGzskl3_LIRA0yyede" ], - "x": 462.13779999999997, + "x": 631.4711333333333, "y": 1840.8461, "direction": 8 }, @@ -7900,8 +8247,8 @@ "columnIds": [ "CgGKx59wNvLpWcoBrEuvK" ], - "x": 1213.3791, - "y": 3069.4319, + "x": 1182.9994, + "y": 3094.6977, "direction": 1 }, "meta": { @@ -7928,8 +8275,8 @@ "columnIds": [ "AKpf8UbHiwRJll36PQR6f" ], - "x": 1737.3791, - "y": 3069.4319, + "x": 1706.9994, + "y": 3156.6977, "direction": 2 }, "meta": { @@ -7956,8 +8303,8 @@ "columnIds": [ "jw-RY9uJDPlANghUUPnJ4" ], - "x": 1157.533, - "y": 1629.5163, + "x": 1173.9886, + "y": 1530.7317, "direction": 1 }, "meta": { @@ -7982,8 +8329,8 @@ "columnIds": [ "fdfaSp8HaDoxD96LL1tX4" ], - "x": 1672.533, - "y": 1629.5163, + "x": 1688.9886, + "y": 1468.7317, "direction": 2 }, "meta": { @@ -8001,8 +8348,8 @@ "columnIds": [ "mfHtgzc_Aeocr6xkgwYWh" ], - "x": 1718.6628, - "y": 3345.2341, + "x": 1690.8148, + "y": 3388.2718, "direction": 2 }, "end": { @@ -8085,8 +8432,8 @@ "columnIds": [ "7B0zaLoZnOoMNW8OHZlrQ" ], - "x": 2401.4318, - "y": 1360.9074, + "x": 2393.8369, + "y": 1329.2617, "direction": 8 }, "end": { @@ -8107,7 +8454,7 @@ "id": "H3ufP8FbEnPlyFiHAggt0", "identification": false, "relationshipType": 16, - "startRelationshipType": 2, + "startRelationshipType": 1, "start": { "tableId": "kc1EFvFhlBSc0B0bDgX28", "columnIds": [ @@ -8122,8 +8469,8 @@ "columnIds": [ "YKXKsIEJE-vmIMQd5ZUMC" ], - "x": 1185.8779, - "y": 2186.844, + "x": 1175.7513, + "y": 2039.455, "direction": 1 }, "meta": { @@ -8150,8 +8497,8 @@ "columnIds": [ "ox7xu7XaYBZyB2alu2HcK" ], - "x": 1700.8779, - "y": 2186.844, + "x": 1690.7513, + "y": 2101.455, "direction": 2 }, "meta": { @@ -8178,8 +8525,8 @@ "columnIds": [ "5KRw8TtT2nLqpYfKFOBwe" ], - "x": 2143.4318, - "y": 1156.9074, + "x": 2135.8369, + "y": 1125.2617, "direction": 1 }, "meta": { @@ -8206,8 +8553,8 @@ "columnIds": [ "Ve6X-7qKKUxId0tll1Caz" ], - "x": 1735.9955, - "y": 2849.3448, + "x": 1703.0842, + "y": 2894.8387, "direction": 2 }, "meta": { @@ -8611,7 +8958,7 @@ "id": "fubg5Dl6T9RhMC2UiG1G2", "identification": false, "relationshipType": 16, - "startRelationshipType": 2, + "startRelationshipType": 1, "start": { "tableId": "kc1EFvFhlBSc0B0bDgX28", "columnIds": [ @@ -8626,8 +8973,8 @@ "columnIds": [ "T56cjdxZzJE1kNMWaD1Wy" ], - "x": 1180.7525, - "y": 2406.3292, + "x": 1178.2209, + "y": 2303.7474, "direction": 1 }, "meta": { @@ -8654,8 +9001,8 @@ "columnIds": [ "Sdf3eOJV9eozG_NEDn2jP" ], - "x": 1695.7525, - "y": 2406.3292, + "x": 1693.2209, + "y": 2365.7474, "direction": 2 }, "meta": { @@ -8751,7 +9098,7 @@ "id": "-hk1fQTZWwoqdMg3o4v2H", "identification": false, "relationshipType": 16, - "startRelationshipType": 2, + "startRelationshipType": 1, "start": { "tableId": "kc1EFvFhlBSc0B0bDgX28", "columnIds": [ @@ -8766,8 +9113,8 @@ "columnIds": [ "eR5sCRzMNW3UANZudEgAD" ], - "x": 1183.1916, - "y": 2619.7439, + "x": 1180.66, + "y": 2571.5922, "direction": 1 }, "meta": { @@ -8794,8 +9141,8 @@ "columnIds": [ "Rz-tT8JA2j_zo2Sml5hES" ], - "x": 1698.1916, - "y": 2619.7439, + "x": 1695.66, + "y": 2633.5922, "direction": 2 }, "meta": { @@ -8822,8 +9169,8 @@ "columnIds": [ "iNv7Lm2grAxh9C3WLUmhS" ], - "x": 1169.2989, - "y": 1870.2022, + "x": 1173.0963, + "y": 1785.9998, "direction": 1 }, "meta": { @@ -8842,7 +9189,7 @@ "F9EPb6nsDx6Tf3GG8rvP1" ], "x": 2174.2456, - "y": 1924.121, + "y": 1853.263857142857, "direction": 1 }, "end": { @@ -8850,8 +9197,8 @@ "columnIds": [ "0AzBsuvrX5XEk2pIRNTZR" ], - "x": 1684.2989, - "y": 1870.2022, + "x": 1688.0963, + "y": 1785.9998, "direction": 2 }, "meta": { @@ -8878,8 +9225,8 @@ "columnIds": [ "nL-8jbbaXLAxQmwKmxwVp" ], - "x": 1157.7727, - "y": 1401.1527, + "x": 1171.6967, + "y": 1280.2415, "direction": 1 }, "meta": { @@ -8897,8 +9244,8 @@ "columnIds": [ "7B0zaLoZnOoMNW8OHZlrQ" ], - "x": 2143.4318, - "y": 1292.9074, + "x": 2135.8369, + "y": 1261.2617, "direction": 1 }, "end": { @@ -8906,14 +9253,238 @@ "columnIds": [ "A5jE2aplbrccrkErwht-L" ], - "x": 1672.7727, - "y": 1401.1527, + "x": 1686.6967, + "y": 1280.2415, "direction": 2 }, "meta": { "updateAt": 1747810029959, "createAt": 1747810029959 } + }, + "SrX2eHkNeAC1AbREja24v": { + "id": "SrX2eHkNeAC1AbREja24v", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1888.6924285714283, + "direction": 1 + }, + "end": { + "tableId": "gYqhvNLZjWrQk8LNKH3il", + "columnIds": [ + "oF2aRgjSIBWgBTyeUygb6" + ], + "x": 1690.7513, + "y": 1977.455, + "direction": 2 + }, + "meta": { + "updateAt": 1747873258315, + "createAt": 1747873258315 + } + }, + "GKTo4PVcGQiej9YEonViC": { + "id": "GKTo4PVcGQiej9YEonViC", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1924.1209999999996, + "direction": 1 + }, + "end": { + "tableId": "33kopDW02tJG0YjGvxsnb", + "columnIds": [ + "PitpX_ubSIrQYaOkbsSLx" + ], + "x": 1693.2209, + "y": 2241.7474, + "direction": 2 + }, + "meta": { + "updateAt": 1747873425269, + "createAt": 1747873425269 + } + }, + "jbt6QJ9O_QehKL5KVdR0m": { + "id": "jbt6QJ9O_QehKL5KVdR0m", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1959.549571428571, + "direction": 1 + }, + "end": { + "tableId": "O16FZYP2H6A8FoXHHYkLK", + "columnIds": [ + "yAE3aMuHAz2Rdu3CP2jUc" + ], + "x": 1695.66, + "y": 2509.5922, + "direction": 2 + }, + "meta": { + "updateAt": 1747873431828, + "createAt": 1747873431828 + } + }, + "6QXtdbgOHT2Ue-7X57__Y": { + "id": "6QXtdbgOHT2Ue-7X57__Y", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1824.921, + "direction": 1 + }, + "end": { + "tableId": "3tdV9J9ns8BWCGQeCXITI", + "columnIds": [ + "Uc1KP79hBjYWg3ng1sBtL" + ], + "x": 1672.533, + "y": 1697.5163, + "direction": 2 + }, + "meta": { + "updateAt": 1747873940298, + "createAt": 1747873940298 + } + }, + "P8Fky23l6SF6I7_Rtozyy": { + "id": "P8Fky23l6SF6I7_Rtozyy", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1820.7876666666666, + "direction": 1 + }, + "end": { + "tableId": "KjMkfDhEIFtqzt24wZL_o", + "columnIds": [ + "quc3ij2-2WjckJbeT42jS" + ], + "x": 1672.7727, + "y": 1469.1527, + "direction": 2 + }, + "meta": { + "updateAt": 1747874015318, + "createAt": 1747874015318 + } + }, + "iwjg9CNlhsFlN9G8CLujv": { + "id": "iwjg9CNlhsFlN9G8CLujv", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1817.8352857142856, + "direction": 1 + }, + "end": { + "tableId": "3tdV9J9ns8BWCGQeCXITI", + "columnIds": [ + "d5WvaVr67shm_WaAeLntG" + ], + "x": 1688.9886, + "y": 1592.7317, + "direction": 2 + }, + "meta": { + "updateAt": 1747874331915, + "createAt": 1747874331915 + } + }, + "w_YPvdI0fCn6dNnp_aD9t": { + "id": "w_YPvdI0fCn6dNnp_aD9t", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 1994.9781428571423, + "direction": 1 + }, + "end": { + "tableId": "sgFc3Tg9sWiMm4hsEwKm9", + "columnIds": [ + "icpJnCzEHaX_f6HzD8SSI" + ], + "x": 1703.0842, + "y": 2770.8387, + "direction": 2 + }, + "meta": { + "updateAt": 1747876382948, + "createAt": 1747876382948 + } + }, + "mG0FZojEdcRWkLpO5Zm08": { + "id": "mG0FZojEdcRWkLpO5Zm08", + "identification": false, + "relationshipType": 16, + "startRelationshipType": 2, + "start": { + "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", + "columnIds": [ + "F9EPb6nsDx6Tf3GG8rvP1" + ], + "x": 2174.2456, + "y": 2030.4067142857136, + "direction": 1 + }, + "end": { + "tableId": "5KwHMmZppj-7TjRC_xQ54", + "columnIds": [ + "n91bsk7zplILR-uBBm_5X" + ], + "x": 1706.9994, + "y": 3032.6977, + "direction": 2 + }, + "meta": { + "updateAt": 1747876435580, + "createAt": 1747876435580 + } } }, "indexEntities": {}, diff --git a/app/Entities/Customer/ServicePartEntity.php b/app/Entities/Customer/ServicePartEntity.php deleted file mode 100644 index 099eca8..0000000 --- a/app/Entities/Customer/ServicePartEntity.php +++ /dev/null @@ -1,21 +0,0 @@ -attributes['serviceinfo_uid']; - } - - public function getPartInfo() - { - return $this->attributes['partinfo_uid']; - } -} diff --git a/app/Entities/Customer/ServiceServerEntity.php b/app/Entities/Customer/ServiceServerEntity.php deleted file mode 100644 index a303289..0000000 --- a/app/Entities/Customer/ServiceServerEntity.php +++ /dev/null @@ -1,21 +0,0 @@ -attributes['serviceinfo_uid']; - } - - public function getServerInfoUID() - { - return $this->attributes['serverinfo_uid']; - } -} diff --git a/app/Entities/Equipment/ServerPartEntity.php b/app/Entities/Equipment/ServerPartEntity.php deleted file mode 100644 index e111464..0000000 --- a/app/Entities/Equipment/ServerPartEntity.php +++ /dev/null @@ -1,21 +0,0 @@ -attributes['serverinfo_uid']; - } - - public function getPartInfoUID() - { - return $this->attributes['partinfo_uid']; - } -} diff --git a/app/Helpers/CommonHelper.php b/app/Helpers/CommonHelper.php index a2bcca9..f9c6fb2 100644 --- a/app/Helpers/CommonHelper.php +++ b/app/Helpers/CommonHelper.php @@ -337,7 +337,7 @@ class CommonHelper } return $value; } - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'use'): string + final public function getListRowColor(mixed $entity, string $field = 'status', string $value = DEFAULTS['STATUS']): string { return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; } diff --git a/app/Helpers/Customer/AccountHelper.php b/app/Helpers/Customer/AccountHelper.php index d32fa61..aa5d47f 100644 --- a/app/Helpers/Customer/AccountHelper.php +++ b/app/Helpers/Customer/AccountHelper.php @@ -13,8 +13,4 @@ class AccountHelper extends CustomerHelper parent::__construct($request); $this->setTitleField(AccountModel::TITLE); } - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'in'): string - { - return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } } diff --git a/app/Helpers/Customer/CouponHelper.php b/app/Helpers/Customer/CouponHelper.php index aa845f4..ec87cd0 100644 --- a/app/Helpers/Customer/CouponHelper.php +++ b/app/Helpers/Customer/CouponHelper.php @@ -13,8 +13,4 @@ class CouponHelper extends CustomerHelper parent::__construct($request); $this->setTitleField(CouponModel::TITLE); } - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'in'): string - { - return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } } diff --git a/app/Helpers/Customer/PointHelper.php b/app/Helpers/Customer/PointHelper.php index f851907..e297f66 100644 --- a/app/Helpers/Customer/PointHelper.php +++ b/app/Helpers/Customer/PointHelper.php @@ -13,8 +13,4 @@ class PointHelper extends CustomerHelper parent::__construct($request); $this->setTitleField(field: PointModel::TITLE); } - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'in'): string - { - return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } } diff --git a/app/Helpers/Customer/ServicePartHelper.php b/app/Helpers/Customer/ServicePartHelper.php deleted file mode 100644 index 1735f70..0000000 --- a/app/Helpers/Customer/ServicePartHelper.php +++ /dev/null @@ -1,22 +0,0 @@ -setTitleField(field: ServicePartModel::TITLE); - } - - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'use'): string - { - return ""; - // return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } -} diff --git a/app/Helpers/Customer/ServiceServerHelper.php b/app/Helpers/Customer/ServiceServerHelper.php deleted file mode 100644 index 0906720..0000000 --- a/app/Helpers/Customer/ServiceServerHelper.php +++ /dev/null @@ -1,22 +0,0 @@ -setTitleField(field: ServiceServerModel::TITLE); - } - - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'use'): string - { - return ""; - // return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } -} diff --git a/app/Helpers/Equipment/ServerPartHelper.php b/app/Helpers/Equipment/ServerPartHelper.php deleted file mode 100644 index 69ac4c3..0000000 --- a/app/Helpers/Equipment/ServerPartHelper.php +++ /dev/null @@ -1,22 +0,0 @@ -setTitleField(field: ServerPartModel::TITLE); - } - - public function getListRowColor(mixed $entity, string $field = 'status', string $value = 'use'): string - { - return ""; - // return $entity->isMatched($field, $value) ? "" : 'class="table-danger"'; - } -} diff --git a/app/Language/en/Customer/Account.php b/app/Language/en/Customer/Account.php index 42d3c45..79e0a9b 100644 --- a/app/Language/en/Customer/Account.php +++ b/app/Language/en/Customer/Account.php @@ -11,10 +11,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "in" + 'status' => 'default', ], "STATUS" => [ - "in" => "입금", + 'default' => "입금", "out" => "출금", ], ]; diff --git a/app/Language/en/Customer/Client.php b/app/Language/en/Customer/Client.php index 26e5743..13546d4 100644 --- a/app/Language/en/Customer/Client.php +++ b/app/Language/en/Customer/Client.php @@ -15,7 +15,7 @@ return [ ], 'DEFAULTS' => [ 'role' => "user", - 'status' => "use" + 'status' => 'default', ], "ROLE" => [ "user" => "일반회원", @@ -23,7 +23,7 @@ return [ "reseller" => "리셀러", ], "STATUS" => [ - "use" => "사용", + 'default' => "사용", "pause" => "일시정지", "terminated" => "해지", ], diff --git a/app/Language/en/Customer/Coupon.php b/app/Language/en/Customer/Coupon.php index c06d042..fb66630 100644 --- a/app/Language/en/Customer/Coupon.php +++ b/app/Language/en/Customer/Coupon.php @@ -10,10 +10,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "in" + 'status' => 'default' ], "STATUS" => [ - "in" => "추가", + 'default' => "추가", "out" => "사용", ], ]; diff --git a/app/Language/en/Customer/Point.php b/app/Language/en/Customer/Point.php index 378d1fb..949f1c5 100644 --- a/app/Language/en/Customer/Point.php +++ b/app/Language/en/Customer/Point.php @@ -10,10 +10,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "in" + 'status' => 'default' ], "STATUS" => [ - "in" => "입금", + 'default' => "입금", "out" => "출금", ], ]; diff --git a/app/Language/en/Customer/Service.php b/app/Language/en/Customer/Service.php index 1283ace..531a666 100644 --- a/app/Language/en/Customer/Service.php +++ b/app/Language/en/Customer/Service.php @@ -22,14 +22,14 @@ return [ ], 'DEFAULTS' => [ 'type' => "hosting", - 'status' => "use" + 'status' => 'default' ], "TYPE" => [ "hosting" => "서버호스팅", "colocation" => "코로케이션", ], "STATUS" => [ - "use" => "사용중", + 'default' => "사용중", "pause" => "일시정지", "terminated" => "해지", ], diff --git a/app/Language/en/Customer/ServicePart.php b/app/Language/en/Customer/ServicePart.php deleted file mode 100644 index bea170f..0000000 --- a/app/Language/en/Customer/ServicePart.php +++ /dev/null @@ -1,18 +0,0 @@ - "서비스부품연결", - 'label' => [ - 'serviceinfo_uid' => "서비스", - 'partinfo_uid' => "장비부품", - 'billing_type' => "청구유형", - 'amount' => "금액", - 'created_at' => "작성일", - ], - 'DEFAULTS' => [ - 'billing_type' => 'month', - ], - "BILLING_TYPE" => [ - "month" => "월별", - "onetime" => "일회성", - ], -]; diff --git a/app/Language/en/Customer/ServiceServer.php b/app/Language/en/Customer/ServiceServer.php deleted file mode 100644 index 2562af1..0000000 --- a/app/Language/en/Customer/ServiceServer.php +++ /dev/null @@ -1,18 +0,0 @@ - "서비스서버연결", - 'label' => [ - 'serviceinfo_uid' => "서비스", - 'serverinfo_uid' => "서버", - 'billing_type' => "청구유형", - 'amount' => "금액", - 'created_at' => "작성일", - ], - 'DEFAULTS' => [ - 'billing_type' => 'month', - ], - "BILLING_TYPE" => [ - "month" => "월별", - "onetime" => "일회성", - ], -]; diff --git a/app/Language/en/Equipment/Defence.php b/app/Language/en/Equipment/Defence.php index 326f739..e2b8541 100644 --- a/app/Language/en/Equipment/Defence.php +++ b/app/Language/en/Equipment/Defence.php @@ -14,14 +14,14 @@ return [ ], 'DEFAULTS' => [ 'type' => 'VPC-CS', - 'status' => "use" + 'status' => 'default' ], "TYPE" => [ "VPC-CS" => "VPC-CS", "KT-CS" => "KT-CS", ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", "occupied" => "사용중", ], diff --git a/app/Language/en/Equipment/Ip.php b/app/Language/en/Equipment/Ip.php index 11c817c..7591d2a 100644 --- a/app/Language/en/Equipment/Ip.php +++ b/app/Language/en/Equipment/Ip.php @@ -10,10 +10,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "use" + 'status' => 'default' ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", "occupied" => "사용중", "forbidden" => "사용금지됨", diff --git a/app/Language/en/Equipment/Line.php b/app/Language/en/Equipment/Line.php index 28f52df..6c76246 100644 --- a/app/Language/en/Equipment/Line.php +++ b/app/Language/en/Equipment/Line.php @@ -14,7 +14,7 @@ return [ ], 'DEFAULTS' => [ 'type' => 'general', - 'status' => "use" + 'status' => 'default' ], "TYPE" => [ "general" => "일반", @@ -22,7 +22,7 @@ return [ "defence" => "방어", ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", "terminated" => "해지", ], diff --git a/app/Language/en/Equipment/Part/Cpu.php b/app/Language/en/Equipment/Part/Cpu.php index afea91a..1f94cdb 100644 --- a/app/Language/en/Equipment/Part/Cpu.php +++ b/app/Language/en/Equipment/Part/Cpu.php @@ -9,10 +9,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "use" + 'status' => 'default' ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", ], ]; diff --git a/app/Language/en/Equipment/Part/Disk.php b/app/Language/en/Equipment/Part/Disk.php index f0d6483..bb49177 100644 --- a/app/Language/en/Equipment/Part/Disk.php +++ b/app/Language/en/Equipment/Part/Disk.php @@ -9,10 +9,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "use" + 'status' => 'default' ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", ], ]; diff --git a/app/Language/en/Equipment/Part/Ram.php b/app/Language/en/Equipment/Part/Ram.php index 04a5c79..dee703f 100644 --- a/app/Language/en/Equipment/Part/Ram.php +++ b/app/Language/en/Equipment/Part/Ram.php @@ -9,10 +9,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "use" + 'status' => 'default' ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", ], ]; diff --git a/app/Language/en/Equipment/Server.php b/app/Language/en/Equipment/Server.php index add977e..2facb01 100644 --- a/app/Language/en/Equipment/Server.php +++ b/app/Language/en/Equipment/Server.php @@ -16,7 +16,7 @@ return [ ], 'DEFAULTS' => [ 'type' => 'RacKMount', - 'status' => "use", + 'status' => 'default', ], "TYPE" => [ "Rack" => "RacKMount", @@ -36,7 +36,7 @@ return [ "12,13,14세대 MiniPC" => "12,13,14세대 MiniPC", ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", "occupied" => "사용중", ], diff --git a/app/Language/en/Equipment/ServerPart.php b/app/Language/en/Equipment/ServerPart.php deleted file mode 100644 index 17468de..0000000 --- a/app/Language/en/Equipment/ServerPart.php +++ /dev/null @@ -1,18 +0,0 @@ - "장비부품연결", - 'label' => [ - 'type' => "종류", - 'serverinfo_uid' => "서버", - 'partinfo_uid' => "부품", - 'created_at' => "작성일", - ], - 'DEFAULTS' => [ - 'type' => 'CPU', - ], - "TYPE" => [ - "CPU" => "CPU", - "RAM" => "RAM", - "DISK" => "DISK", - ], -]; diff --git a/app/Language/en/Equipment/Software.php b/app/Language/en/Equipment/Software.php index 5613571..6a55e6f 100644 --- a/app/Language/en/Equipment/Software.php +++ b/app/Language/en/Equipment/Software.php @@ -12,7 +12,7 @@ return [ ], 'DEFAULTS' => [ 'type' => 'Windows', - 'status' => "use" + 'status' => 'default' ], "TYPE" => [ "Windows" => "Windows OS", @@ -22,7 +22,7 @@ return [ "App" => "어플리케이션", ], "STATUS" => [ - "use" => "사용가능", + 'default' => "사용가능", "pause" => "일시정지", ], ]; diff --git a/app/Language/en/MyLog.php b/app/Language/en/MyLog.php index af6165b..84902da 100644 --- a/app/Language/en/MyLog.php +++ b/app/Language/en/MyLog.php @@ -13,10 +13,10 @@ return [ 'created_at' => "작성일", ], 'DEFAULTS' => [ - 'status' => "use" + 'status' => 'default' ], "STATUS" => [ - "use" => "완료", + 'default' => "완료", "fail" => "실패", ], ]; diff --git a/app/Language/en/User.php b/app/Language/en/User.php index b6faecd..f12d200 100644 --- a/app/Language/en/User.php +++ b/app/Language/en/User.php @@ -16,7 +16,7 @@ return [ ], 'DEFAULTS' => [ 'role' => "manager", - 'status' => "use" + 'status' => 'default' ], "ROLE" => [ "manager" => "관리자", @@ -26,7 +26,7 @@ return [ "master" => "마스터", ], "STATUS" => [ - "use" => "사용", + 'default' => "사용", "pause" => "사용정지", ], ]; diff --git a/app/Models/Customer/ServicePartModel.php b/app/Models/Customer/ServicePartModel.php deleted file mode 100644 index 6556a61..0000000 --- a/app/Models/Customer/ServicePartModel.php +++ /dev/null @@ -1,45 +0,0 @@ - field가 array 입니다.\n" . var_export($field, true)); - } - switch ($field) { - case "serviceinfo_uid": - case "partinfo_uid": - case "amount": - $rule = "required|numeric"; - break; - case "billing_type": - $rule = "required|trim|string"; - break; - default: - $rule = parent::getFieldRule($action, $field); - break; - } - return $rule; - } -} diff --git a/app/Models/Customer/ServiceServerModel.php b/app/Models/Customer/ServiceServerModel.php deleted file mode 100644 index c02e0be..0000000 --- a/app/Models/Customer/ServiceServerModel.php +++ /dev/null @@ -1,45 +0,0 @@ - field가 array 입니다.\n" . var_export($field, true)); - } - switch ($field) { - case "serviceinfo_uid": - case "partinfo_uid": - case "amount": - $rule = "required|numeric"; - break; - case "billing_type": - $rule = "required|trim|string"; - break; - default: - $rule = parent::getFieldRule($action, $field); - break; - } - return $rule; - } -} diff --git a/app/Services/Customer/ServiceServerService.php b/app/Services/Customer/ServiceServerService.php deleted file mode 100644 index 76e2b39..0000000 --- a/app/Services/Customer/ServiceServerService.php +++ /dev/null @@ -1,46 +0,0 @@ -