From 9666de06003b162883633ecb246e0d592ffafa9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Tue, 3 Jun 2025 09:28:00 +0900 Subject: [PATCH] dbms_init...1 --- app/Config/Routes.php | 57 +- .../Admin/Customer/CustomerController.php | 37 - .../Admin/Customer/ServiceController.php | 66 +- .../Admin/Customer/ServiceItemController.php | 148 + .../DomainController.php | 8 +- ...skController.php => StorageController.php} | 14 +- .../Admin/Equipment/ServerController.php | 2 +- app/Database/dbms_clean.sql | 14 +- app/Database/dbms_init_all.sql | 85 +- app/Database/dbms_init_data.sql | 209 -- app/Database/erp2_2.vuerd.json | 3101 +---------------- app/Entities/Customer/DomainEntity.php | 11 - app/Entities/Customer/ServiceEntity.php | 4 +- app/Entities/Customer/ServiceItemEntity.php | 16 + app/Entities/Equipment/DomainEntity.php | 11 + app/Entities/Equipment/EquipmentEntity.php | 5 +- app/Entities/Equipment/Part/CpuEntity.php | 4 - app/Entities/Equipment/Part/DiskEntity.php | 15 - app/Entities/Equipment/Part/RamEntity.php | 4 - app/Entities/Equipment/Part/StorageEntity.php | 11 + app/Entities/Equipment/ServerEntity.php | 4 - app/Helpers/CommonHelper.php | 27 +- app/Helpers/Customer/ServiceHelper.php | 56 + app/Helpers/Customer/ServiceItemHelper.php | 16 + .../{Customer => Equipment}/DomainHelper.php | 6 +- .../{DiskHelper.php => StorageHelper.php} | 6 +- app/Helpers/Equipment/ServerHelper.php | 76 - app/Language/en/Customer/Service.php | 31 +- app/Language/en/Customer/ServiceItem.php | 44 + .../en/{Customer => Equipment}/Domain.php | 0 .../Equipment/Part/{Disk.php => Storage.php} | 0 app/Language/en/Equipment/Server.php | 2 - app/Models/Customer/ServiceItemModel.php | 60 + app/Models/Customer/ServiceModel.php | 3 + .../{Customer => Equipment}/DomainModel.php | 6 +- app/Models/Equipment/Part/RamModel.php | 2 +- .../Part/{DiskModel.php => StorageModel.php} | 8 +- app/Models/Equipment/ServerModel.php | 6 - app/Services/Customer/ServiceItemService.php | 46 + app/Services/Customer/ServiceService.php | 3 +- .../{Customer => Equipment}/DomainService.php | 8 +- .../{DiskService.php => StorageService.php} | 16 +- app/Services/Equipment/ServerService.php | 7 - app/Views/admin/index.php | 5 +- app/Views/admin/service/index.php | 11 +- .../layouts/admin/left_menu/customer.php | 3 - .../layouts/admin/left_menu/equipment.php | 7 +- 47 files changed, 643 insertions(+), 3638 deletions(-) create mode 100644 app/Controllers/Admin/Customer/ServiceItemController.php rename app/Controllers/Admin/{Customer => Equipment}/DomainController.php (89%) rename app/Controllers/Admin/Equipment/Part/{DiskController.php => StorageController.php} (77%) delete mode 100644 app/Database/dbms_init_data.sql delete mode 100644 app/Entities/Customer/DomainEntity.php create mode 100644 app/Entities/Customer/ServiceItemEntity.php create mode 100644 app/Entities/Equipment/DomainEntity.php delete mode 100644 app/Entities/Equipment/Part/DiskEntity.php create mode 100644 app/Entities/Equipment/Part/StorageEntity.php create mode 100644 app/Helpers/Customer/ServiceItemHelper.php rename app/Helpers/{Customer => Equipment}/DomainHelper.php (70%) rename app/Helpers/Equipment/Part/{DiskHelper.php => StorageHelper.php} (64%) create mode 100644 app/Language/en/Customer/ServiceItem.php rename app/Language/en/{Customer => Equipment}/Domain.php (100%) rename app/Language/en/Equipment/Part/{Disk.php => Storage.php} (100%) create mode 100644 app/Models/Customer/ServiceItemModel.php rename app/Models/{Customer => Equipment}/DomainModel.php (91%) rename app/Models/Equipment/Part/{DiskModel.php => StorageModel.php} (84%) create mode 100644 app/Services/Customer/ServiceItemService.php rename app/Services/{Customer => Equipment}/DomainService.php (83%) rename app/Services/Equipment/Part/{DiskService.php => StorageService.php} (63%) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 3e46801..4c7a167 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -93,19 +93,6 @@ $routes->group('admin', ['namespace' => 'App\Controllers\Admin', 'filter' => 'au $routes->post('batchjob_delete', 'PointController::batchjob_delete'); $routes->get('download/(:alpha)', 'PointController::download/$1'); }); - $routes->group('domain', ['namespace' => 'App\Controllers\Admin\Customer'], function ($routes) { - $routes->get('/', 'DomainController::index', []); - $routes->get('create', 'DomainController::create_form'); - $routes->post('create', 'DomainController::create'); - $routes->get('modify/(:num)', 'DomainController::modify_form/$1'); - $routes->post('modify/(:num)', 'DomainController::modify/$1'); - $routes->get('view/(:num)', 'DomainController::view/$1'); - $routes->get('delete/(:num)', 'DomainController::delete/$1'); - $routes->get('toggle/(:num)/(:any)', 'DomainController::toggle/$1/$2'); - $routes->post('batchjob', 'DomainController::batchjob'); - $routes->post('batchjob_delete', 'DomainController::batchjob_delete'); - $routes->get('download/(:alpha)', 'DomainController::download/$1'); - }); $routes->group('service', ['namespace' => 'App\Controllers\Admin\Customer'], function ($routes) { $routes->get('/', 'ServiceController::index', []); $routes->get('create', 'ServiceController::create_form'); @@ -119,6 +106,19 @@ $routes->group('admin', ['namespace' => 'App\Controllers\Admin', 'filter' => 'au $routes->post('batchjob_delete', 'ServiceController::batchjob_delete'); $routes->get('download/(:alpha)', 'ServiceController::download/$1'); }); + $routes->group('serviceitem', ['namespace' => 'App\Controllers\Admin\Customer'], function ($routes) { + $routes->get('/', 'ServiceItemController::index', []); + $routes->get('create', 'ServiceItemController::create_form'); + $routes->post('create', 'ServiceItemController::create'); + $routes->get('modify/(:num)', 'ServiceItemController::modify_form/$1'); + $routes->post('modify/(:num)', 'ServiceItemController::modify/$1'); + $routes->get('view/(:num)', 'ServiceItemController::view/$1'); + $routes->get('delete/(:num)', 'ServiceItemController::delete/$1'); + $routes->get('toggle/(:num)/(:any)', 'ServiceItemController::toggle/$1/$2'); + $routes->post('batchjob', 'ServiceItemController::batchjob'); + $routes->post('batchjob_delete', 'ServiceItemController::batchjob_delete'); + $routes->get('download/(:alpha)', 'ServiceItemController::download/$1'); + }); }); $routes->group('equipment', ['namespace' => 'App\Controllers\Admin\Equipment'], function ($routes) { $routes->group('server', ['namespace' => 'App\Controllers\Admin\Equipment'], function ($routes) { @@ -134,6 +134,19 @@ $routes->group('admin', ['namespace' => 'App\Controllers\Admin', 'filter' => 'au $routes->post('batchjob_delete', 'ServerController::batchjob_delete'); $routes->get('download/(:alpha)', 'ServerController::download/$1'); }); + $routes->group('domain', ['namespace' => 'App\Controllers\Admin\Equipment'], function ($routes) { + $routes->get('/', 'DomainController::index', []); + $routes->get('create', 'DomainController::create_form'); + $routes->post('create', 'DomainController::create'); + $routes->get('modify/(:num)', 'DomainController::modify_form/$1'); + $routes->post('modify/(:num)', 'DomainController::modify/$1'); + $routes->get('view/(:num)', 'DomainController::view/$1'); + $routes->get('delete/(:num)', 'DomainController::delete/$1'); + $routes->get('toggle/(:num)/(:any)', 'DomainController::toggle/$1/$2'); + $routes->post('batchjob', 'DomainController::batchjob'); + $routes->post('batchjob_delete', 'DomainController::batchjob_delete'); + $routes->get('download/(:alpha)', 'DomainController::download/$1'); + }); $routes->group('part', ['namespace' => 'App\Controllers\Admin\Equipment\Part'], function ($routes) { $routes->group('line', ['namespace' => 'App\Controllers\Admin\Equipment\Part'], function ($routes) { $routes->get('/', 'LineController::index', []); @@ -207,15 +220,15 @@ $routes->group('admin', ['namespace' => 'App\Controllers\Admin', 'filter' => 'au $routes->get('delete/(:num)', 'RamController::delete/$1'); $routes->get('toggle/(:num)/(:any)', 'RamController::toggle/$1/$2'); }); - $routes->group('disk', ['namespace' => 'App\Controllers\Admin\Equipment\Part'], function ($routes) { - $routes->get('/', 'DiskController::index', []); - $routes->get('create', 'DiskController::create_form'); - $routes->post('create', 'DiskController::create'); - $routes->get('modify/(:num)', 'DiskController::modify_form/$1'); - $routes->post('modify/(:num)', 'DiskController::modify/$1'); - $routes->get('view/(:num)', 'DiskController::view/$1'); - $routes->get('delete/(:num)', 'DiskController::delete/$1'); - $routes->get('toggle/(:num)/(:any)', 'DiskController::toggle/$1/$2'); + $routes->group('storage', ['namespace' => 'App\Controllers\Admin\Equipment\Part'], function ($routes) { + $routes->get('/', 'StorageController::index', []); + $routes->get('create', 'StorageController::create_form'); + $routes->post('create', 'StorageController::create'); + $routes->get('modify/(:num)', 'StorageController::modify_form/$1'); + $routes->post('modify/(:num)', 'StorageController::modify/$1'); + $routes->get('view/(:num)', 'StorageController::view/$1'); + $routes->get('delete/(:num)', 'StorageController::delete/$1'); + $routes->get('toggle/(:num)/(:any)', 'StorageController::toggle/$1/$2'); }); }); }); diff --git a/app/Controllers/Admin/Customer/CustomerController.php b/app/Controllers/Admin/Customer/CustomerController.php index 696cf57..4a8bb64 100644 --- a/app/Controllers/Admin/Customer/CustomerController.php +++ b/app/Controllers/Admin/Customer/CustomerController.php @@ -4,10 +4,6 @@ namespace App\Controllers\Admin\Customer; use App\Controllers\Admin\AdminController; use App\Services\Customer\ClientService; -use App\Services\Customer\ServiceService; -use App\Services\Customer\AccountService; -use App\Services\Customer\CouponService; -use App\Services\Customer\PointService; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use Psr\Log\LoggerInterface; @@ -15,10 +11,6 @@ use Psr\Log\LoggerInterface; abstract class CustomerController extends AdminController { private ?ClientService $_clientService = null; - private ?ServiceService $_serviceService = null; - private ?AccountService $_accountService = null; - private ?CouponService $_couponService = null; - private ?PointService $_pointService = null; public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger) { parent::initController($request, $response, $logger); @@ -31,35 +23,6 @@ abstract class CustomerController extends AdminController } return $this->_clientService; } - final public function getServiceService(): ServiceService - { - if (!$this->_serviceService) { - $this->_serviceService = new ServiceService($this->request); - } - return $this->_serviceService; - } - final public function getAccountService(): AccountService - { - if (!$this->_accountService) { - $this->_accountService = new AccountService($this->request); - } - return $this->_accountService; - } - final public function getCouponService(): CouponService - { - if (!$this->_couponService) { - $this->_couponService = new CouponService($this->request); - } - return $this->_couponService; - } - final public function getPointService(): PointService - { - if (!$this->_pointService) { - $this->_pointService = new PointService($this->request); - } - return $this->_pointService; - } - protected function getFormFieldOption(string $field, array $options): array { switch ($field) { diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php index 64abbfc..0e8b1f4 100644 --- a/app/Controllers/Admin/Customer/ServiceController.php +++ b/app/Controllers/Admin/Customer/ServiceController.php @@ -4,16 +4,8 @@ namespace App\Controllers\Admin\Customer; use App\Helpers\Customer\ServiceHelper; use App\Services\Customer\ServiceService; -use App\Services\Equipment\Part\CpuService; +use App\Services\Customer\ServiceItemService; -use App\Services\Equipment\Part\DefenceService; -use App\Services\Equipment\Part\DiskService; - -use App\Services\Equipment\Part\IpService; -use App\Services\Equipment\Part\LINEService; -use App\Services\Equipment\Part\RamService; -use App\Services\Equipment\Part\SoftwareService; -use App\Services\Equipment\ServereService; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; @@ -21,7 +13,7 @@ use Psr\Log\LoggerInterface; class ServiceController extends CustomerController { - private $_adapterService = []; + private ?ServiceItemService $_serviceItemService = null; public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger) { parent::initController($request, $response, $logger); @@ -46,39 +38,12 @@ class ServiceController extends CustomerController // dd($this->_helper); return $this->_helper; } - final public function getAdapterService(string $key): mixed + public function getServiceItemService(): ServiceItemService { - if (!array_key_exists($key, $this->_adapterService)) { - switch ($key) { - case 'SERVER': - $this->_adapterService[$key] = new ServereService(); - break; - case 'CPU': - $this->_adapterService[$key] = new CpuService(); - break; - case 'RAM': - $this->_adapterService[$key] = new RamService(); - break; - case 'DISK': - $this->_adapterService[$key] = new DiskService(); - break; - case 'LINE': - $this->_adapterService[$key] = new LineService(); - break; - case 'IP': - $this->_adapterService[$key] = new IpService(); - break; - case 'DEFENCE': - $this->_adapterService[$key] = new DefenceService(); - break; - case 'SOFTWARE': - $this->_adapterService[$key] = new SoftwareService(); - break; - default: - throw new \Exception("Unknown adapter service key: {$key}"); - } + if (!$this->_serviceItemService) { + $this->_serviceItemService = new ServiceItemService($this->request); } - return $this->_adapterService[$key]; + return $this->_serviceItemService; } protected function getResultPageByActon(string $action, string $message = MESSAGES["SUCCESS"]): RedirectResponse|string { @@ -94,28 +59,23 @@ class ServiceController extends CustomerController return $result; } //Index,FieldForm관련 - - // protected function create_process(): mixed - // { - // $entity = parent::create_process(); - // //사용중인 서버로 변경 - // $this->getServerService()->setOccupied($this->getServerService()->getEntity($entity->getServerInfoUID())); - // return $entity; - // } protected function index_process(): array { $fields = [ - 'fields' => ['clientinfo_uid', 'item_type', 'billing_at', 'rack', 'LINE', 'SERVER', 'IP', 'CPU', 'RAM', 'DISK', 'SOFTWARE', 'DEFENCE', 'start_at', 'status'], + 'fields' => ['clientinfo_uid', 'location', 'switch', 'code', 'type', 'raid', 'billing_at', 'start_at', 'status'], ]; $this->init('index', $fields); - $this->adapterFields = ['LINE', 'IP', 'SERVER', 'CPU', 'RAM', 'DISK', 'DEFENCE', 'SOFTWARE']; + $this->item_types = lang($this->getServiceItemService()->getClassName() . '.' . strtoupper('ITEM_TYPE')); $entities = []; foreach (parent::index_process() as $entity) { - foreach ($this->adapterFields as $field) { - $entity->setAdaptertEntities($field, $this->getAdapterService($field)->getEntities()); + foreach ($this->item_types as $field => $label) { + $itemEntities = $this->getServiceItemService()->getEntities(['item_type' => $field]); + // dd($itemEntities); + $entity->setItemEntities($field, $itemEntities); } $entities[] = $entity; } + // $this->modal_type = 'modal_fetch_v2'; //기본은 modal_iframe임 return $entities; } } diff --git a/app/Controllers/Admin/Customer/ServiceItemController.php b/app/Controllers/Admin/Customer/ServiceItemController.php new file mode 100644 index 0000000..6acbc6b --- /dev/null +++ b/app/Controllers/Admin/Customer/ServiceItemController.php @@ -0,0 +1,148 @@ +title = lang("{$this->getService()->getClassName()}.title"); + $this->class_path .= $this->getService()->getClassName(); + $this->uri_path .= strtolower($this->getService()->getClassName('/')) . '/'; + // $this->view_path .= strtolower($this->getService()->getClassName()) . DIRECTORY_SEPARATOR; + + } + public function getService(): ServiceItemService + { + if (!$this->_service) { + $this->_service = new ServiceItemService($this->request); + } + return $this->_service; + } + public function getHelper(): ServiceItemHelper + { + if (!$this->_helper) { + $this->_helper = new ServiceItemHelper($this->request); + } + // dd($this->_helper); + return $this->_helper; + } + public function getServiceService(): ServiceService + { + if (!$this->_serviceService) { + $this->_serviceService = new ServiceService($this->request); + } + return $this->_serviceService; + } + final public function getEquipmentService(string $key): mixed + { + if (!array_key_exists($key, $this->_equipmentService)) { + switch ($key) { + case 'SERVER': + $this->_equipmentService[$key] = new ServerService(); + break; + case 'CPU': + $this->_equipmentService[$key] = new CpuService(); + break; + case 'RAM': + $this->_equipmentService[$key] = new RamService(); + break; + case 'STORAGE': + $this->_equipmentService[$key] = new StorageService(); + break; + case 'LINE': + $this->_equipmentService[$key] = new LineService(); + break; + case 'IP': + $this->_equipmentService[$key] = new IpService(); + break; + case 'DEFENCE': + $this->_equipmentService[$key] = new DefenceService(); + break; + case 'SOFTWARE': + $this->_equipmentService[$key] = new SoftwareService(); + break; + case 'DOMAIN': + $this->_equipmentService[$key] = new DomainService(); + break; + default: + throw new \Exception(__FUNCTION__ . "에서 사용하지않는 Service를 요청하였습니다.: {$key}"); + } + } + return $this->_equipmentService[$key]; + } + protected function getFormFieldOption(string $field, array $options): array + { + switch ($field) { + case 'serviceinfo_uid': + $temps = []; + foreach ($this->getServiceService()->getEntities() as $entity) { + $temps[$entity->getPK()] = $entity->getTitle(); + } + $options[$field] = $temps; + // dd($options); + break; + case 'item_uid': + $temps = []; + $item_type = $this->request->getVar('item_type'); + if (!$item_type) { + throw new \Exception(__FUNCTION__ . "에서 item_type이 지정되지 않았습니다."); + } + // throw new \Exception(__FUNCTION__ . "에서 item_type이 지정되지 않았습니다.->{$item_type}"); + foreach ($this->getEquipmentService($item_type)->getEntities() as $entity) { + $temps[$entity->getPK()] = $entity->getTitle(); + } + $options[$field] = $temps; + // dd($options); + 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': + $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 index_process(): array + { + $fields = [ + 'fields' => ['serviceinfo_uid', 'item_type', 'item_uid', 'billing_cycle', 'price', 'amount', 'start_at', 'status'], + ]; + $this->init('index', $fields); + return parent::index_process(); + } +} diff --git a/app/Controllers/Admin/Customer/DomainController.php b/app/Controllers/Admin/Equipment/DomainController.php similarity index 89% rename from app/Controllers/Admin/Customer/DomainController.php rename to app/Controllers/Admin/Equipment/DomainController.php index 236e9ae..91ee337 100644 --- a/app/Controllers/Admin/Customer/DomainController.php +++ b/app/Controllers/Admin/Equipment/DomainController.php @@ -1,15 +1,15 @@ view_path .= strtolower($this->getService()->getClassName()) . DIRECTORY_SEPARATOR; } - public function getService(): DiskService + public function getService(): StorageService { if (!$this->_service) { - $this->_service = new DiskService($this->request); + $this->_service = new StorageService($this->request); } return $this->_service; } - public function getHelper(): DiskHelper + public function getHelper(): StorageHelper { if (!$this->_helper) { - $this->_helper = new DiskHelper($this->request); + $this->_helper = new StorageHelper($this->request); } return $this->_helper; } diff --git a/app/Controllers/Admin/Equipment/ServerController.php b/app/Controllers/Admin/Equipment/ServerController.php index ca8fa6d..01280c4 100644 --- a/app/Controllers/Admin/Equipment/ServerController.php +++ b/app/Controllers/Admin/Equipment/ServerController.php @@ -40,7 +40,7 @@ class ServerController extends EquipmentController protected function index_process(): array { $fields = [ - 'fields' => ['code', 'model', 'price', 'status', 'manufactur_at', 'created_at'], + 'fields' => ['model', 'price', 'status', 'created_at'], ]; $this->init('index', $fields); // $this->modal_type = 'modal_fetch_v2'; //기본은 modal_iframe임 diff --git a/app/Database/dbms_clean.sql b/app/Database/dbms_clean.sql index 41bfb3f..da4e432 100644 --- a/app/Database/dbms_clean.sql +++ b/app/Database/dbms_clean.sql @@ -168,13 +168,13 @@ LOCK TABLES `defenceinfo` WRITE; UNLOCK TABLES; -- --- Table structure for table `diskinfo` +-- Table structure for table `storageinfo` -- -DROP TABLE IF EXISTS `diskinfo`; +DROP TABLE IF EXISTS `storageinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `diskinfo` ( +CREATE TABLE `storageinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, @@ -187,12 +187,12 @@ CREATE TABLE `diskinfo` ( /*!40101 SET character_set_client = @saved_cs_client */; -- --- Dumping data for table `diskinfo` +-- Dumping data for table `storageinfo` -- -LOCK TABLES `diskinfo` WRITE; -/*!40000 ALTER TABLE `diskinfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */; +LOCK TABLES `storageinfo` WRITE; +/*!40000 ALTER TABLE `storageinfo` DISABLE KEYS */; +/*!40000 ALTER TABLE `storageinfo` ENABLE KEYS */; UNLOCK TABLES; -- diff --git a/app/Database/dbms_init_all.sql b/app/Database/dbms_init_all.sql index 323504c..fc4af38 100644 --- a/app/Database/dbms_init_all.sql +++ b/app/Database/dbms_init_all.sql @@ -172,35 +172,6 @@ INSERT INTO `defenceinfo` VALUES (2,'VPC-CS','21.238.234.34',100000,'VPC-X21',NU /*!40000 ALTER TABLE `defenceinfo` ENABLE KEYS */; UNLOCK TABLES; --- --- Table structure for table `diskinfo` --- - -DROP TABLE IF EXISTS `diskinfo`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `diskinfo` ( - `uid` int(11) NOT NULL AUTO_INCREMENT, - `model` varchar(50) NOT NULL, - `price` int(11) NOT NULL DEFAULT 0, - `status` varchar(20) NOT NULL DEFAULT 'default', - `updated_at` timestamp NULL DEFAULT NULL, - `created_at` timestamp NOT NULL DEFAULT current_timestamp(), - PRIMARY KEY (`uid`), - UNIQUE KEY `UQ_model` (`model`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='DISK 정보'; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `diskinfo` --- - -LOCK TABLES `diskinfo` WRITE; -/*!40000 ALTER TABLE `diskinfo` DISABLE KEYS */; -INSERT INTO `diskinfo` VALUES (1,'ECC 2G',1000,'default',NULL,'2025-05-29 07:26:40'),(2,'ECC 4G',2000,'default',NULL,'2025-05-29 07:26:52'),(3,'ECC 8G',3000,'default',NULL,'2025-05-29 07:27:08'),(4,'ECC 16G',4000,'default',NULL,'2025-05-29 07:27:22'),(5,'ECC 32G',5000,'default',NULL,'2025-05-29 07:27:33'); -/*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */; -UNLOCK TABLES; - -- -- Table structure for table `domaininfo` -- @@ -381,7 +352,7 @@ CREATE TABLE `logger` ( PRIMARY KEY (`uid`), KEY `FK_user_TO_logger` (`user_uid`), CONSTRAINT `FK_user_TO_logger` FOREIGN KEY (`user_uid`) REFERENCES `user` (`uid`) -) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그'; +) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='작업 기록 로그'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -390,7 +361,7 @@ CREATE TABLE `logger` ( LOCK TABLES `logger` WRITE; /*!40000 ALTER TABLE `logger` DISABLE KEYS */; -INSERT INTO `logger` VALUES (1,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:20:05[debug]: 입력내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:20:05[debug]: [1/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 1,\n)\n12:20:05[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:20:05'),(2,1,'Equipment\\Server','create','작업이 실패하였습니다.','12:21:29[debug]: 입력내용\n12:21:29[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2017-06-07',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '300000',\n 'status' => 'default',\n 'description' => '',\n)\n12:21:29[error]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n\n12:21:29[debug]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n','default','2025-06-02 03:21:29'),(3,1,'Equipment\\Server','delete','작업이 성공적으로 완료되었습니다.','12:22:37[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]삭제되였습니다.:','default','2025-06-02 03:22:37'),(4,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:27:07[debug]: 입력내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'description' => '',\n)\n12:27:07[debug]: [3/HP DL360 Gen 6 [HP DL360 Gen 6]] 입력 후 내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'uid' => 3,\n)\n12:27:07[info]: [HP DL360 Gen 6 [HP DL360 Gen 6]]생성되었습니다.:','default','2025-06-02 03:27:08'),(5,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:06[debug]: 입력내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:06[debug]: [4/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'uid' => 4,\n)\n12:28:06[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:28:06'),(6,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:35[debug]: 입력내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:35[debug]: [5/HP DL360 Gen 8 [HP DL360 Gen 8]] 입력 후 내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 5,\n)\n12:28:35[info]: [HP DL360 Gen 8 [HP DL360 Gen 8]]생성되었습니다.:','default','2025-06-02 03:28:35'),(7,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:22[debug]: 입력내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:22[debug]: [6/3,4,5세대 PC [3,4,5세대 PC]] 입력 후 내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'uid' => 6,\n)\n12:29:22[info]: [3,4,5세대 PC [3,4,5세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:22'),(8,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:55[debug]: 입력내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:55[debug]: [7/6,7,8세대 PC [6,7,8세대 PC]] 입력 후 내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'uid' => 7,\n)\n12:29:55[info]: [6,7,8세대 PC [6,7,8세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:55'),(9,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:30:31[debug]: 입력내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'description' => '',\n)\n12:30:31[debug]: [8/12,13,14세대 MiniPC [12,13,14세대 MiniPC]] 입력 후 내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'uid' => 8,\n)\n12:30:31[info]: [12,13,14세대 MiniPC [12,13,14세대 MiniPC]]생성되었습니다.:','default','2025-06-02 03:30:31'); +INSERT INTO `logger` VALUES (1,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:20:05[debug]: 입력내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:20:05[debug]: [1/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:20:05[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 1,\n)\n12:20:05[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:20:05'),(2,1,'Equipment\\Server','create','작업이 실패하였습니다.','12:21:29[debug]: 입력내용\n12:21:29[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2017-06-07',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '300000',\n 'status' => 'default',\n 'description' => '',\n)\n12:21:29[error]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n\n12:21:29[debug]: \n------save_process 오류-----\nINSERT INTO `serverinfo` (`code`, `manufactur_at`, `model`, `price`, `status`) VALUES ('ZE2345', '2017-06-07', 'HP DL360 Gen 7', '300000', 'default')\narray (\n 'CodeIgniter\\\\Database\\\\MySQLi\\\\Connection' => 'Duplicate entry \\'HP DL360 Gen 7\\' for key \\'UQ_model\\'',\n)\n------------------------------\n','default','2025-06-02 03:21:29'),(3,1,'Equipment\\Server','delete','작업이 성공적으로 완료되었습니다.','12:22:37[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]삭제되였습니다.:','default','2025-06-02 03:22:37'),(4,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:27:07[debug]: 입력내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'description' => '',\n)\n12:27:07[debug]: [3/HP DL360 Gen 6 [HP DL360 Gen 6]] 입력 후 내용\n12:27:07[debug]: array (\n 'code' => 'X386',\n 'manufactur_at' => '2025-06-01',\n 'model' => 'HP DL360 Gen 6',\n 'price' => '100000',\n 'status' => 'default',\n 'uid' => 3,\n)\n12:27:07[info]: [HP DL360 Gen 6 [HP DL360 Gen 6]]생성되었습니다.:','default','2025-06-02 03:27:08'),(5,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:06[debug]: 입력내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:06[debug]: [4/HP DL360 Gen 7 [HP DL360 Gen 7]] 입력 후 내용\n12:28:06[debug]: array (\n 'code' => 'XE785',\n 'manufactur_at' => '2019-06-04',\n 'model' => 'HP DL360 Gen 7',\n 'price' => '150000',\n 'status' => 'default',\n 'uid' => 4,\n)\n12:28:06[info]: [HP DL360 Gen 7 [HP DL360 Gen 7]]생성되었습니다.:','default','2025-06-02 03:28:06'),(6,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:28:35[debug]: 입력내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n12:28:35[debug]: [5/HP DL360 Gen 8 [HP DL360 Gen 8]] 입력 후 내용\n12:28:35[debug]: array (\n 'code' => 'ZE2345',\n 'manufactur_at' => '2019-06-11',\n 'model' => 'HP DL360 Gen 8',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 5,\n)\n12:28:35[info]: [HP DL360 Gen 8 [HP DL360 Gen 8]]생성되었습니다.:','default','2025-06-02 03:28:35'),(7,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:22[debug]: 입력내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:22[debug]: [6/3,4,5세대 PC [3,4,5세대 PC]] 입력 후 내용\n12:29:22[debug]: array (\n 'code' => 'I3A23',\n 'manufactur_at' => '2025-04-16',\n 'model' => '3,4,5세대 PC',\n 'price' => '50000',\n 'status' => 'default',\n 'uid' => 6,\n)\n12:29:22[info]: [3,4,5세대 PC [3,4,5세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:22'),(8,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:29:55[debug]: 입력내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'description' => '',\n)\n12:29:55[debug]: [7/6,7,8세대 PC [6,7,8세대 PC]] 입력 후 내용\n12:29:55[debug]: array (\n 'code' => 'I7',\n 'manufactur_at' => '2025-02-04',\n 'model' => '6,7,8세대 PC',\n 'price' => '70000',\n 'status' => 'default',\n 'uid' => 7,\n)\n12:29:55[info]: [6,7,8세대 PC [6,7,8세대 PC]]생성되었습니다.:','default','2025-06-02 03:29:55'),(9,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','12:30:31[debug]: 입력내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'description' => '',\n)\n12:30:31[debug]: [8/12,13,14세대 MiniPC [12,13,14세대 MiniPC]] 입력 후 내용\n12:30:31[debug]: array (\n 'code' => 'Min234',\n 'manufactur_at' => '2025-04-16',\n 'model' => '12,13,14세대 MiniPC',\n 'price' => '90000',\n 'status' => 'default',\n 'uid' => 8,\n)\n12:30:31[info]: [12,13,14세대 MiniPC [12,13,14세대 MiniPC]]생성되었습니다.:','default','2025-06-02 03:30:31'),(10,1,'Customer\\Service','create','작업이 실패하였습니다.','12:37:15[debug]: Customer\\Service 작업 데이터 검증 오류발생\nThe end_at field must contain a valid date.','default','2025-06-02 03:37:15'),(11,1,'Customer\\Service','create','작업이 성공적으로 완료되었습니다.','12:37:30[debug]: 입력내용\n12:37:30[debug]: array (\n 'clientinfo_uid' => '1',\n 'switch' => 'R35P10',\n 'location' => 'default',\n 'type' => 'default',\n 'raid' => 'RAID1',\n 'billing_at' => '2025-06-25',\n 'start_at' => '2025-06-02',\n 'end_at' => '2025-06-25',\n 'status' => 'default',\n)\n12:37:30[debug]: [1/R35P10] 입력 후 내용\n12:37:30[debug]: array (\n 'clientinfo_uid' => '1',\n 'switch' => 'R35P10',\n 'location' => 'default',\n 'type' => 'default',\n 'raid' => 'RAID1',\n 'billing_at' => '2025-06-25',\n 'start_at' => '2025-06-02',\n 'end_at' => '2025-06-25',\n 'status' => 'default',\n 'uid' => 1,\n)\n12:37:30[info]: [R35P10]생성되었습니다.:','default','2025-06-02 03:37:30'),(12,1,'Customer\\ServiceItem','create','작업이 실패하였습니다.','16:17:22[debug]: Customer\\ServiceItem 작업 데이터 검증 오류발생\nThe item_uid field is required.\nThe billing_cycle field is required.\nThe price field is required.\nThe amount field is required.\nThe start_at field is required.\nThe end_at field must contain a valid date.\nThe status field is required.','default','2025-06-02 07:17:22'),(13,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:19:58[debug]: 입력내용\n16:19:58[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'LINE',\n 'item_uid' => '8',\n 'billing_cycle' => 'month',\n 'price' => '1000000',\n 'amount' => '500000',\n 'start_at' => '2025-06-11',\n 'status' => 'default',\n)\n16:19:58[debug]: [1/LINE] 입력 후 내용\n16:19:58[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'LINE',\n 'item_uid' => '8',\n 'billing_cycle' => 'month',\n 'price' => '1000000',\n 'amount' => '500000',\n 'start_at' => '2025-06-11',\n 'status' => 'default',\n 'uid' => 1,\n)\n16:19:58[info]: [LINE]생성되었습니다.:','default','2025-06-02 07:19:58'),(14,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:28:27[debug]: 입력내용\n16:28:27[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'IP',\n 'item_uid' => '12',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:28:27[debug]: [2/12] 입력 후 내용\n16:28:27[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'IP',\n 'item_uid' => '12',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 2,\n)\n16:28:27[info]: [12]생성되었습니다.:','default','2025-06-02 07:28:27'),(15,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:28:57[debug]: 입력내용\n16:28:57[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'IP',\n 'item_uid' => '11',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:28:57[debug]: [3/11] 입력 후 내용\n16:28:57[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'IP',\n 'item_uid' => '11',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 3,\n)\n16:28:57[info]: [11]생성되었습니다.:','default','2025-06-02 07:28:57'),(16,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:35:12[debug]: 입력내용\n16:35:12[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SERVER',\n 'item_uid' => '4',\n 'billing_cycle' => 'month',\n 'price' => '150000',\n 'amount' => '100000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:35:12[debug]: [4/4 [150,000/100,000원]] 입력 후 내용\n16:35:12[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SERVER',\n 'item_uid' => '4',\n 'billing_cycle' => 'month',\n 'price' => '150000',\n 'amount' => '100000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 4,\n)\n16:35:12[info]: [4 [150,000/100,000원]]생성되었습니다.:','default','2025-06-02 07:35:12'),(17,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:36:08[debug]: 입력내용\n16:36:08[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:36:08[debug]: [5/1 [50,000/40,000원]] 입력 후 내용\n16:36:08[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 5,\n)\n16:36:08[info]: [1 [50,000/40,000원]]생성되었습니다.:','default','2025-06-02 07:36:08'),(18,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:36:49[debug]: 입력내용\n16:36:49[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-20',\n 'status' => 'pause',\n)\n16:36:49[debug]: [6/1 [50,000/40,000원]] 입력 후 내용\n16:36:49[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-20',\n 'status' => 'pause',\n 'uid' => 6,\n)\n16:36:49[info]: [1 [50,000/40,000원]]생성되었습니다.:','default','2025-06-02 07:36:49'),(19,1,'Customer\\ServiceItem','toggle','작업이 성공적으로 완료되었습니다.','16:39:23[debug]: [6/1 [50,000/40,000원]] 변경 전 내용\n16:39:23[debug]: array (\n 'status' => 'reservation',\n)\n16:39:23[debug]: array (\n 'uid' => '6',\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-20',\n 'end_at' => NULL,\n 'status' => 'pause',\n 'updated_at' => NULL,\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' => '2025-06-02 16:36:49.000000',\n 'timezone_type' => 3,\n 'timezone' => 'Asia/Seoul',\n )),\n)\n16:39:23[debug]: [6/1 [50,000/40,000원]] 변경 후 내용\n16:39:23[debug]: array (\n 'uid' => '6',\n 'serviceinfo_uid' => '1',\n 'item_type' => 'CPU',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '40000',\n 'start_at' => '2025-06-20',\n 'end_at' => NULL,\n 'status' => 'reservation',\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-06-02 16:39:23.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' => '2025-06-02 16:36:49.000000',\n 'timezone_type' => 3,\n 'timezone' => 'Asia/Seoul',\n )),\n)\n16:39:23[info]: [1 [50,000/40,000원]]수정되였습니다.:','default','2025-06-02 07:39:23'),(20,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:42:56[debug]: 입력내용\n16:42:56[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'RAM',\n 'item_uid' => '2',\n 'billing_cycle' => 'onetime',\n 'price' => '2000',\n 'amount' => '2000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:42:56[debug]: [7/2 [2,000/2,000원]] 입력 후 내용\n16:42:56[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'RAM',\n 'item_uid' => '2',\n 'billing_cycle' => 'onetime',\n 'price' => '2000',\n 'amount' => '2000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 7,\n)\n16:42:56[info]: [2 [2,000/2,000원]]생성되었습니다.:','default','2025-06-02 07:42:56'),(21,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','16:43:27[debug]: 입력내용\n16:43:27[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'RAM',\n 'item_uid' => '2',\n 'billing_cycle' => 'onetime',\n 'price' => '2000',\n 'amount' => '2000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n16:43:27[debug]: [8/2 [2,000/2,000원]] 입력 후 내용\n16:43:27[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'RAM',\n 'item_uid' => '2',\n 'billing_cycle' => 'onetime',\n 'price' => '2000',\n 'amount' => '2000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 8,\n)\n16:43:27[info]: [2 [2,000/2,000원]]생성되었습니다.:','default','2025-06-02 07:43:27'),(22,1,'Equipment\\Part\\Ram','create','작업이 성공적으로 완료되었습니다.','16:53:26[debug]: 입력내용\n16:53:26[debug]: array (\n 'model' => 'ECC 2G',\n 'price' => '1000',\n 'status' => 'default',\n)\n16:53:26[debug]: [1/ECC 2G [1,000원]] 입력 후 내용\n16:53:26[debug]: array (\n 'model' => 'ECC 2G',\n 'price' => '1000',\n 'status' => 'default',\n 'uid' => 1,\n)\n16:53:26[info]: [ECC 2G [1,000원]]생성되었습니다.:','default','2025-06-02 07:53:26'),(23,1,'Equipment\\Part\\Ram','create','작업이 성공적으로 완료되었습니다.','16:53:40[debug]: 입력내용\n16:53:40[debug]: array (\n 'model' => 'ECC 4G',\n 'price' => '2000',\n 'status' => 'default',\n)\n16:53:40[debug]: [2/ECC 4G [2,000원]] 입력 후 내용\n16:53:40[debug]: array (\n 'model' => 'ECC 4G',\n 'price' => '2000',\n 'status' => 'default',\n 'uid' => 2,\n)\n16:53:40[info]: [ECC 4G [2,000원]]생성되었습니다.:','default','2025-06-02 07:53:40'),(24,1,'Equipment\\Part\\Ram','create','작업이 성공적으로 완료되었습니다.','16:54:04[debug]: 입력내용\n16:54:04[debug]: array (\n 'model' => 'ECC 8G',\n 'price' => '3000',\n 'status' => 'default',\n)\n16:54:04[debug]: [3/ECC 8G [3,000원]] 입력 후 내용\n16:54:04[debug]: array (\n 'model' => 'ECC 8G',\n 'price' => '3000',\n 'status' => 'default',\n 'uid' => 3,\n)\n16:54:04[info]: [ECC 8G [3,000원]]생성되었습니다.:','default','2025-06-02 07:54:04'),(25,1,'Equipment\\Part\\Ram','create','작업이 성공적으로 완료되었습니다.','16:54:18[debug]: 입력내용\n16:54:18[debug]: array (\n 'model' => 'ECC 16G',\n 'price' => '4000',\n 'status' => 'default',\n)\n16:54:18[debug]: [4/ECC 16G [4,000원]] 입력 후 내용\n16:54:18[debug]: array (\n 'model' => 'ECC 16G',\n 'price' => '4000',\n 'status' => 'default',\n 'uid' => 4,\n)\n16:54:18[info]: [ECC 16G [4,000원]]생성되었습니다.:','default','2025-06-02 07:54:18'),(26,1,'Equipment\\Part\\Ram','create','작업이 성공적으로 완료되었습니다.','16:54:36[debug]: 입력내용\n16:54:36[debug]: array (\n 'model' => 'ECC 32G',\n 'price' => '5000',\n 'status' => 'default',\n)\n16:54:36[debug]: [5/ECC 32G [5,000원]] 입력 후 내용\n16:54:36[debug]: array (\n 'model' => 'ECC 32G',\n 'price' => '5000',\n 'status' => 'default',\n 'uid' => 5,\n)\n16:54:36[info]: [ECC 32G [5,000원]]생성되었습니다.:','default','2025-06-02 07:54:36'),(27,1,'Equipment\\Part\\Storage','create','작업이 성공적으로 완료되었습니다.','16:55:16[debug]: 입력내용\n16:55:16[debug]: array (\n 'model' => 'Samsung SSD 860 256G',\n 'price' => '100000',\n 'status' => 'default',\n)\n16:55:16[debug]: [1/Samsung SSD 860 256G [100,000원]] 입력 후 내용\n16:55:16[debug]: array (\n 'model' => 'Samsung SSD 860 256G',\n 'price' => '100000',\n 'status' => 'default',\n 'uid' => 1,\n)\n16:55:16[info]: [Samsung SSD 860 256G [100,000원]]생성되었습니다.:','default','2025-06-02 07:55:16'),(28,1,'Equipment\\Part\\Storage','create','작업이 성공적으로 완료되었습니다.','16:55:38[debug]: 입력내용\n16:55:38[debug]: array (\n 'model' => 'Samsung SSD 870 EVO 500G',\n 'price' => '70000',\n 'status' => 'default',\n)\n16:55:38[debug]: [2/Samsung SSD 870 EVO 500G [70,000원]] 입력 후 내용\n16:55:38[debug]: array (\n 'model' => 'Samsung SSD 870 EVO 500G',\n 'price' => '70000',\n 'status' => 'default',\n 'uid' => 2,\n)\n16:55:38[info]: [Samsung SSD 870 EVO 500G [70,000원]]생성되었습니다.:','default','2025-06-02 07:55:38'),(29,1,'Equipment\\Part\\Storage','create','작업이 성공적으로 완료되었습니다.','16:55:49[debug]: 입력내용\n16:55:49[debug]: array (\n 'model' => 'Samsung SSD 870 Pro 500G',\n 'price' => '80000',\n 'status' => 'default',\n)\n16:55:49[debug]: [3/Samsung SSD 870 Pro 500G [80,000원]] 입력 후 내용\n16:55:49[debug]: array (\n 'model' => 'Samsung SSD 870 Pro 500G',\n 'price' => '80000',\n 'status' => 'default',\n 'uid' => 3,\n)\n16:55:49[info]: [Samsung SSD 870 Pro 500G [80,000원]]생성되었습니다.:','default','2025-06-02 07:55:49'),(30,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:11:10[debug]: 입력내용\n17:11:10[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'STORAGE',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '100000',\n 'amount' => '50000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n17:11:10[debug]: [9/STORAGE [100,000/50,000원]] 입력 후 내용\n17:11:10[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'STORAGE',\n 'item_uid' => '1',\n 'billing_cycle' => 'month',\n 'price' => '100000',\n 'amount' => '50000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 9,\n)\n17:11:10[info]: [STORAGE [100,000/50,000원]]생성되었습니다.:','default','2025-06-02 08:11:10'),(31,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:11:50[debug]: 입력내용\n17:11:50[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'STORAGE',\n 'item_uid' => '1',\n 'billing_cycle' => 'onetime',\n 'price' => '100000',\n 'amount' => '100000',\n 'start_at' => '2025-06-25',\n 'status' => 'reservation',\n)\n17:11:50[debug]: [10/STORAGE [100,000/100,000원]] 입력 후 내용\n17:11:50[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'STORAGE',\n 'item_uid' => '1',\n 'billing_cycle' => 'onetime',\n 'price' => '100000',\n 'amount' => '100000',\n 'start_at' => '2025-06-25',\n 'status' => 'reservation',\n 'uid' => 10,\n)\n17:11:50[info]: [STORAGE [100,000/100,000원]]생성되었습니다.:','default','2025-06-02 08:11:50'),(32,1,'Customer\\ServiceItem','create','작업이 실패하였습니다.','17:12:33[debug]: Customer\\ServiceItem 작업 데이터 검증 오류발생\nThe billing_cycle field is required.','default','2025-06-02 08:12:33'),(33,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:12:55[debug]: 입력내용\n17:12:55[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '1',\n 'billing_cycle' => 'onetime',\n 'price' => '10000',\n 'amount' => '10000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n17:12:55[debug]: [11/SOFTWARE [10,000/10,000원]] 입력 후 내용\n17:12:55[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '1',\n 'billing_cycle' => 'onetime',\n 'price' => '10000',\n 'amount' => '10000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 11,\n)\n17:12:55[info]: [SOFTWARE [10,000/10,000원]]생성되었습니다.:','default','2025-06-02 08:12:55'),(34,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:13:40[debug]: 입력내용\n17:13:40[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '4',\n 'billing_cycle' => 'month',\n 'price' => '10000',\n 'amount' => '10000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n17:13:40[debug]: [12/SOFTWARE [10,000/10,000원]] 입력 후 내용\n17:13:40[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '4',\n 'billing_cycle' => 'month',\n 'price' => '10000',\n 'amount' => '10000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 12,\n)\n17:13:40[info]: [SOFTWARE [10,000/10,000원]]생성되었습니다.:','default','2025-06-02 08:13:40'),(35,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:14:12[debug]: 입력내용\n17:14:12[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '5',\n 'billing_cycle' => 'month',\n 'price' => '5000',\n 'amount' => '5000',\n 'start_at' => '2025-06-25',\n 'status' => 'reservation',\n)\n17:14:12[debug]: [13/SOFTWARE [5,000/5,000원]] 입력 후 내용\n17:14:12[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SOFTWARE',\n 'item_uid' => '5',\n 'billing_cycle' => 'month',\n 'price' => '5000',\n 'amount' => '5000',\n 'start_at' => '2025-06-25',\n 'status' => 'reservation',\n 'uid' => 13,\n)\n17:14:12[info]: [SOFTWARE [5,000/5,000원]]생성되었습니다.:','default','2025-06-02 08:14:12'),(36,1,'Customer\\ServiceItem','create','작업이 성공적으로 완료되었습니다.','17:14:43[debug]: 입력내용\n17:14:43[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'DEFENCE',\n 'item_uid' => '3',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '50000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n)\n17:14:43[debug]: [14/DEFENCE [50,000/50,000원]] 입력 후 내용\n17:14:43[debug]: array (\n 'serviceinfo_uid' => '1',\n 'item_type' => 'DEFENCE',\n 'item_uid' => '3',\n 'billing_cycle' => 'month',\n 'price' => '50000',\n 'amount' => '50000',\n 'start_at' => '2025-06-13',\n 'status' => 'default',\n 'uid' => 14,\n)\n17:14:43[info]: [DEFENCE [50,000/50,000원]]생성되었습니다.:','default','2025-06-02 08:14:43'),(37,1,'Customer\\ServiceItem','create','작업이 실패하였습니다.','17:15:22[debug]: Customer\\ServiceItem 작업 데이터 검증 오류발생\nThe item_uid field is required.','default','2025-06-02 08:15:22'),(38,1,'Customer\\ServiceItem','toggle','작업이 성공적으로 완료되었습니다.','17:33:41[debug]: [4/SERVER [150,000/100,000원]] 변경 전 내용\n17:33:41[debug]: array (\n 'item_uid' => '3',\n)\n17:33:41[debug]: array (\n 'uid' => '4',\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SERVER',\n 'item_uid' => '4',\n 'billing_cycle' => 'month',\n 'price' => '150000',\n 'amount' => '100000',\n 'start_at' => '2025-06-13',\n 'end_at' => NULL,\n 'status' => 'default',\n 'updated_at' => NULL,\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' => '2025-06-02 16:35:12.000000',\n 'timezone_type' => 3,\n 'timezone' => 'Asia/Seoul',\n )),\n)\n17:33:41[debug]: [4/SERVER [150,000/100,000원]] 변경 후 내용\n17:33:41[debug]: array (\n 'uid' => '4',\n 'serviceinfo_uid' => '1',\n 'item_type' => 'SERVER',\n 'item_uid' => '3',\n 'billing_cycle' => 'month',\n 'price' => '150000',\n 'amount' => '100000',\n 'start_at' => '2025-06-13',\n 'end_at' => NULL,\n 'status' => 'default',\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-06-02 17:33:41.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' => '2025-06-02 16:35:12.000000',\n 'timezone_type' => 3,\n 'timezone' => 'Asia/Seoul',\n )),\n)\n17:33:41[info]: [SERVER [150,000/100,000원]]수정되였습니다.:','default','2025-06-02 08:33:41'),(39,1,'Equipment\\Server','create','작업이 성공적으로 완료되었습니다.','17:36:15[debug]: 입력내용\n17:36:15[debug]: array (\n 'code' => 'JPN234',\n 'manufactur_at' => '2025-06-05',\n 'model' => 'HP DL360 Gen 9',\n 'price' => '200000',\n 'status' => 'default',\n 'description' => '',\n)\n17:36:15[debug]: [9/HP DL360 Gen 9 [200,000원]] 입력 후 내용\n17:36:15[debug]: array (\n 'code' => 'JPN234',\n 'manufactur_at' => '2025-06-05',\n 'model' => 'HP DL360 Gen 9',\n 'price' => '200000',\n 'status' => 'default',\n 'uid' => 9,\n)\n17:36:15[info]: [HP DL360 Gen 9 [200,000원]]생성되었습니다.:','default','2025-06-02 08:36:15'); /*!40000 ALTER TABLE `logger` ENABLE KEYS */; UNLOCK TABLES; @@ -471,7 +442,7 @@ CREATE TABLE `raminfo` ( `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_model` (`model`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='RAM 정보'; +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='RAM 정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -480,7 +451,7 @@ CREATE TABLE `raminfo` ( LOCK TABLES `raminfo` WRITE; /*!40000 ALTER TABLE `raminfo` DISABLE KEYS */; -INSERT INTO `raminfo` VALUES (1,'Samsung SSD 860 256G',50000,'default',NULL,'2025-05-29 07:27:54'),(2,'Samsung SSD 870 EVO 500G',70000,'default',NULL,'2025-05-29 07:28:09'),(3,'Samsung SSD 870 Pro 500G',80000,'default',NULL,'2025-05-29 07:28:18'); +INSERT INTO `raminfo` VALUES (1,'ECC 2G',1000,'default',NULL,'2025-06-02 07:53:26'),(2,'ECC 4G',2000,'default',NULL,'2025-06-02 07:53:40'),(3,'ECC 8G',3000,'default',NULL,'2025-06-02 07:54:04'),(4,'ECC 16G',4000,'default',NULL,'2025-06-02 07:54:18'),(5,'ECC 32G',5000,'default',NULL,'2025-06-02 07:54:36'); /*!40000 ALTER TABLE `raminfo` ENABLE KEYS */; UNLOCK TABLES; @@ -494,20 +465,17 @@ DROP TABLE IF EXISTS `serverinfo`; CREATE TABLE `serverinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) DEFAULT NULL COMMENT '소유자정보', - `code` varchar(20) NOT NULL, `model` varchar(50) NOT NULL, `price` int(11) NOT NULL DEFAULT 0, `description` text DEFAULT NULL, `status` varchar(20) NOT NULL DEFAULT 'default', - `manufactur_at` timestamp NOT NULL DEFAULT current_timestamp() COMMENT '제조일', `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), UNIQUE KEY `UQ_uid` (`uid`), - UNIQUE KEY `UQ_code` (`code`), KEY `FK_clientinfo_TO_serverinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_serverinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) -) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버정보'; +) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서버정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -516,7 +484,7 @@ CREATE TABLE `serverinfo` ( LOCK TABLES `serverinfo` WRITE; /*!40000 ALTER TABLE `serverinfo` DISABLE KEYS */; -INSERT INTO `serverinfo` VALUES (3,NULL,'X386','HP DL360 Gen 6',100000,NULL,'default','2025-05-31 15:00:00',NULL,'2025-06-02 03:27:07'),(4,NULL,'XE785','HP DL360 Gen 7',150000,NULL,'default','2019-06-03 15:00:00',NULL,'2025-06-02 03:28:06'),(5,NULL,'ZE2345','HP DL360 Gen 8',200000,NULL,'default','2019-06-10 15:00:00',NULL,'2025-06-02 03:28:35'),(6,NULL,'I3A23','3,4,5세대 PC',50000,NULL,'default','2025-04-15 15:00:00',NULL,'2025-06-02 03:29:22'),(7,NULL,'I7','6,7,8세대 PC',70000,NULL,'default','2025-02-03 15:00:00',NULL,'2025-06-02 03:29:55'),(8,NULL,'Min234','12,13,14세대 MiniPC',90000,NULL,'default','2025-04-15 15:00:00',NULL,'2025-06-02 03:30:31'); +INSERT INTO `serverinfo` VALUES (3,NULL,'HP DL360 Gen 6',100000,NULL,'default',NULL,'2025-06-02 03:27:07'),(4,NULL,'HP DL360 Gen 7',150000,NULL,'default',NULL,'2025-06-02 03:28:06'),(5,NULL,'HP DL360 Gen 8',200000,NULL,'default',NULL,'2025-06-02 03:28:35'),(6,NULL,'3,4,5세대 PC',50000,NULL,'default',NULL,'2025-06-02 03:29:22'),(7,NULL,'6,7,8세대 PC',70000,NULL,'default',NULL,'2025-06-02 03:29:55'),(8,NULL,'12,13,14세대 MiniPC',90000,NULL,'default',NULL,'2025-06-02 03:30:31'),(9,NULL,'HP DL360 Gen 9',200000,NULL,'default',NULL,'2025-06-02 08:36:15'); /*!40000 ALTER TABLE `serverinfo` ENABLE KEYS */; UNLOCK TABLES; @@ -530,6 +498,7 @@ DROP TABLE IF EXISTS `serviceinfo`; CREATE TABLE `serviceinfo` ( `uid` int(11) NOT NULL AUTO_INCREMENT, `clientinfo_uid` int(11) NOT NULL, + `code` varchar(20) NOT NULL, `switch` varchar(20) NOT NULL, `location` varchar(20) DEFAULT NULL, `type` varchar(20) NOT NULL, @@ -541,9 +510,10 @@ CREATE TABLE `serviceinfo` ( `updated_at` timestamp NULL DEFAULT NULL, `created_at` timestamp NOT NULL DEFAULT current_timestamp(), PRIMARY KEY (`uid`), + UNIQUE KEY `UQ_code` (`code`), KEY `FK_clientinfo_TO_serviceinfo` (`clientinfo_uid`), CONSTRAINT `FK_clientinfo_TO_serviceinfo` FOREIGN KEY (`clientinfo_uid`) REFERENCES `clientinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스정보'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -552,6 +522,7 @@ CREATE TABLE `serviceinfo` ( LOCK TABLES `serviceinfo` WRITE; /*!40000 ALTER TABLE `serviceinfo` DISABLE KEYS */; +INSERT INTO `serviceinfo` VALUES (1,1,'','R35P10','default','default','RAID1','2025-06-25','2025-06-02','2025-06-25','default',NULL,'2025-06-02 03:37:30'); /*!40000 ALTER TABLE `serviceinfo` ENABLE KEYS */; UNLOCK TABLES; @@ -567,7 +538,7 @@ CREATE TABLE `serviceinfo_items` ( `serviceinfo_uid` int(11) NOT NULL, `item_type` varchar(20) NOT NULL, `item_uid` int(11) NOT NULL, - `billing_cyle` varchar(20) NOT NULL, + `billing_cycle` varchar(20) NOT NULL, `price` int(11) NOT NULL DEFAULT 0 COMMENT '소비자금액', `amount` int(11) NOT NULL DEFAULT 0 COMMENT '청구금액', `start_at` date DEFAULT NULL COMMENT '시작일', @@ -578,7 +549,7 @@ CREATE TABLE `serviceinfo_items` ( PRIMARY KEY (`uid`), KEY `FK_serviceinfo_TO_serviceinfo_items` (`serviceinfo_uid`), CONSTRAINT `FK_serviceinfo_TO_serviceinfo_items` FOREIGN KEY (`serviceinfo_uid`) REFERENCES `serviceinfo` (`uid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스Item정보'; +) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='서비스Item정보'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -587,6 +558,7 @@ CREATE TABLE `serviceinfo_items` ( LOCK TABLES `serviceinfo_items` WRITE; /*!40000 ALTER TABLE `serviceinfo_items` DISABLE KEYS */; +INSERT INTO `serviceinfo_items` VALUES (1,1,'LINE',8,'month',1000000,500000,'2025-06-11',NULL,'default',NULL,'2025-06-02 07:19:58'),(2,1,'IP',12,'month',50000,40000,'2025-06-13',NULL,'default',NULL,'2025-06-02 07:28:27'),(3,1,'IP',11,'month',50000,40000,'2025-06-13',NULL,'default',NULL,'2025-06-02 07:28:57'),(4,1,'SERVER',3,'month',150000,100000,'2025-06-13',NULL,'default','2025-06-02 08:33:41','2025-06-02 07:35:12'),(5,1,'CPU',1,'month',50000,40000,'2025-06-13',NULL,'default',NULL,'2025-06-02 07:36:08'),(6,1,'CPU',1,'month',50000,40000,'2025-06-20',NULL,'reservation','2025-06-02 07:39:23','2025-06-02 07:36:49'),(7,1,'RAM',2,'onetime',2000,2000,'2025-06-13',NULL,'default',NULL,'2025-06-02 07:42:56'),(8,1,'RAM',2,'onetime',2000,2000,'2025-06-13',NULL,'default',NULL,'2025-06-02 07:43:27'),(9,1,'STORAGE',1,'month',100000,50000,'2025-06-13',NULL,'default',NULL,'2025-06-02 08:11:10'),(10,1,'STORAGE',1,'onetime',100000,100000,'2025-06-25',NULL,'reservation',NULL,'2025-06-02 08:11:50'),(11,1,'SOFTWARE',1,'onetime',10000,10000,'2025-06-13',NULL,'default',NULL,'2025-06-02 08:12:55'),(12,1,'SOFTWARE',4,'month',10000,10000,'2025-06-13',NULL,'default',NULL,'2025-06-02 08:13:40'),(13,1,'SOFTWARE',5,'month',5000,5000,'2025-06-25',NULL,'reservation',NULL,'2025-06-02 08:14:12'),(14,1,'DEFENCE',3,'month',50000,50000,'2025-06-13',NULL,'default',NULL,'2025-06-02 08:14:43'); /*!40000 ALTER TABLE `serviceinfo_items` ENABLE KEYS */; UNLOCK TABLES; @@ -621,6 +593,35 @@ INSERT INTO `softwareinfo` VALUES (1,'Windows','Windows 2008R2 Ent',10000,NULL,' /*!40000 ALTER TABLE `softwareinfo` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `storageinfo` +-- + +DROP TABLE IF EXISTS `storageinfo`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `storageinfo` ( + `uid` int(11) NOT NULL AUTO_INCREMENT, + `model` varchar(50) NOT NULL, + `price` int(11) NOT NULL DEFAULT 0, + `status` varchar(20) NOT NULL DEFAULT 'default', + `updated_at` timestamp NULL DEFAULT NULL, + `created_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`uid`), + UNIQUE KEY `UQ_model` (`model`) +) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci COMMENT='DISK 정보'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `storageinfo` +-- + +LOCK TABLES `storageinfo` WRITE; +/*!40000 ALTER TABLE `storageinfo` DISABLE KEYS */; +INSERT INTO `storageinfo` VALUES (1,'Samsung SSD 860 256G',100000,'default',NULL,'2025-06-02 07:55:16'),(2,'Samsung SSD 870 EVO 500G',70000,'default',NULL,'2025-06-02 07:55:38'),(3,'Samsung SSD 870 Pro 500G',80000,'default',NULL,'2025-06-02 07:55:49'); +/*!40000 ALTER TABLE `storageinfo` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `user` -- @@ -664,4 +665,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2025-06-02 12:30:48 +-- Dump completed on 2025-06-02 18:45:48 diff --git a/app/Database/dbms_init_data.sql b/app/Database/dbms_init_data.sql deleted file mode 100644 index 1eed268..0000000 --- a/app/Database/dbms_init_data.sql +++ /dev/null @@ -1,209 +0,0 @@ -/*!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_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 */; - --- --- Dumping data for table `clientinfo` --- - -LOCK TABLES `clientinfo` WRITE; -/*!40000 ALTER TABLE `clientinfo` DISABLE KEYS */; -INSERT INTO `clientinfo` VALUES (1,'user','Test111','1111','test111@co.kr',50000,0,0,'default','2025-05-29 06:09:07','2025-05-29 06:07:37'),(2,'user,vip','Test222','222','test222@co.kr',0,50,0,'default','2025-05-29 06:10:10','2025-05-29 06:07:54'),(3,'user,vip,reseller','Test333','3333','test333@co.kr',0,0,50000,'default','2025-05-29 06:10:55','2025-05-29 06:08:07'),(4,'user','Test444','4444','test444@co.kr',0,0,0,'default',NULL,'2025-05-29 06:08:17'); -/*!40000 ALTER TABLE `clientinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `accountinfo` --- - -LOCK TABLES `accountinfo` WRITE; -/*!40000 ALTER TABLE `accountinfo` DISABLE KEYS */; -INSERT INTO `accountinfo` VALUES (1,1,'5월예치금입금','Test111',100000,'default','2025-05-29 06:08:43'),(2,1,'5월예치금출금','Test111',50000,'out','2025-05-29 06:09:07'); -/*!40000 ALTER TABLE `accountinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `couponinfo` --- - -LOCK TABLES `couponinfo` WRITE; -/*!40000 ALTER TABLE `couponinfo` DISABLE KEYS */; -INSERT INTO `couponinfo` VALUES (1,2,'5월쿠폰추가',100,'default','2025-05-29 06:09:41'),(2,2,'5월쿠폰사용',50,'out','2025-05-29 06:10:10'); -/*!40000 ALTER TABLE `couponinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `cpuinfo` --- - -LOCK TABLES `cpuinfo` WRITE; -/*!40000 ALTER TABLE `cpuinfo` DISABLE KEYS */; -INSERT INTO `cpuinfo` VALUES (1,'Xeon(R) CPU E5-2690 v2 @3.00GHz',50000,'default',NULL,'2025-05-29 07:25:04'),(2,'Xeon(R) CPU E5-2690 v4 @ 2.60GHz',70000,'default',NULL,'2025-05-29 07:25:17'),(3,'Intel i3',10000,'default',NULL,'2025-05-29 07:25:56'),(4,'Intel i5',20000,'default',NULL,'2025-05-29 07:26:08'),(5,'Intel i7',30000,'default',NULL,'2025-05-29 07:26:22'); -/*!40000 ALTER TABLE `cpuinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `defenceinfo` --- - -LOCK TABLES `defenceinfo` WRITE; -/*!40000 ALTER TABLE `defenceinfo` DISABLE KEYS */; -INSERT INTO `defenceinfo` VALUES (2,'VPC-CS','21.238.234.34',100000,'VPC-X21',NULL,NULL,'default',NULL,'2025-05-29 07:20:50'),(3,'KT-CS','13.23.4.2',50000,'KT-X23',NULL,NULL,'default',NULL,'2025-05-29 07:22:55'); -/*!40000 ALTER TABLE `defenceinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `diskinfo` --- - -LOCK TABLES `diskinfo` WRITE; -/*!40000 ALTER TABLE `diskinfo` DISABLE KEYS */; -INSERT INTO `diskinfo` VALUES (1,'ECC 2G',1000,'default',NULL,'2025-05-29 07:26:40'),(2,'ECC 4G',2000,'default',NULL,'2025-05-29 07:26:52'),(3,'ECC 8G',3000,'default',NULL,'2025-05-29 07:27:08'),(4,'ECC 16G',4000,'default',NULL,'2025-05-29 07:27:22'),(5,'ECC 32G',5000,'default',NULL,'2025-05-29 07:27:33'); -/*!40000 ALTER TABLE `diskinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `domaininfo` --- - -LOCK TABLES `domaininfo` WRITE; -/*!40000 ALTER TABLE `domaininfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `domaininfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `invoiceinfo` --- - -LOCK TABLES `invoiceinfo` WRITE; -/*!40000 ALTER TABLE `invoiceinfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `invoiceinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `invoiceinfo_items` --- - -LOCK TABLES `invoiceinfo_items` WRITE; -/*!40000 ALTER TABLE `invoiceinfo_items` DISABLE KEYS */; -/*!40000 ALTER TABLE `invoiceinfo_items` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `ipinfo` --- - -LOCK TABLES `ipinfo` WRITE; -/*!40000 ALTER TABLE `ipinfo` DISABLE KEYS */; -INSERT INTO `ipinfo` VALUES (1,8,'27.125.207.128',50000,'default',NULL,'2025-05-29 06:45:34'),(2,8,'27.125.207.129',50000,'default',NULL,'2025-05-29 06:45:34'),(3,8,'27.125.207.130',50000,'default',NULL,'2025-05-29 06:45:34'),(4,8,'27.125.207.131',50000,'default',NULL,'2025-05-29 06:45:34'),(5,8,'27.125.207.132',50000,'default',NULL,'2025-05-29 06:45:34'),(6,8,'27.125.207.133',50000,'default',NULL,'2025-05-29 06:45:34'),(7,8,'27.125.207.134',50000,'default',NULL,'2025-05-29 06:45:34'),(8,8,'27.125.207.135',50000,'default',NULL,'2025-05-29 06:45:34'),(9,8,'27.125.207.136',50000,'default',NULL,'2025-05-29 06:45:34'),(10,8,'27.125.207.137',50000,'default',NULL,'2025-05-29 06:45:34'),(11,8,'27.125.207.138',50000,'default',NULL,'2025-05-29 06:45:34'),(12,8,'27.125.207.139',50000,'default',NULL,'2025-05-29 06:45:34'),(13,8,'27.125.207.140',50000,'default',NULL,'2025-05-29 06:45:34'),(14,8,'27.125.207.141',50000,'default',NULL,'2025-05-29 06:45:34'),(15,8,'27.125.207.142',50000,'default',NULL,'2025-05-29 06:45:34'),(16,8,'27.125.207.143',50000,'default',NULL,'2025-05-29 06:45:34'),(17,8,'27.125.207.144',50000,'default',NULL,'2025-05-29 06:45:34'),(18,8,'27.125.207.145',50000,'default',NULL,'2025-05-29 06:45:34'),(19,8,'27.125.207.146',50000,'default',NULL,'2025-05-29 06:45:34'),(20,8,'27.125.207.147',50000,'default',NULL,'2025-05-29 06:45:34'),(21,8,'27.125.207.148',50000,'default',NULL,'2025-05-29 06:45:34'),(22,8,'27.125.207.149',50000,'default',NULL,'2025-05-29 06:45:34'),(23,8,'27.125.207.150',50000,'default',NULL,'2025-05-29 06:45:34'),(24,8,'27.125.207.151',50000,'default',NULL,'2025-05-29 06:45:34'),(25,8,'27.125.207.152',50000,'default',NULL,'2025-05-29 06:45:34'),(26,8,'27.125.207.153',50000,'default',NULL,'2025-05-29 06:45:34'),(27,8,'27.125.207.154',50000,'default',NULL,'2025-05-29 06:45:34'),(28,8,'27.125.207.155',50000,'default',NULL,'2025-05-29 06:45:34'),(29,8,'27.125.207.156',50000,'default',NULL,'2025-05-29 06:45:34'),(30,8,'27.125.207.157',50000,'default',NULL,'2025-05-29 06:45:34'),(31,8,'27.125.207.158',50000,'default',NULL,'2025-05-29 06:45:34'),(32,8,'27.125.207.159',50000,'default',NULL,'2025-05-29 06:45:34'),(33,8,'27.125.207.160',50000,'default',NULL,'2025-05-29 06:45:34'),(34,8,'27.125.207.161',50000,'default',NULL,'2025-05-29 06:45:34'),(35,8,'27.125.207.162',50000,'default',NULL,'2025-05-29 06:45:34'),(36,8,'27.125.207.163',50000,'default',NULL,'2025-05-29 06:45:34'),(37,8,'27.125.207.164',50000,'default',NULL,'2025-05-29 06:45:34'),(38,8,'27.125.207.165',50000,'default',NULL,'2025-05-29 06:45:34'),(39,8,'27.125.207.166',50000,'default',NULL,'2025-05-29 06:45:34'),(40,8,'27.125.207.167',50000,'default',NULL,'2025-05-29 06:45:34'),(41,8,'27.125.207.168',50000,'default',NULL,'2025-05-29 06:45:34'),(42,8,'27.125.207.169',50000,'default',NULL,'2025-05-29 06:45:34'),(43,8,'27.125.207.170',50000,'default',NULL,'2025-05-29 06:45:34'),(44,8,'27.125.207.171',50000,'default',NULL,'2025-05-29 06:45:34'),(45,8,'27.125.207.172',50000,'default',NULL,'2025-05-29 06:45:34'),(46,8,'27.125.207.173',50000,'default',NULL,'2025-05-29 06:45:34'),(47,8,'27.125.207.174',50000,'default',NULL,'2025-05-29 06:45:34'),(48,8,'27.125.207.175',50000,'default',NULL,'2025-05-29 06:45:34'),(49,8,'27.125.207.176',50000,'default',NULL,'2025-05-29 06:45:34'),(50,8,'27.125.207.177',50000,'default',NULL,'2025-05-29 06:45:34'),(51,8,'27.125.207.178',50000,'default',NULL,'2025-05-29 06:45:34'),(52,8,'27.125.207.179',50000,'default',NULL,'2025-05-29 06:45:34'),(53,8,'27.125.207.180',50000,'default',NULL,'2025-05-29 06:45:34'),(54,8,'27.125.207.181',50000,'default',NULL,'2025-05-29 06:45:34'),(55,8,'27.125.207.182',50000,'default',NULL,'2025-05-29 06:45:34'),(56,8,'27.125.207.183',50000,'default',NULL,'2025-05-29 06:45:34'),(57,8,'27.125.207.184',50000,'default',NULL,'2025-05-29 06:45:34'),(58,8,'27.125.207.185',50000,'default',NULL,'2025-05-29 06:45:34'),(59,8,'27.125.207.186',50000,'default',NULL,'2025-05-29 06:45:34'),(60,8,'27.125.207.187',50000,'default',NULL,'2025-05-29 06:45:34'),(61,8,'27.125.207.188',50000,'default',NULL,'2025-05-29 06:45:34'),(62,8,'27.125.207.189',50000,'default',NULL,'2025-05-29 06:45:34'),(63,8,'27.125.207.190',50000,'default',NULL,'2025-05-29 06:45:34'),(64,8,'27.125.207.191',50000,'default',NULL,'2025-05-29 06:45:34'),(65,8,'27.125.207.192',50000,'default',NULL,'2025-05-29 06:45:34'),(66,8,'27.125.207.193',50000,'default',NULL,'2025-05-29 06:45:34'),(67,8,'27.125.207.194',50000,'default',NULL,'2025-05-29 06:45:35'),(68,8,'27.125.207.195',50000,'default',NULL,'2025-05-29 06:45:35'),(69,8,'27.125.207.196',50000,'default',NULL,'2025-05-29 06:45:35'),(70,8,'27.125.207.197',50000,'default',NULL,'2025-05-29 06:45:35'),(71,8,'27.125.207.198',50000,'default',NULL,'2025-05-29 06:45:35'),(72,8,'27.125.207.199',50000,'default',NULL,'2025-05-29 06:45:35'),(73,8,'27.125.207.200',50000,'default',NULL,'2025-05-29 06:45:35'),(74,8,'27.125.207.201',50000,'default',NULL,'2025-05-29 06:45:35'),(75,8,'27.125.207.202',50000,'default',NULL,'2025-05-29 06:45:35'),(76,8,'27.125.207.203',50000,'default',NULL,'2025-05-29 06:45:35'),(77,8,'27.125.207.204',50000,'default',NULL,'2025-05-29 06:45:35'),(78,8,'27.125.207.205',50000,'default',NULL,'2025-05-29 06:45:35'),(79,8,'27.125.207.206',50000,'default',NULL,'2025-05-29 06:45:35'),(80,8,'27.125.207.207',50000,'default',NULL,'2025-05-29 06:45:35'),(81,8,'27.125.207.208',50000,'default',NULL,'2025-05-29 06:45:35'),(82,8,'27.125.207.209',50000,'default',NULL,'2025-05-29 06:45:35'),(83,8,'27.125.207.210',50000,'default',NULL,'2025-05-29 06:45:35'),(84,8,'27.125.207.211',50000,'default',NULL,'2025-05-29 06:45:35'),(85,8,'27.125.207.212',50000,'default',NULL,'2025-05-29 06:45:35'),(86,8,'27.125.207.213',50000,'default',NULL,'2025-05-29 06:45:35'),(87,8,'27.125.207.214',50000,'default',NULL,'2025-05-29 06:45:35'),(88,8,'27.125.207.215',50000,'default',NULL,'2025-05-29 06:45:35'),(89,8,'27.125.207.216',50000,'default',NULL,'2025-05-29 06:45:35'),(90,8,'27.125.207.217',50000,'default',NULL,'2025-05-29 06:45:35'),(91,8,'27.125.207.218',50000,'default',NULL,'2025-05-29 06:45:35'),(92,8,'27.125.207.219',50000,'default',NULL,'2025-05-29 06:45:35'),(93,8,'27.125.207.220',50000,'default',NULL,'2025-05-29 06:45:35'),(94,8,'27.125.207.221',50000,'default',NULL,'2025-05-29 06:45:35'),(95,8,'27.125.207.222',50000,'default',NULL,'2025-05-29 06:45:35'),(96,8,'27.125.207.223',50000,'default',NULL,'2025-05-29 06:45:35'),(97,8,'27.125.207.224',50000,'default',NULL,'2025-05-29 06:45:35'),(98,8,'27.125.207.225',50000,'default',NULL,'2025-05-29 06:45:35'),(99,8,'27.125.207.226',50000,'default',NULL,'2025-05-29 06:45:35'),(100,8,'27.125.207.227',50000,'default',NULL,'2025-05-29 06:45:35'),(101,8,'27.125.207.228',50000,'default',NULL,'2025-05-29 06:45:35'),(102,8,'27.125.207.229',50000,'default',NULL,'2025-05-29 06:45:35'),(103,8,'27.125.207.230',50000,'default',NULL,'2025-05-29 06:45:35'),(104,8,'27.125.207.231',50000,'default',NULL,'2025-05-29 06:45:35'),(105,8,'27.125.207.232',50000,'default',NULL,'2025-05-29 06:45:35'),(106,8,'27.125.207.233',50000,'default',NULL,'2025-05-29 06:45:35'),(107,8,'27.125.207.234',50000,'default',NULL,'2025-05-29 06:45:35'),(108,8,'27.125.207.235',50000,'default',NULL,'2025-05-29 06:45:35'),(109,8,'27.125.207.236',50000,'default',NULL,'2025-05-29 06:45:35'),(110,8,'27.125.207.237',50000,'default',NULL,'2025-05-29 06:45:35'),(111,8,'27.125.207.238',50000,'default',NULL,'2025-05-29 06:45:35'),(112,8,'27.125.207.239',50000,'default',NULL,'2025-05-29 06:45:35'),(113,8,'27.125.207.240',50000,'default',NULL,'2025-05-29 06:45:35'),(114,8,'27.125.207.241',50000,'default',NULL,'2025-05-29 06:45:35'),(115,8,'27.125.207.242',50000,'default',NULL,'2025-05-29 06:45:35'),(116,8,'27.125.207.243',50000,'default',NULL,'2025-05-29 06:45:35'),(117,8,'27.125.207.244',50000,'default',NULL,'2025-05-29 06:45:35'),(118,8,'27.125.207.245',50000,'default',NULL,'2025-05-29 06:45:35'),(119,8,'27.125.207.246',50000,'default',NULL,'2025-05-29 06:45:35'),(120,8,'27.125.207.247',50000,'default',NULL,'2025-05-29 06:45:35'),(121,8,'27.125.207.248',50000,'default',NULL,'2025-05-29 06:45:35'),(122,8,'27.125.207.249',50000,'default',NULL,'2025-05-29 06:45:35'),(123,8,'27.125.207.250',50000,'default',NULL,'2025-05-29 06:45:35'),(124,8,'27.125.207.251',50000,'default',NULL,'2025-05-29 06:45:35'),(125,8,'27.125.207.252',50000,'default',NULL,'2025-05-29 06:45:35'),(126,8,'27.125.207.253',50000,'default',NULL,'2025-05-29 06:45:35'),(127,8,'27.125.207.254',50000,'default',NULL,'2025-05-29 06:45:35'),(128,8,'27.125.207.255',50000,'default',NULL,'2025-05-29 06:45:35'); -/*!40000 ALTER TABLE `ipinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `lineinfo` --- - -LOCK TABLES `lineinfo` WRITE; -/*!40000 ALTER TABLE `lineinfo` DISABLE KEYS */; -INSERT INTO `lineinfo` VALUES (8,NULL,'default','Softbank회선','27.125.207.128/25',1000000,'default','2025-05-01',NULL,'2025-05-29 06:45:34'); -/*!40000 ALTER TABLE `lineinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `paymentinfo` --- - -LOCK TABLES `paymentinfo` WRITE; -/*!40000 ALTER TABLE `paymentinfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `paymentinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `pointinfo` --- - -LOCK TABLES `pointinfo` WRITE; -/*!40000 ALTER TABLE `pointinfo` DISABLE KEYS */; -INSERT INTO `pointinfo` VALUES (1,3,'5월포인트입금',100000,'default','2025-05-29 06:10:41'),(2,3,'5월포인트출금',50000,'out','2025-05-29 06:10:55'); -/*!40000 ALTER TABLE `pointinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `raminfo` --- - -LOCK TABLES `raminfo` WRITE; -/*!40000 ALTER TABLE `raminfo` DISABLE KEYS */; -INSERT INTO `raminfo` VALUES (1,'Samsung SSD 860 256G',50000,'default',NULL,'2025-05-29 07:27:54'),(2,'Samsung SSD 870 EVO 500G',70000,'default',NULL,'2025-05-29 07:28:09'),(3,'Samsung SSD 870 Pro 500G',80000,'default',NULL,'2025-05-29 07:28:18'); -/*!40000 ALTER TABLE `raminfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `serverinfo` --- - -LOCK TABLES `serverinfo` WRITE; -/*!40000 ALTER TABLE `serverinfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `serverinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `serviceinfo` --- - -LOCK TABLES `serviceinfo` WRITE; -/*!40000 ALTER TABLE `serviceinfo` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `serviceinfo_items` --- - -LOCK TABLES `serviceinfo_items` WRITE; -/*!40000 ALTER TABLE `serviceinfo_items` DISABLE KEYS */; -/*!40000 ALTER TABLE `serviceinfo_items` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `softwareinfo` --- - -LOCK TABLES `softwareinfo` WRITE; -/*!40000 ALTER TABLE `softwareinfo` DISABLE KEYS */; -INSERT INTO `softwareinfo` VALUES (1,'Windows','Windows 2008R2 Ent',10000,NULL,'default',NULL,'2025-05-29 07:23:17'),(2,'Windows','Windows 10',5000,NULL,'default',NULL,'2025-05-29 07:23:36'),(3,'Linux','CentOS 7.9',5000,NULL,'default',NULL,'2025-05-29 07:23:53'),(4,'Security','닷디펜더',10000,NULL,'default',NULL,'2025-05-29 07:24:14'),(5,'Virus','비트디펜더',5000,NULL,'default',NULL,'2025-05-29 07:24:36'); -/*!40000 ALTER TABLE `softwareinfo` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Dumping data for table `user` --- - -LOCK TABLES `user` WRITE; -/*!40000 ALTER TABLE `user` DISABLE KEYS */; -INSERT INTO `user` VALUES (1,'choi.jh','$2y$10$9kUte0xrvEkxtI9CzVaeKeCAxzOR4pKPpsCaQHR1YW7dXsCrTLWeC','최준흠','choi.jh@prime-idc.jp','','manager,cloudflare,firewall,director,master','default','2023-05-31 14:55:51','2023-03-23 06:50:04'),(2,'cho.jh','$2y$10$ot/aUXR/W1n4Q3dZA2dZCOxQrpVb2Bq31Y7xFQS3G6D1gtImmyBjm','조준희','cho.jh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-30 14:35:55','2023-03-24 02:20:48'),(4,'kimdy','$2y$10$18uyn94xdprzAnt.oYZ5weAvb8rRLhkz/SdQrjEK7yuGhCr9PlUCC','김동윤','kimdy@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:21:50','2023-03-24 02:21:50'),(5,'kimhy','$2y$10$.yEKVqY.F7HoSOZijl4uyeulUtfAQ4EDRiyR2JpgFYBuKw.mZoZvG','김효영','khy@prime-idc.jp',NULL,'manager,cloudflare,director','default','2023-03-24 02:23:18','2023-03-24 02:23:18'),(6,'kim.eh','$2y$10$YmwicI.Br4XNyGamfRADMOu.qlkwKd2fmnNkL7YIkNHGndvqYPnCq','김은혁','kim.eh@prime-idc.jp',NULL,'manager,cloudflare','default','2023-03-24 02:23:52','2023-03-24 02:23:52'),(7,'leeph','$2y$10$lR739WzJsW6rDLgchYs7buek4BYeTlKHTQY60RDqRms9Io7RSY3AC','이풍호','leeph@prime-idc.jp',NULL,'manager,cloudflare','default','2023-05-29 16:32:52','2023-03-24 02:24:21'),(8,'jinmingyu','$2y$10$PI8WA6d/z4hDE6hxJoUhbuMH3vTTWH0Ry2Z6fTLUUpwQGaE/9bEZa','김명옥','jinmingyu@idcjp.jp',NULL,'manager,cloudflare','default','2023-07-21 06:48:39','2023-03-24 02:25:00'),(9,'kangdh','$2y$10$gu9OS2DDQQ5H.Hh61t3BSOUp87l35q.xsduVSxvCcn8IgA4jrATgG','강동헌','kang.dh@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-22 23:59:07','2023-03-24 02:25:48'),(10,'yoohs','$2y$10$TGASk98FuZ6Ux6FDquu1aO3rztA01MCle/Vs1.3iaEMQzakAbCzJy','유혜성','yoo.hs@idcjp.jp',NULL,'manager,cloudflare','default','2023-06-02 02:07:19','2023-03-24 02:26:31'),(11,'kim.yh','$2y$10$8GciQXpKYiR3TDWQfh9JjOQAQ.YWGoOSCL0a0/w4XACO0mUgjjbWy','김영환','kim.yh@idcjp.jp',NULL,'manager,cloudflare,firewall','default','2023-10-16 23:08:51','2023-03-24 02:27:05'),(12,'yunmuj','$2y$10$zkgwGVj2JSOVIsxLe8fePe1gvWWaCemfZMktzBlrN8oLb3CKydkZC','윤무정','yunmuj@idcjp.jp',NULL,'manager,cloudflare','default','2024-06-12 00:21:07','2023-03-24 02:27:59'),(13,'kim.mt','$2y$10$3dfkA0oq4LqiJOmjbBGKe.p0Dhj/MDqjoTdw11BOPF/H2qJqnEuHO','김문태','kim.mt@idcjp.jp',NULL,'manager,cloudflare','default','2023-05-31 14:22:43','2023-03-24 02:28:31'),(14,'shin.ms','$2y$10$.jaDkGtm/gZK3ZDF.fJUGOwMI7Zif5588X5AxSMvvk238RDI7spQ6','신민수','shin.ms@idcjp.jp',NULL,'manager,cloudflare','default','2023-03-24 02:29:00','2023-03-24 02:29:00'),(15,'park.sm','$2y$10$BwMxw0uvw2tAdQ0EZQ2/hu.Q7zYu7mbuBPPRTaa14bwG3VLf0cXfu','박선미','park.sm@idcjp.jp',NULL,'manager,cloudflare','default','2024-03-12 02:14:09','2023-03-24 02:29:34'),(19,'park.hg','$2y$10$x7QQOkOEJHVKOnghbHBqYuI12Vsa9KLV8W4wgebCWy1pZiM93/W.e','박혁규','park.hg@prime-idc.jp',NULL,'manager','pause','2023-09-04 10:27:32','2023-09-04 09:48:02'),(21,'masakuni','$2y$10$di6Y7CqJGbbf72kDyCrOCOafJgk3vqJCYg6N3EtBUc3J6r24/7SFe','김창국','masakuni@prime-idc.jp',NULL,'cloudflare','pause','2023-12-18 08:56:29','2023-12-18 08:56:29'),(22,'bjh','$2y$10$LnEQ6kz4igRPZeDYwe7UluRiSaMVGN9Jj1fW3QqUUp6zPeLJW9goS','배장훈','bjh@prime-idc.jp',NULL,'cloudflare','pause','2024-06-06 23:51:19','2024-02-26 01:26:20'),(23,'cho.sh','$2y$10$jmmNrEsFmb2.Zj3OkBXDHuktrIj.NCP/tO2k9kquFBTBssa/lNG6y','조성호','cho.sh@prime-idc.jp','','manager','pause','2024-10-02 00:45:19','2024-10-02 00:32:30'),(24,'kobn','$2y$10$pWM/XFfSNeSng32sypbDX.WaR4UlM4EDkYKCQfFkYIOC7Ppg0nc5G','고병남','ko@prime-idc.jp',NULL,'manager,cloudflare','default',NULL,'2024-10-29 06:30:19'),(25,'jeong.sg','$2y$10$OzH6140JztiUEs4s/VHbPOxfxubFooqwqVhGpdFG8OJCGAFXNu546','정상구','jeong.sg@prime-idc.jp',NULL,'manager,cloudflare','default','2025-01-23 00:30:13','2025-01-23 00:29:46'),(38,'choi.jh234222222','$2y$10$zCgVXnCClLbftgeGxH0rk.v3o1zHkoO8Ywq2UDmGkdjIhK5mLJhvu','adfasdfas2222','postfixadmin@idcjp.jp2222222','043443432722222','cloudflare','pause',NULL,'2025-05-02 04:49:19'),(40,'choi.jh2342222224','$2y$10$hP/z5Nojh4eNKnTxZe3Cm.0NtvqHW2U2U0vvVDSzelKRaXSxlVj2y','adfasdfas22222221234','postfixadmin@idcjp.jp3234343','04344343271234','manager,cloudflare','pause',NULL,'2025-05-02 06:34:43'); -/*!40000 ALTER TABLE `user` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2025-06-02 11:29:42 diff --git a/app/Database/erp2_2.vuerd.json b/app/Database/erp2_2.vuerd.json index 8ffb66d..e4b6f3a 100644 --- a/app/Database/erp2_2.vuerd.json +++ b/app/Database/erp2_2.vuerd.json @@ -4,13 +4,13 @@ "settings": { "width": 3000, "height": 3000, - "scrollTop": -1136.3228, - "scrollLeft": -1254, - "zoomLevel": 0.91, + "scrollTop": -973.0987, + "scrollLeft": -848, + "zoomLevel": 0.79, "show": 511, "database": 4, "databaseName": "", - "canvasType": "ERD", + "canvasType": "@dineug/erd-editor/builtin-schema-sql", "language": 1, "tableNameCase": 4, "columnNameCase": 2, @@ -208,7 +208,6 @@ "columnIds": [ "F9EPb6nsDx6Tf3GG8rvP1", "TA8YG5vV7QmJxAXVpP8Tc", - "GUAjQ-qFNvMHOaqY-rBXq", "9F6QpQqxeEggZ0FHM81O1", "C_yfBNgyfir7swSSCwZIF", "54iuIW4knok06vP4JH-oN", @@ -256,7 +255,7 @@ "color": "" }, "meta": { - "updateAt": 1748828331792, + "updateAt": 1748855802973, "createAt": 1745819764137 } }, @@ -646,7 +645,7 @@ }, "dnFyz1CSdGeS6mCbfCMO0": { "id": "dnFyz1CSdGeS6mCbfCMO0", - "name": "diskinfo", + "name": "storeinfo", "comment": "DISK 정보", "columnIds": [ "WaCB3uNZYFReAPiBqQ97v", @@ -674,7 +673,7 @@ "color": "" }, "meta": { - "updateAt": 1748510651247, + "updateAt": 1748847303457, "createAt": 1747808548333 } }, @@ -722,413 +721,6 @@ "createAt": 1748218895681 } }, - "ne09vvne6LjZp75VVGiWV": { - "id": "ne09vvne6LjZp75VVGiWV", - "name": "orderinfo", - "comment": "주문정보", - "columnIds": [ - "DX0y0VIZ430hVZbT_pmKl", - "4ZPfgU2ooMQksUvTVE3DH", - "rgmXZMa0DdI-L8pC-RiJt", - "UVlz7EjXt8gYUYQhV96kM", - "L3Hv2zU68j89zfA6wxlrV", - "qQNX4BucxlsaO8sTVFHFB" - ], - "seqColumnIds": [ - "DX0y0VIZ430hVZbT_pmKl", - "4ZPfgU2ooMQksUvTVE3DH", - "rgmXZMa0DdI-L8pC-RiJt", - "wzFAJ75F6Ov68WDd8Mbkv", - "xrgRRbiWznf6wfOZvPbzl", - "UVlz7EjXt8gYUYQhV96kM", - "L3Hv2zU68j89zfA6wxlrV", - "qQNX4BucxlsaO8sTVFHFB", - "W3wh0h5zKLtV6LmBly1fv" - ], - "ui": { - "x": 1039.0371, - "y": 473.9167, - "zIndex": 1306, - "widthName": 60, - "widthComment": 60, - "color": "" - }, - "meta": { - "updateAt": 1748486083907, - "createAt": 1748223128194 - } - }, - "UuZoDcFNrKD0iTjVkA2Ew": { - "id": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "orderiinfo_items", - "comment": "주문Item정보", - "columnIds": [ - "T4cTcTKn8tiZ4cXkI1yKe", - "GInoklis2NulHalQTqnGQ", - "s4Hjjd9NLPLbGSYf6R4Eq", - "n9OtuKOQ5kpDFg38i89EP", - "mItqR-yNDeKnaPfHyd5Ds", - "bnIGEl3uSTni7_L6hpLcl", - "6_YG06qtnwrFkx-MI5VrS", - "0NhzxE0qF3EhLwFXCJokc", - "JHWWGSU7g_qkXfv2iazQh", - "gWMUdAw0INZvmuuwLbkwH" - ], - "seqColumnIds": [ - "T4cTcTKn8tiZ4cXkI1yKe", - "GInoklis2NulHalQTqnGQ", - "s4Hjjd9NLPLbGSYf6R4Eq", - "n9OtuKOQ5kpDFg38i89EP", - "RNtqq-QEUZiTGYJCYB7is", - "mItqR-yNDeKnaPfHyd5Ds", - "bnIGEl3uSTni7_L6hpLcl", - "6_YG06qtnwrFkx-MI5VrS", - "0NhzxE0qF3EhLwFXCJokc", - "JHWWGSU7g_qkXfv2iazQh", - "gWMUdAw0INZvmuuwLbkwH" - ], - "ui": { - "x": 242.4664, - "y": 480.7551, - "zIndex": 1348, - "widthName": 88, - "widthComment": 74, - "color": "" - }, - "meta": { - "updateAt": 1748485656350, - "createAt": 1748223498531 - } - }, - "TZkszBNw47IF3fHl8bt74": { - "id": "TZkszBNw47IF3fHl8bt74", - "name": "orderinfo_payment", - "comment": "주문결제정보", - "columnIds": [ - "FtMFDsdDMDrwscoxUMnJ5", - "eCpp9N4KVZH6f5eRxZxvU", - "tHpQul6q-svWnjL_59s03", - "5E7rjgiVESzW4OSHB7yc1", - "ItpzPPEIIr1wko5oKg07v", - "PBLFWkHd0MV69qOa06y-V", - "27-3VzVLvJ8pr9kF1tk2u", - "HYNanPfS08M6xRE32jR_Q" - ], - "seqColumnIds": [ - "FtMFDsdDMDrwscoxUMnJ5", - "eCpp9N4KVZH6f5eRxZxvU", - "tHpQul6q-svWnjL_59s03", - "5E7rjgiVESzW4OSHB7yc1", - "ItpzPPEIIr1wko5oKg07v", - "PBLFWkHd0MV69qOa06y-V", - "27-3VzVLvJ8pr9kF1tk2u", - "HYNanPfS08M6xRE32jR_Q" - ], - "ui": { - "x": 1187.3065, - "y": 1541.4818, - "zIndex": 1406, - "widthName": 103, - "widthComment": 74, - "color": "" - }, - "meta": { - "updateAt": 1748479432183, - "createAt": 1748224021135 - } - }, - "4Phnxm-pTS6CW9EX4iqu1": { - "id": "4Phnxm-pTS6CW9EX4iqu1", - "name": "serviceinfo", - "comment": "서비스정보", - "columnIds": [ - "W0i3aiC-uKIsGR49noc-s", - "8TLeYhxU1ZWII8eSABTTP", - "xxsfOYxYDFIkTNOPsOwH2", - "_e6HzrKj6WVo4ODljeK2W", - "OPFV4WV4a1K4l-jsKZOlH", - "3e79SDuH1dBSkrCYrdPqT", - "71ymy3xKN9WlySAw8EBoO", - "0b3XIZcKMDp_3uSOXHEH4" - ], - "seqColumnIds": [ - "W0i3aiC-uKIsGR49noc-s", - "8TLeYhxU1ZWII8eSABTTP", - "3JGYnarc_4JvXzPKnqvEO", - "_yI7nTfn7jLJGqyzmreZf", - "-TJtNZUaKJlCZWTuslTas", - "wOftNsYTGSpNK1dUnrX25", - "9bxqG90EvnSGBkyWVty3j", - "5C4SowOYpyFYotYSFi45M", - "xxsfOYxYDFIkTNOPsOwH2", - "_e6HzrKj6WVo4ODljeK2W", - "OPFV4WV4a1K4l-jsKZOlH", - "3e79SDuH1dBSkrCYrdPqT", - "71ymy3xKN9WlySAw8EBoO", - "0b3XIZcKMDp_3uSOXHEH4" - ], - "ui": { - "x": 1030.811, - "y": 526.4238, - "zIndex": 1593, - "widthName": 60, - "widthComment": 62, - "color": "" - }, - "meta": { - "updateAt": 1748489782692, - "createAt": 1748226446838 - } - }, - "PxyXFfFpwwkq_8XYE9MRu": { - "id": "PxyXFfFpwwkq_8XYE9MRu", - "name": "serverinfos_ipinfos", - "comment": "서버_IP연결", - "columnIds": [ - "tJG_hLLa6l_kwuf92KzRg", - "067vdUFESzj48PGB_QLjg", - "woS0kjRSXcXN1L79VN2ix", - "8qAFg1S4o6WBlSMD-ehm1" - ], - "seqColumnIds": [ - "tJG_hLLa6l_kwuf92KzRg", - "067vdUFESzj48PGB_QLjg", - "woS0kjRSXcXN1L79VN2ix", - "8qAFg1S4o6WBlSMD-ehm1" - ], - "ui": { - "x": 2084.6299, - "y": 1793.669, - "zIndex": 1650, - "widthName": 100, - "widthComment": 65, - "color": "" - }, - "meta": { - "updateAt": 1748485148273, - "createAt": 1748227846189 - } - }, - "fY4sPzjnlPRGToBG-WZeH": { - "id": "fY4sPzjnlPRGToBG-WZeH", - "name": "serverinfos_cpuinfos", - "comment": "서버_CPU연결", - "columnIds": [ - "-S18drCAD--FIyZMR21wd", - "B6XMwBsjXzUg7Glny_NkC", - "CBCTA2-9kJYGl-jsoO1w6", - "HVV8J5AkMnozP0S65BeS2" - ], - "seqColumnIds": [ - "-S18drCAD--FIyZMR21wd", - "B6XMwBsjXzUg7Glny_NkC", - "CBCTA2-9kJYGl-jsoO1w6", - "HVV8J5AkMnozP0S65BeS2" - ], - "ui": { - "x": 2075.2523, - "y": 2018.642, - "zIndex": 1683, - "widthName": 109, - "widthComment": 77, - "color": "" - }, - "meta": { - "updateAt": 1748485144132, - "createAt": 1748228149005 - } - }, - "F_0cYo78BnayQhVv3ArRp": { - "id": "F_0cYo78BnayQhVv3ArRp", - "name": "serverinfos_raminfos", - "comment": "서버_RAM연결", - "columnIds": [ - "Wq3PNPt2_iqWXokhnVx_u", - "0UhqQkNDg3DHug5zXFJEY", - "Bg-Tx0N2d0uSzyhPkhyck", - "kP95mIVWhIRaVVvCLTXSH" - ], - "seqColumnIds": [ - "Wq3PNPt2_iqWXokhnVx_u", - "0UhqQkNDg3DHug5zXFJEY", - "Bg-Tx0N2d0uSzyhPkhyck", - "kP95mIVWhIRaVVvCLTXSH" - ], - "ui": { - "x": 2069.8291, - "y": 2245.5072, - "zIndex": 1720, - "widthName": 110, - "widthComment": 81, - "color": "" - }, - "meta": { - "updateAt": 1748485139743, - "createAt": 1748228343657 - } - }, - "XywAFAP3s5Xl6G-3txHTH": { - "id": "XywAFAP3s5Xl6G-3txHTH", - "name": "serverinfos_diskinfos", - "comment": "서버_DISK연결", - "columnIds": [ - "n614CP2FyjGjPH-OD5wPM", - "STLYnqCG56zLLyNnfgnqR", - "thCqAUxooyOoqA0o8Cr1S", - "5hericEusqGgI1pg0jFc1" - ], - "seqColumnIds": [ - "n614CP2FyjGjPH-OD5wPM", - "STLYnqCG56zLLyNnfgnqR", - "thCqAUxooyOoqA0o8Cr1S", - "5hericEusqGgI1pg0jFc1" - ], - "ui": { - "x": 2079.0896, - "y": 2492.7664, - "zIndex": 1741, - "widthName": 111, - "widthComment": 80, - "color": "" - }, - "meta": { - "updateAt": 1748485137039, - "createAt": 1748228440581 - } - }, - "kHLWAzQmZ3CCs0KpilqZ7": { - "id": "kHLWAzQmZ3CCs0KpilqZ7", - "name": "serverinfos_defenceinfos", - "comment": "서버_방어연결", - "columnIds": [ - "t1UNhIBRL91lX0O9a0xMj", - "PhV2kPOROFN2Paxn0Q3KK", - "JVNCmWuI_UAnZEGZUbBQv", - "4yuH6ZQUnURnk_U6roXVl" - ], - "seqColumnIds": [ - "t1UNhIBRL91lX0O9a0xMj", - "PhV2kPOROFN2Paxn0Q3KK", - "JVNCmWuI_UAnZEGZUbBQv", - "4yuH6ZQUnURnk_U6roXVl" - ], - "ui": { - "x": 2094.1696, - "y": 3073.4786, - "zIndex": 1763, - "widthName": 132, - "widthComment": 79, - "color": "" - }, - "meta": { - "updateAt": 1748489612100, - "createAt": 1748228523646 - } - }, - "x7rn2-q2i7C6Lin0XwIR_": { - "id": "x7rn2-q2i7C6Lin0XwIR_", - "name": "serverinfos_softwareinfos", - "comment": "서버_Software연결", - "columnIds": [ - "7b5Ac7AAJFfTOiS3HEMhg", - "OqPMHX5b1-Qct8xqaypd1", - "Wjix1VNvwEfcogjAdEgc2", - "bLPLRDM9p3TWgZqOehkRR" - ], - "seqColumnIds": [ - "7b5Ac7AAJFfTOiS3HEMhg", - "OqPMHX5b1-Qct8xqaypd1", - "Wjix1VNvwEfcogjAdEgc2", - "bLPLRDM9p3TWgZqOehkRR" - ], - "ui": { - "x": 2095.6549, - "y": 2768.4283, - "zIndex": 1797, - "widthName": 135, - "widthComment": 101, - "color": "" - }, - "meta": { - "updateAt": 1748485132133, - "createAt": 1748228685683 - } - }, - "QmgAf0ZVXXxPIZ-HUgQlY": { - "id": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "serverinfos_lineinfos", - "comment": "서버_회선정보", - "columnIds": [ - "kvxrJ63HuwXmC2zmgeXcY", - "uBMa2GHVEzoB58E-Rcl48", - "wXfA2J6YcI6ySX_4McNS2", - "aWrqV1qsSd5-Kp5nVsyhL" - ], - "seqColumnIds": [ - "kvxrJ63HuwXmC2zmgeXcY", - "uBMa2GHVEzoB58E-Rcl48", - "wXfA2J6YcI6ySX_4McNS2", - "QEGZd3nUz4vcfEKE1xenI", - "aWrqV1qsSd5-Kp5nVsyhL" - ], - "ui": { - "x": 2083.0323, - "y": 1541.0621, - "zIndex": 1861, - "widthName": 109, - "widthComment": 79, - "color": "" - }, - "meta": { - "updateAt": 1748485150107, - "createAt": 1748244397324 - } - }, - "wk_DcgA2-_K87rZ1gvwZ5": { - "id": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "serviceinfo_items", - "comment": "서비스Item정보", - "columnIds": [ - "Wr8Hw0ovWlAvsxbTgm1Bn", - "giQAJBhsp7AWkDH61dkCD", - "Y0G8AB6NN4m9Q20y-5rAi", - "Afd9Yjd7lzERjTgxBCeSP", - "cPiJTafR27aq5q5ttd0Su", - "mUIiZiG8FWtNO5OZAIWNx", - "DN0UXnl7DwqEwEHxCUtdA", - "j-gQwq05mEmsKuYmK82Jt", - "QmZuQIJqMzbIOh8_bNDlo" - ], - "seqColumnIds": [ - "Wr8Hw0ovWlAvsxbTgm1Bn", - "5bQOgj7ikuvCPjUg3lmYT", - "giQAJBhsp7AWkDH61dkCD", - "Y0G8AB6NN4m9Q20y-5rAi", - "Afd9Yjd7lzERjTgxBCeSP", - "KOdnkFuvjIwAHCKMoDNOn", - "0Ux9Uk8OnwzbS7kNJwod_", - "lv7YRa1rWkXLBdiwJ5f2k", - "saRsL4N05x00p8YZjoH8t", - "cPiJTafR27aq5q5ttd0Su", - "mUIiZiG8FWtNO5OZAIWNx", - "Ck84-ecOK8ug5IjHCEdhd", - "DN0UXnl7DwqEwEHxCUtdA", - "j-gQwq05mEmsKuYmK82Jt", - "QmZuQIJqMzbIOh8_bNDlo" - ], - "ui": { - "x": 1190.3764, - "y": 1844.3338, - "zIndex": 2101, - "widthName": 92, - "widthComment": 86, - "color": "" - }, - "meta": { - "updateAt": 1748479427140, - "createAt": 1748422726410 - } - }, "QCNA57Pi6A9dJDgybxS5v": { "id": "QCNA57Pi6A9dJDgybxS5v", "name": "invoiceinfo", @@ -1210,6 +802,7 @@ "columnIds": [ "N_yJVoCN4oUEDhYqdzApb", "NzxkmndrTbH7xb6fbnGV7", + "Fx2k158yi9P2l5An09ae1", "_UFwKNcesG423815BIYBi", "Gb6fmS40Q3wvnvD1HMTqR", "uuDbJDSDQLey7Km1W9hlJ", @@ -1232,6 +825,7 @@ "fAQMNE9LD0ZzUf0e51cGI", "VEOHJafcl0c6ihDwJXFEN", "GLfHynBuy8Bzby9_5oRkq", + "Fx2k158yi9P2l5An09ae1", "_UFwKNcesG423815BIYBi", "Gb6fmS40Q3wvnvD1HMTqR", "uuDbJDSDQLey7Km1W9hlJ", @@ -1253,51 +847,10 @@ "color": "" }, "meta": { - "updateAt": 1748829138216, + "updateAt": 1748856657666, "createAt": 1748485662214 } }, - "8_3Ctel9BeUuE_BymRTVY": { - "id": "8_3Ctel9BeUuE_BymRTVY", - "name": "orderinfo_items", - "comment": "주문Item정보", - "columnIds": [ - "glJfSpG5OUpWrowAWn3dk", - "7zq62xrOBri3x8UiUvoJb", - "sR9B1Kzj8kI1ixeqx8_j3", - "wzrDV-4aD-aESJaM2qlr6", - "7QyMsE-MeRynpjtUl7m9h", - "-H4yRgbYWtdMJDEu8AIBR", - "e89iA45GbFdntq95xmQy8", - "oxRancWPuL6mkoZ9i-v_o", - "PoWLtuW49HNsOGyjvVX1-", - "ItV5nmKo4nq9nOdAT6tpB" - ], - "seqColumnIds": [ - "glJfSpG5OUpWrowAWn3dk", - "7zq62xrOBri3x8UiUvoJb", - "sR9B1Kzj8kI1ixeqx8_j3", - "wzrDV-4aD-aESJaM2qlr6", - "7QyMsE-MeRynpjtUl7m9h", - "-H4yRgbYWtdMJDEu8AIBR", - "e89iA45GbFdntq95xmQy8", - "oxRancWPuL6mkoZ9i-v_o", - "PoWLtuW49HNsOGyjvVX1-", - "ItV5nmKo4nq9nOdAT6tpB" - ], - "ui": { - "x": 295.1297, - "y": 508.0357, - "zIndex": 2484, - "widthName": 85, - "widthComment": 74, - "color": "" - }, - "meta": { - "updateAt": 1748486862710, - "createAt": 1748486788767 - } - }, "isiA_oaJNIm3F4nYJuLJ1": { "id": "isiA_oaJNIm3F4nYJuLJ1", "name": "paymentinfo", @@ -1382,94 +935,6 @@ "createAt": 1748507247933 } }, - "YZ0etEyIrLELsAXTmHhQc": { - "id": "YZ0etEyIrLELsAXTmHhQc", - "name": "", - "comment": "", - "columnIds": [ - "3rGBK6UkdVBdPLTVC9OSj", - "K05Ppf0NdiNtCPk5efRYY", - "dDzcxdneGSSyI3tUYKwOF", - "J0sOIvhmSyvt2H4SksTpi" - ], - "seqColumnIds": [ - "TVgsKU3rtfdo1TsLl9Sn0", - "3rGBK6UkdVBdPLTVC9OSj", - "K05Ppf0NdiNtCPk5efRYY", - "dDzcxdneGSSyI3tUYKwOF", - "J0sOIvhmSyvt2H4SksTpi" - ], - "ui": { - "x": 2017.4631, - "y": 1703.1297, - "zIndex": 2560, - "widthName": 60, - "widthComment": 60, - "color": "" - }, - "meta": { - "updateAt": 1748508293668, - "createAt": 1748508144750 - } - }, - "o9AH4X1b0be0HcYSED4Ye": { - "id": "o9AH4X1b0be0HcYSED4Ye", - "name": "", - "comment": "", - "columnIds": [ - "sL4Dq80Rxhsv0mlTyl3cm", - "Evhb-oJUTT1EsCZSoxPDm", - "i-qeHv7fR8kNb0YU7CQr_", - "mC9y4CAz73gWwdjNpN4SW" - ], - "seqColumnIds": [ - "sL4Dq80Rxhsv0mlTyl3cm", - "Evhb-oJUTT1EsCZSoxPDm", - "i-qeHv7fR8kNb0YU7CQr_", - "mC9y4CAz73gWwdjNpN4SW" - ], - "ui": { - "x": 2019.9948, - "y": 1882.8766, - "zIndex": 2563, - "widthName": 60, - "widthComment": 60, - "color": "" - }, - "meta": { - "updateAt": 1748508328286, - "createAt": 1748508169119 - } - }, - "eedL-g0lWBMK6URgqW-FZ": { - "id": "eedL-g0lWBMK6URgqW-FZ", - "name": "", - "comment": "", - "columnIds": [ - "E19TwaNtPLrc-bst9pIUY", - "kUk6Jr9rPFWLXpa2e4zTj", - "HNHJWyynJOcgeyRwfn-Dl", - "jPQpw3yPH67_H5chmExsA" - ], - "seqColumnIds": [ - "E19TwaNtPLrc-bst9pIUY", - "kUk6Jr9rPFWLXpa2e4zTj", - "HNHJWyynJOcgeyRwfn-Dl", - "jPQpw3yPH67_H5chmExsA" - ], - "ui": { - "x": 2023.7923, - "y": 2055.0285, - "zIndex": 2566, - "widthName": 60, - "widthComment": 60, - "color": "" - }, - "meta": { - "updateAt": 1748508338801, - "createAt": 1748508178894 - } - }, "AGzDxujSx1KebEyWD3U-K": { "id": "AGzDxujSx1KebEyWD3U-K", "name": "serverinfo_items", @@ -5611,1306 +5076,6 @@ "createAt": 1748223080861 } }, - "4ZPfgU2ooMQksUvTVE3DH": { - "id": "4ZPfgU2ooMQksUvTVE3DH", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "clientinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223216844, - "createAt": 1748223209235 - } - }, - "rgmXZMa0DdI-L8pC-RiJt": { - "id": "rgmXZMa0DdI-L8pC-RiJt", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "order_at", - "comment": "청구일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748479635849, - "createAt": 1748223248421 - } - }, - "wzFAJ75F6Ov68WDd8Mbkv": { - "id": "wzFAJ75F6Ov68WDd8Mbkv", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "due_at", - "comment": "납부기한일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 62, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225271468, - "createAt": 1748223338350 - } - }, - "xrgRRbiWznf6wfOZvPbzl": { - "id": "xrgRRbiWznf6wfOZvPbzl", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "total_amount", - "comment": "총금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 72, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748484320650, - "createAt": 1748223398948 - } - }, - "UVlz7EjXt8gYUYQhV96kM": { - "id": "UVlz7EjXt8gYUYQhV96kM", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "status", - "comment": "주문상태", - "dataType": "VARCHAR(20)", - "default": "'default'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748484345854, - "createAt": 1748223423906 - } - }, - "L3Hv2zU68j89zfA6wxlrV": { - "id": "L3Hv2zU68j89zfA6wxlrV", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223453446, - "createAt": 1748223453446 - } - }, - "W3wh0h5zKLtV6LmBly1fv": { - "id": "W3wh0h5zKLtV6LmBly1fv", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748223453446, - "createAt": 1748223453446 - } - }, - "DX0y0VIZ430hVZbT_pmKl": { - "id": "DX0y0VIZ430hVZbT_pmKl", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223542387, - "createAt": 1748223536458 - } - }, - "T4cTcTKn8tiZ4cXkI1yKe": { - "id": "T4cTcTKn8tiZ4cXkI1yKe", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223567531, - "createAt": 1748223564893 - } - }, - "GInoklis2NulHalQTqnGQ": { - "id": "GInoklis2NulHalQTqnGQ", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "orderinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223582233, - "createAt": 1748223574921 - } - }, - "s4Hjjd9NLPLbGSYf6R4Eq": { - "id": "s4Hjjd9NLPLbGSYf6R4Eq", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "item_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'server'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226757326, - "createAt": 1748223601646 - } - }, - "n9OtuKOQ5kpDFg38i89EP": { - "id": "n9OtuKOQ5kpDFg38i89EP", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "item_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748223688677, - "createAt": 1748223664990 - } - }, - "0NhzxE0qF3EhLwFXCJokc": { - "id": "0NhzxE0qF3EhLwFXCJokc", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "amount", - "comment": "주문금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225475332, - "createAt": 1748223803075 - } - }, - "bnIGEl3uSTni7_L6hpLcl": { - "id": "bnIGEl3uSTni7_L6hpLcl", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "price", - "comment": "기본금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225480073, - "createAt": 1748223810604 - } - }, - "mItqR-yNDeKnaPfHyd5Ds": { - "id": "mItqR-yNDeKnaPfHyd5Ds", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "billing_cyle", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'month'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748484413163, - "createAt": 1748223850661 - } - }, - "FtMFDsdDMDrwscoxUMnJ5": { - "id": "FtMFDsdDMDrwscoxUMnJ5", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748224197412, - "createAt": 1748224060778 - } - }, - "eCpp9N4KVZH6f5eRxZxvU": { - "id": "eCpp9N4KVZH6f5eRxZxvU", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "orderinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748224103537, - "createAt": 1748224092362 - } - }, - "ItpzPPEIIr1wko5oKg07v": { - "id": "ItpzPPEIIr1wko5oKg07v", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "amount", - "comment": "납부액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225519477, - "createAt": 1748224115866 - } - }, - "PBLFWkHd0MV69qOa06y-V": { - "id": "PBLFWkHd0MV69qOa06y-V", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "paid_at", - "comment": "납부일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748479728604, - "createAt": 1748224128955 - } - }, - "RNtqq-QEUZiTGYJCYB7is": { - "id": "RNtqq-QEUZiTGYJCYB7is", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748224176845, - "createAt": 1748224176845 - } - }, - "qQNX4BucxlsaO8sTVFHFB": { - "id": "qQNX4BucxlsaO8sTVFHFB", - "tableId": "ne09vvne6LjZp75VVGiWV", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748224184828, - "createAt": 1748224184828 - } - }, - "JHWWGSU7g_qkXfv2iazQh": { - "id": "JHWWGSU7g_qkXfv2iazQh", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748224188825, - "createAt": 1748224188825 - } - }, - "gWMUdAw0INZvmuuwLbkwH": { - "id": "gWMUdAw0INZvmuuwLbkwH", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748224188825, - "createAt": 1748224188825 - } - }, - "27-3VzVLvJ8pr9kF1tk2u": { - "id": "27-3VzVLvJ8pr9kF1tk2u", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748224190231, - "createAt": 1748224190231 - } - }, - "HYNanPfS08M6xRE32jR_Q": { - "id": "HYNanPfS08M6xRE32jR_Q", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748224190231, - "createAt": 1748224190231 - } - }, - "6_YG06qtnwrFkx-MI5VrS": { - "id": "6_YG06qtnwrFkx-MI5VrS", - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "name": "reason", - "comment": "할인이유", - "dataType": "VARCHAR(255)", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 81, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225443451, - "createAt": 1748224941328 - } - }, - "tHpQul6q-svWnjL_59s03": { - "id": "tHpQul6q-svWnjL_59s03", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "type", - "comment": "지급방식", - "dataType": "VARCHAR(20)", - "default": "'default'", - "options": 5, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225607708, - "createAt": 1748225355446 - } - }, - "5E7rjgiVESzW4OSHB7yc1": { - "id": "5E7rjgiVESzW4OSHB7yc1", - "tableId": "TZkszBNw47IF3fHl8bt74", - "name": "alias", - "comment": "납부자명", - "dataType": "VARCHAR(50)", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748225622683, - "createAt": 1748225610075 - } - }, - "W0i3aiC-uKIsGR49noc-s": { - "id": "W0i3aiC-uKIsGR49noc-s", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226700974, - "createAt": 1748226698030 - } - }, - "3JGYnarc_4JvXzPKnqvEO": { - "id": "3JGYnarc_4JvXzPKnqvEO", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "item_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'server'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226747942, - "createAt": 1748226698030 - } - }, - "_yI7nTfn7jLJGqyzmreZf": { - "id": "_yI7nTfn7jLJGqyzmreZf", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "item_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226698030, - "createAt": 1748226698030 - } - }, - "3e79SDuH1dBSkrCYrdPqT": { - "id": "3e79SDuH1dBSkrCYrdPqT", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "status", - "comment": "상태", - "dataType": "VARCHAR(20)", - "default": "'default'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226846782, - "createAt": 1748226698030 - } - }, - "71ymy3xKN9WlySAw8EBoO": { - "id": "71ymy3xKN9WlySAw8EBoO", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226698030, - "createAt": 1748226698030 - } - }, - "0b3XIZcKMDp_3uSOXHEH4": { - "id": "0b3XIZcKMDp_3uSOXHEH4", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748226698030, - "createAt": 1748226698030 - } - }, - "8TLeYhxU1ZWII8eSABTTP": { - "id": "8TLeYhxU1ZWII8eSABTTP", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "clientinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748226721451, - "createAt": 1748226710780 - } - }, - "9bxqG90EvnSGBkyWVty3j": { - "id": "9bxqG90EvnSGBkyWVty3j", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "title", - "comment": "", - "dataType": "VARCHAR(255)", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 81, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422670953, - "createAt": 1748226822189 - } - }, - "woS0kjRSXcXN1L79VN2ix": { - "id": "woS0kjRSXcXN1L79VN2ix", - "tableId": "PxyXFfFpwwkq_8XYE9MRu", - "name": "ipinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748227988332, - "createAt": 1748227976481 - } - }, - "067vdUFESzj48PGB_QLjg": { - "id": "067vdUFESzj48PGB_QLjg", - "tableId": "PxyXFfFpwwkq_8XYE9MRu", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228002860, - "createAt": 1748227997397 - } - }, - "8qAFg1S4o6WBlSMD-ehm1": { - "id": "8qAFg1S4o6WBlSMD-ehm1", - "tableId": "PxyXFfFpwwkq_8XYE9MRu", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228008465, - "createAt": 1748228008464 - } - }, - "tJG_hLLa6l_kwuf92KzRg": { - "id": "tJG_hLLa6l_kwuf92KzRg", - "tableId": "PxyXFfFpwwkq_8XYE9MRu", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228141180, - "createAt": 1748228136886 - } - }, - "-S18drCAD--FIyZMR21wd": { - "id": "-S18drCAD--FIyZMR21wd", - "tableId": "fY4sPzjnlPRGToBG-WZeH", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228352113, - "createAt": 1748228165191 - } - }, - "HVV8J5AkMnozP0S65BeS2": { - "id": "HVV8J5AkMnozP0S65BeS2", - "tableId": "fY4sPzjnlPRGToBG-WZeH", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228165191, - "createAt": 1748228165191 - } - }, - "B6XMwBsjXzUg7Glny_NkC": { - "id": "B6XMwBsjXzUg7Glny_NkC", - "tableId": "fY4sPzjnlPRGToBG-WZeH", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228195550, - "createAt": 1748228188827 - } - }, - "CBCTA2-9kJYGl-jsoO1w6": { - "id": "CBCTA2-9kJYGl-jsoO1w6", - "tableId": "fY4sPzjnlPRGToBG-WZeH", - "name": "cpuinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 64, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228216498, - "createAt": 1748228206866 - } - }, - "Wq3PNPt2_iqWXokhnVx_u": { - "id": "Wq3PNPt2_iqWXokhnVx_u", - "tableId": "F_0cYo78BnayQhVv3ArRp", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228397995, - "createAt": 1748228356107 - } - }, - "kP95mIVWhIRaVVvCLTXSH": { - "id": "kP95mIVWhIRaVVvCLTXSH", - "tableId": "F_0cYo78BnayQhVv3ArRp", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228356107, - "createAt": 1748228356107 - } - }, - "0UhqQkNDg3DHug5zXFJEY": { - "id": "0UhqQkNDg3DHug5zXFJEY", - "tableId": "F_0cYo78BnayQhVv3ArRp", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228402887, - "createAt": 1748228388839 - } - }, - "Bg-Tx0N2d0uSzyhPkhyck": { - "id": "Bg-Tx0N2d0uSzyhPkhyck", - "tableId": "F_0cYo78BnayQhVv3ArRp", - "name": "raminfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 65, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228425317, - "createAt": 1748228413078 - } - }, - "n614CP2FyjGjPH-OD5wPM": { - "id": "n614CP2FyjGjPH-OD5wPM", - "tableId": "XywAFAP3s5Xl6G-3txHTH", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228463932, - "createAt": 1748228461790 - } - }, - "5hericEusqGgI1pg0jFc1": { - "id": "5hericEusqGgI1pg0jFc1", - "tableId": "XywAFAP3s5Xl6G-3txHTH", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228461790, - "createAt": 1748228461790 - } - }, - "STLYnqCG56zLLyNnfgnqR": { - "id": "STLYnqCG56zLLyNnfgnqR", - "tableId": "XywAFAP3s5Xl6G-3txHTH", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228487226, - "createAt": 1748228478337 - } - }, - "thCqAUxooyOoqA0o8Cr1S": { - "id": "thCqAUxooyOoqA0o8Cr1S", - "tableId": "XywAFAP3s5Xl6G-3txHTH", - "name": "diskinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 65, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228500378, - "createAt": 1748228494465 - } - }, - "PhV2kPOROFN2Paxn0Q3KK": { - "id": "PhV2kPOROFN2Paxn0Q3KK", - "tableId": "kHLWAzQmZ3CCs0KpilqZ7", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228634908, - "createAt": 1748228594885 - } - }, - "t1UNhIBRL91lX0O9a0xMj": { - "id": "t1UNhIBRL91lX0O9a0xMj", - "tableId": "kHLWAzQmZ3CCs0KpilqZ7", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228623057, - "createAt": 1748228619154 - } - }, - "4yuH6ZQUnURnk_U6roXVl": { - "id": "4yuH6ZQUnURnk_U6roXVl", - "tableId": "kHLWAzQmZ3CCs0KpilqZ7", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228619154, - "createAt": 1748228619154 - } - }, - "JVNCmWuI_UAnZEGZUbBQv": { - "id": "JVNCmWuI_UAnZEGZUbBQv", - "tableId": "kHLWAzQmZ3CCs0KpilqZ7", - "name": "defenceinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 86, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228655181, - "createAt": 1748228645385 - } - }, - "7b5Ac7AAJFfTOiS3HEMhg": { - "id": "7b5Ac7AAJFfTOiS3HEMhg", - "tableId": "x7rn2-q2i7C6Lin0XwIR_", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228720410, - "createAt": 1748228718462 - } - }, - "bLPLRDM9p3TWgZqOehkRR": { - "id": "bLPLRDM9p3TWgZqOehkRR", - "tableId": "x7rn2-q2i7C6Lin0XwIR_", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748228718462, - "createAt": 1748228718462 - } - }, - "OqPMHX5b1-Qct8xqaypd1": { - "id": "OqPMHX5b1-Qct8xqaypd1", - "tableId": "x7rn2-q2i7C6Lin0XwIR_", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228748257, - "createAt": 1748228740886 - } - }, - "Wjix1VNvwEfcogjAdEgc2": { - "id": "Wjix1VNvwEfcogjAdEgc2", - "tableId": "x7rn2-q2i7C6Lin0XwIR_", - "name": "softwareinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 89, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748228771232, - "createAt": 1748228761127 - } - }, - "kvxrJ63HuwXmC2zmgeXcY": { - "id": "kvxrJ63HuwXmC2zmgeXcY", - "tableId": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748244444356, - "createAt": 1748244414364 - } - }, - "aWrqV1qsSd5-Kp5nVsyhL": { - "id": "aWrqV1qsSd5-Kp5nVsyhL", - "tableId": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748244414365, - "createAt": 1748244414365 - } - }, - "uBMa2GHVEzoB58E-Rcl48": { - "id": "uBMa2GHVEzoB58E-Rcl48", - "tableId": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748244510684, - "createAt": 1748244473142 - } - }, - "QEGZd3nUz4vcfEKE1xenI": { - "id": "QEGZd3nUz4vcfEKE1xenI", - "tableId": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "lineinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 63, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748244516870, - "createAt": 1748244494577 - } - }, - "wXfA2J6YcI6ySX_4McNS2": { - "id": "wXfA2J6YcI6ySX_4McNS2", - "tableId": "QmgAf0ZVXXxPIZ-HUgQlY", - "name": "lineinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 63, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748244634796, - "createAt": 1748244625113 - } - }, "skdAqnMsTEE6ZKbCD14VX": { "id": "skdAqnMsTEE6ZKbCD14VX", "tableId": "GRBrbb1hqwKSRMfod3I7U", @@ -6971,366 +5136,6 @@ "createAt": 1748326062212 } }, - "xxsfOYxYDFIkTNOPsOwH2": { - "id": "xxsfOYxYDFIkTNOPsOwH2", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "start_at", - "comment": "시작일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748421208608, - "createAt": 1748421155234 - } - }, - "_e6HzrKj6WVo4ODljeK2W": { - "id": "_e6HzrKj6WVo4ODljeK2W", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "end_at", - "comment": "종료일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748421201444, - "createAt": 1748421172742 - } - }, - "OPFV4WV4a1K4l-jsKZOlH": { - "id": "OPFV4WV4a1K4l-jsKZOlH", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "renewal_at", - "comment": "다음갱신일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 62, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422583916, - "createAt": 1748422583916 - } - }, - "Wr8Hw0ovWlAvsxbTgm1Bn": { - "id": "Wr8Hw0ovWlAvsxbTgm1Bn", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422885562, - "createAt": 1748422742742 - } - }, - "5bQOgj7ikuvCPjUg3lmYT": { - "id": "5bQOgj7ikuvCPjUg3lmYT", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "orderinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742742 - } - }, - "Y0G8AB6NN4m9Q20y-5rAi": { - "id": "Y0G8AB6NN4m9Q20y-5rAi", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "item_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'server'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "Afd9Yjd7lzERjTgxBCeSP": { - "id": "Afd9Yjd7lzERjTgxBCeSP", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "item_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "KOdnkFuvjIwAHCKMoDNOn": { - "id": "KOdnkFuvjIwAHCKMoDNOn", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "price_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'month'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "0Ux9Uk8OnwzbS7kNJwod_": { - "id": "0Ux9Uk8OnwzbS7kNJwod_", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "price", - "comment": "기본금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "lv7YRa1rWkXLBdiwJ5f2k": { - "id": "lv7YRa1rWkXLBdiwJ5f2k", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "reason", - "comment": "할인이유", - "dataType": "VARCHAR(255)", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 81, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "saRsL4N05x00p8YZjoH8t": { - "id": "saRsL4N05x00p8YZjoH8t", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "amount", - "comment": "주문금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "j-gQwq05mEmsKuYmK82Jt": { - "id": "j-gQwq05mEmsKuYmK82Jt", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "QmZuQIJqMzbIOh8_bNDlo": { - "id": "QmZuQIJqMzbIOh8_bNDlo", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748422742743, - "createAt": 1748422742743 - } - }, - "giQAJBhsp7AWkDH61dkCD": { - "id": "giQAJBhsp7AWkDH61dkCD", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "serviceinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 80, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748422894247, - "createAt": 1748422843537 - } - }, - "cPiJTafR27aq5q5ttd0Su": { - "id": "cPiJTafR27aq5q5ttd0Su", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "start_at", - "comment": "시작일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748423034525, - "createAt": 1748423034524 - } - }, - "mUIiZiG8FWtNO5OZAIWNx": { - "id": "mUIiZiG8FWtNO5OZAIWNx", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "end_at", - "comment": "종료일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748423034525, - "createAt": 1748423034525 - } - }, - "Ck84-ecOK8ug5IjHCEdhd": { - "id": "Ck84-ecOK8ug5IjHCEdhd", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "renewal_at", - "comment": "다음갱신일", - "dataType": "DATE", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 62, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748423034525, - "createAt": 1748423034525 - } - }, - "DN0UXnl7DwqEwEHxCUtdA": { - "id": "DN0UXnl7DwqEwEHxCUtdA", - "tableId": "wk_DcgA2-_K87rZ1gvwZ5", - "name": "status", - "comment": "상태", - "dataType": "VARCHAR(20)", - "default": "'default'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748423067976, - "createAt": 1748423067976 - } - }, "rK1V9ccYa0gxVE2W98dGH": { "id": "rK1V9ccYa0gxVE2W98dGH", "tableId": "GRBrbb1hqwKSRMfod3I7U", @@ -7371,66 +5176,6 @@ "createAt": 1748478977657 } }, - "wOftNsYTGSpNK1dUnrX25": { - "id": "wOftNsYTGSpNK1dUnrX25", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "item_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'server'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748483779726, - "createAt": 1748483779726 - } - }, - "5C4SowOYpyFYotYSFi45M": { - "id": "5C4SowOYpyFYotYSFi45M", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "item_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748483779726, - "createAt": 1748483779726 - } - }, - "-TJtNZUaKJlCZWTuslTas": { - "id": "-TJtNZUaKJlCZWTuslTas", - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "name": "orderinfo_items_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 107, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748484797077, - "createAt": 1748484752624 - } - }, "GMPyqxaroK2OjQZnoCRwn": { "id": "GMPyqxaroK2OjQZnoCRwn", "tableId": "QCNA57Pi6A9dJDgybxS5v", @@ -7991,206 +5736,6 @@ "createAt": 1748486421395 } }, - "glJfSpG5OUpWrowAWn3dk": { - "id": "glJfSpG5OUpWrowAWn3dk", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 11, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486838608, - "createAt": 1748486836121 - } - }, - "sR9B1Kzj8kI1ixeqx8_j3": { - "id": "sR9B1Kzj8kI1ixeqx8_j3", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "item_type", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'server'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "wzrDV-4aD-aESJaM2qlr6": { - "id": "wzrDV-4aD-aESJaM2qlr6", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "item_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "7QyMsE-MeRynpjtUl7m9h": { - "id": "7QyMsE-MeRynpjtUl7m9h", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "billing_cyle", - "comment": "", - "dataType": "VARCHAR(20)", - "default": "'month'", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 75, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "-H4yRgbYWtdMJDEu8AIBR": { - "id": "-H4yRgbYWtdMJDEu8AIBR", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "price", - "comment": "기본금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "e89iA45GbFdntq95xmQy8": { - "id": "e89iA45GbFdntq95xmQy8", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "reason", - "comment": "할인이유", - "dataType": "VARCHAR(255)", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 81, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "oxRancWPuL6mkoZ9i-v_o": { - "id": "oxRancWPuL6mkoZ9i-v_o", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "amount", - "comment": "주문금액", - "dataType": "INT", - "default": "0", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "PoWLtuW49HNsOGyjvVX1-": { - "id": "PoWLtuW49HNsOGyjvVX1-", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "updated_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "", - "options": 0, - "ui": { - "keys": 0, - "widthName": 62, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "ItV5nmKo4nq9nOdAT6tpB": { - "id": "ItV5nmKo4nq9nOdAT6tpB", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748486836121, - "createAt": 1748486836121 - } - }, - "7zq62xrOBri3x8UiUvoJb": { - "id": "7zq62xrOBri3x8UiUvoJb", - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "name": "orderinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 73, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748486858982, - "createAt": 1748486850030 - } - }, "ATQoMPYfRTAvln8s9PXCO": { "id": "ATQoMPYfRTAvln8s9PXCO", "tableId": "8GMPyGUFlx2Mw7BwzizfD", @@ -8554,20 +6099,20 @@ "5OcpSdnrgDxZ9eZ7_pQr9": { "id": "5OcpSdnrgDxZ9eZ7_pQr9", "tableId": "0WXrjcyXXGeoAVM2VB8s2", - "name": "billing_cyle", + "name": "billing_cycle", "comment": "", "dataType": "VARCHAR(20)", "default": "", "options": 8, "ui": { "keys": 0, - "widthName": 60, + "widthName": 66, "widthComment": 60, "widthDataType": 75, "widthDefault": 60 }, "meta": { - "updateAt": 1748831166013, + "updateAt": 1748846158655, "createAt": 1748507306328 } }, @@ -8751,266 +6296,6 @@ "createAt": 1748508062533 } }, - "TVgsKU3rtfdo1TsLl9Sn0": { - "id": "TVgsKU3rtfdo1TsLl9Sn0", - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 13, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508160504, - "createAt": 1748508160504 - } - }, - "J0sOIvhmSyvt2H4SksTpi": { - "id": "J0sOIvhmSyvt2H4SksTpi", - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748508160504, - "createAt": 1748508160504 - } - }, - "sL4Dq80Rxhsv0mlTyl3cm": { - "id": "sL4Dq80Rxhsv0mlTyl3cm", - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508246272, - "createAt": 1748508175745 - } - }, - "mC9y4CAz73gWwdjNpN4SW": { - "id": "mC9y4CAz73gWwdjNpN4SW", - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748508175745, - "createAt": 1748508175745 - } - }, - "E19TwaNtPLrc-bst9pIUY": { - "id": "E19TwaNtPLrc-bst9pIUY", - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508248680, - "createAt": 1748508185250 - } - }, - "jPQpw3yPH67_H5chmExsA": { - "id": "jPQpw3yPH67_H5chmExsA", - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "name": "created_at", - "comment": "", - "dataType": "TIMESTAMP", - "default": "CURRENT_TIMESTAMP", - "options": 8, - "ui": { - "keys": 0, - "widthName": 60, - "widthComment": 60, - "widthDataType": 65, - "widthDefault": 122 - }, - "meta": { - "updateAt": 1748508185250, - "createAt": 1748508185250 - } - }, - "K05Ppf0NdiNtCPk5efRYY": { - "id": "K05Ppf0NdiNtCPk5efRYY", - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508230357, - "createAt": 1748508195532 - } - }, - "Evhb-oJUTT1EsCZSoxPDm": { - "id": "Evhb-oJUTT1EsCZSoxPDm", - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508259253, - "createAt": 1748508202057 - } - }, - "kUk6Jr9rPFWLXpa2e4zTj": { - "id": "kUk6Jr9rPFWLXpa2e4zTj", - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "name": "serverinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 76, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508266342, - "createAt": 1748508210916 - } - }, - "3rGBK6UkdVBdPLTVC9OSj": { - "id": "3rGBK6UkdVBdPLTVC9OSj", - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "name": "uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 15, - "ui": { - "keys": 1, - "widthName": 60, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508243711, - "createAt": 1748508240009 - } - }, - "dDzcxdneGSSyI3tUYKwOF": { - "id": "dDzcxdneGSSyI3tUYKwOF", - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "name": "cpuinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 64, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508301410, - "createAt": 1748508290582 - } - }, - "i-qeHv7fR8kNb0YU7CQr_": { - "id": "i-qeHv7fR8kNb0YU7CQr_", - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "name": "raminfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 65, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508324948, - "createAt": 1748508313611 - } - }, - "HNHJWyynJOcgeyRwfn-Dl": { - "id": "HNHJWyynJOcgeyRwfn-Dl", - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "name": "diskinfo_uid", - "comment": "", - "dataType": "INT", - "default": "", - "options": 8, - "ui": { - "keys": 0, - "widthName": 65, - "widthComment": 60, - "widthDataType": 60, - "widthDefault": 60 - }, - "meta": { - "updateAt": 1748508344403, - "createAt": 1748508336464 - } - }, "0ycHwVarSPw82puBqDV8H": { "id": "0ycHwVarSPw82puBqDV8H", "tableId": "6ajvOCaGuXU9pzV0Y9jEi", @@ -9170,6 +6455,26 @@ "updateAt": 1748830922946, "createAt": 1748828471024 } + }, + "Fx2k158yi9P2l5An09ae1": { + "id": "Fx2k158yi9P2l5An09ae1", + "tableId": "B8haiEbPc1lRBWTv1g25G", + "name": "code", + "comment": "", + "dataType": "VARCHAR(20)", + "default": "", + "options": 12, + "ui": { + "keys": 0, + "widthName": 60, + "widthComment": 60, + "widthDataType": 75, + "widthDefault": 60 + }, + "meta": { + "updateAt": 1748856654152, + "createAt": 1748856612028 + } } }, "relationshipEntities": { @@ -9369,34 +6674,6 @@ "createAt": 1748478977657 } }, - "ig1NoF80GrF5IWOe1zbsO": { - "id": "ig1NoF80GrF5IWOe1zbsO", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "UuZoDcFNrKD0iTjVkA2Ew", - "columnIds": [ - "T4cTcTKn8tiZ4cXkI1yKe" - ], - "x": 1181.4138, - "y": 1413.5224, - "direction": 1 - }, - "end": { - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "columnIds": [ - "-TJtNZUaKJlCZWTuslTas" - ], - "x": 863.5693, - "y": 1784.128, - "direction": 2 - }, - "meta": { - "updateAt": 1748484752624, - "createAt": 1748484752624 - } - }, "w-QYHsd8nVKvDaBO9LDbp": { "id": "w-QYHsd8nVKvDaBO9LDbp", "identification": false, @@ -9425,34 +6702,6 @@ "createAt": 1748485358690 } }, - "fgg7RDxi1NtuTXQIwZT3k": { - "id": "fgg7RDxi1NtuTXQIwZT3k", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "4Phnxm-pTS6CW9EX4iqu1", - "columnIds": [ - "W0i3aiC-uKIsGR49noc-s" - ], - "x": 1030.811, - "y": 650.4238, - "direction": 1 - }, - "end": { - "tableId": "B8haiEbPc1lRBWTv1g25G", - "columnIds": [ - "gJFdxac0XhNJmCQaua2XT" - ], - "x": 816.9283, - "y": 847.8711, - "direction": 2 - }, - "meta": { - "updateAt": 1748485808994, - "createAt": 1748485808994 - } - }, "19PCL5s4M6NxuV-ePUz50": { "id": "19PCL5s4M6NxuV-ePUz50", "identification": false, @@ -9481,62 +6730,6 @@ "createAt": 1748485906874 } }, - "6jHX-r6U_oTlM8Xkxe_c_": { - "id": "6jHX-r6U_oTlM8Xkxe_c_", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "ne09vvne6LjZp75VVGiWV", - "columnIds": [ - "DX0y0VIZ430hVZbT_pmKl" - ], - "x": 1039.0371, - "y": 573.9167, - "direction": 1 - }, - "end": { - "tableId": "B8haiEbPc1lRBWTv1g25G", - "columnIds": [ - "ocQDEPy6SoxLZr91fT335" - ], - "x": 788.0169000000001, - "y": 659.9471, - "direction": 2 - }, - "meta": { - "updateAt": 1748486421395, - "createAt": 1748486421395 - } - }, - "n86OR0aIZuBy-KEqpwoEa": { - "id": "n86OR0aIZuBy-KEqpwoEa", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "ne09vvne6LjZp75VVGiWV", - "columnIds": [ - "DX0y0VIZ430hVZbT_pmKl" - ], - "x": 1039.0371, - "y": 573.9167, - "direction": 1 - }, - "end": { - "tableId": "8_3Ctel9BeUuE_BymRTVY", - "columnIds": [ - "7zq62xrOBri3x8UiUvoJb" - ], - "x": 809.1297, - "y": 656.0357, - "direction": 2 - }, - "meta": { - "updateAt": 1748486850031, - "createAt": 1748486850031 - } - }, "6Gx9n7rUrSbXGbvE39xnm": { "id": "6Gx9n7rUrSbXGbvE39xnm", "identification": false, @@ -9565,34 +6758,6 @@ "createAt": 1748506047447 } }, - "av5nvnwlAskERpCENgkea": { - "id": "av5nvnwlAskERpCENgkea", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "6ajvOCaGuXU9pzV0Y9jEi", - "columnIds": [ - "_AcWUYKzNJd-V0fRHq8Cx" - ], - "x": 2046.0947, - "y": 1052.0705666666665, - "direction": 1 - }, - "end": { - "tableId": "isiA_oaJNIm3F4nYJuLJ1", - "columnIds": [ - "iOrJK_1qtvJG0NLZ_92Ap" - ], - "x": 901.0344, - "y": 1265.3418, - "direction": 2 - }, - "meta": { - "updateAt": 1748506096627, - "createAt": 1748506096627 - } - }, "anhMCXytE7rcE_drKBPWz": { "id": "anhMCXytE7rcE_drKBPWz", "identification": false, @@ -9613,7 +6778,7 @@ "NzxkmndrTbH7xb6fbnGV7" ], "x": 1442.3741, - "y": 1242.1363, + "y": 1254.1363, "direction": 2 }, "meta": { @@ -9632,7 +6797,7 @@ "N_yJVoCN4oUEDhYqdzApb" ], "x": 934.3741, - "y": 1242.1363, + "y": 1254.1363, "direction": 1 }, "end": { @@ -9649,202 +6814,6 @@ "createAt": 1748507336370 } }, - "hZwLW2O7DrufUJ55-BEMx": { - "id": "hZwLW2O7DrufUJ55-BEMx", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", - "columnIds": [ - "F9EPb6nsDx6Tf3GG8rvP1" - ], - "x": 2894.5317, - "y": 1440.9857, - "direction": 1 - }, - "end": { - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "columnIds": [ - "K05Ppf0NdiNtCPk5efRYY" - ], - "x": 2518.4631, - "y": 1779.1297, - "direction": 2 - }, - "meta": { - "updateAt": 1748508195532, - "createAt": 1748508195532 - } - }, - "iOLvpfhlnZXss_9Akdw21": { - "id": "iOLvpfhlnZXss_9Akdw21", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", - "columnIds": [ - "F9EPb6nsDx6Tf3GG8rvP1" - ], - "x": 2894.5317, - "y": 1526.9857, - "direction": 1 - }, - "end": { - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "columnIds": [ - "Evhb-oJUTT1EsCZSoxPDm" - ], - "x": 2520.9948, - "y": 1958.8766, - "direction": 2 - }, - "meta": { - "updateAt": 1748508202057, - "createAt": 1748508202057 - } - }, - "o1Vr5LNOtjUKVeT7HZ_Zy": { - "id": "o1Vr5LNOtjUKVeT7HZ_Zy", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", - "columnIds": [ - "F9EPb6nsDx6Tf3GG8rvP1" - ], - "x": 2894.5317, - "y": 1612.9857, - "direction": 1 - }, - "end": { - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "columnIds": [ - "kUk6Jr9rPFWLXpa2e4zTj" - ], - "x": 2524.7923, - "y": 2131.0285, - "direction": 2 - }, - "meta": { - "updateAt": 1748508210916, - "createAt": 1748508210916 - } - }, - "ZbnOJfnzIW7X1EG7598H-": { - "id": "ZbnOJfnzIW7X1EG7598H-", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "RMhrLs7bOaopKmKt9YKHQ", - "columnIds": [ - "Jh6e_-9QYe1Tqve0PE3kT" - ], - "x": 1569.4871, - "y": 1950.6947, - "direction": 2 - }, - "end": { - "tableId": "YZ0etEyIrLELsAXTmHhQc", - "columnIds": [ - "dDzcxdneGSSyI3tUYKwOF" - ], - "x": 2017.4631, - "y": 1779.1297, - "direction": 1 - }, - "meta": { - "updateAt": 1748508290582, - "createAt": 1748508290582 - } - }, - "2s-kZsoPcLDX54-5FUmx2": { - "id": "2s-kZsoPcLDX54-5FUmx2", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "lwd2DR7f1FW8fXtJ0lX-r", - "columnIds": [ - "203b3hUKUQ_Gu5wKShBgZ" - ], - "x": 1571.6763, - "y": 2200.6906, - "direction": 2 - }, - "end": { - "tableId": "o9AH4X1b0be0HcYSED4Ye", - "columnIds": [ - "i-qeHv7fR8kNb0YU7CQr_" - ], - "x": 2019.9948, - "y": 1958.8766, - "direction": 1 - }, - "meta": { - "updateAt": 1748508313611, - "createAt": 1748508313611 - } - }, - "fXo3jgMCmZjfJJ8ulRjc6": { - "id": "fXo3jgMCmZjfJJ8ulRjc6", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "dnFyz1CSdGeS6mCbfCMO0", - "columnIds": [ - "WaCB3uNZYFReAPiBqQ97v" - ], - "x": 1575.0119, - "y": 2458.1216, - "direction": 2 - }, - "end": { - "tableId": "eedL-g0lWBMK6URgqW-FZ", - "columnIds": [ - "HNHJWyynJOcgeyRwfn-Dl" - ], - "x": 2023.7923, - "y": 2131.0285, - "direction": 1 - }, - "meta": { - "updateAt": 1748508336465, - "createAt": 1748508336465 - } - }, - "VPkyBubRb75tsXIHR1OdV": { - "id": "VPkyBubRb75tsXIHR1OdV", - "identification": false, - "relationshipType": 16, - "startRelationshipType": 2, - "start": { - "tableId": "B4qGh3KZsXHQ3_4EOgwJZ", - "columnIds": [ - "F9EPb6nsDx6Tf3GG8rvP1" - ], - "x": 2894.5317, - "y": 1351.9857, - "direction": 1 - }, - "end": { - "tableId": "6ajvOCaGuXU9pzV0Y9jEi", - "columnIds": [ - "0ycHwVarSPw82puBqDV8H" - ], - "x": 2577.0947, - "y": 1095.0039, - "direction": 2 - }, - "meta": { - "updateAt": 1748508395103, - "createAt": 1748508395103 - } - }, "1rYupb5yiEWocrmmCxTAV": { "id": "1rYupb5yiEWocrmmCxTAV", "identification": false, diff --git a/app/Entities/Customer/DomainEntity.php b/app/Entities/Customer/DomainEntity.php deleted file mode 100644 index 9c3387b..0000000 --- a/app/Entities/Customer/DomainEntity.php +++ /dev/null @@ -1,11 +0,0 @@ -attributes[$type] ?? []; } - public function setAdapterEntities(string $type, array $partEntities): void + public function setItemEntities(string $type, array $partEntities): void { if (!isset($this->attributes[$type])) { $this->attributes[$type] = []; diff --git a/app/Entities/Customer/ServiceItemEntity.php b/app/Entities/Customer/ServiceItemEntity.php new file mode 100644 index 0000000..0dff834 --- /dev/null +++ b/app/Entities/Customer/ServiceItemEntity.php @@ -0,0 +1,16 @@ +attributes['price']) . '/' . number_format($this->attributes['amount']) . "원]"; + } +} diff --git a/app/Entities/Equipment/DomainEntity.php b/app/Entities/Equipment/DomainEntity.php new file mode 100644 index 0000000..2fc0bb1 --- /dev/null +++ b/app/Entities/Equipment/DomainEntity.php @@ -0,0 +1,11 @@ +attributes['serverinfo_uid']; + return parent::getTitle() . " [" . number_format($this->attributes['price']) . "원]"; } } diff --git a/app/Entities/Equipment/Part/CpuEntity.php b/app/Entities/Equipment/Part/CpuEntity.php index b83b025..cac1516 100644 --- a/app/Entities/Equipment/Part/CpuEntity.php +++ b/app/Entities/Equipment/Part/CpuEntity.php @@ -8,8 +8,4 @@ class CpuEntity extends PartEntity { const PK = CpuModel::PK; const TITLE = CpuModel::TITLE; - public function getTitle(): string - { - return parent::getTitle() . " [" . number_format($this->attributes['price']) . "원]"; - } } diff --git a/app/Entities/Equipment/Part/DiskEntity.php b/app/Entities/Equipment/Part/DiskEntity.php deleted file mode 100644 index 56c0b57..0000000 --- a/app/Entities/Equipment/Part/DiskEntity.php +++ /dev/null @@ -1,15 +0,0 @@ -attributes['price']) . "원]"; - } -} diff --git a/app/Entities/Equipment/Part/RamEntity.php b/app/Entities/Equipment/Part/RamEntity.php index 87a1903..d252545 100644 --- a/app/Entities/Equipment/Part/RamEntity.php +++ b/app/Entities/Equipment/Part/RamEntity.php @@ -8,8 +8,4 @@ class RamEntity extends PartEntity { const PK = RamModel::PK; const TITLE = RamModel::TITLE; - public function getTitle(): string - { - return parent::getTitle() . " [" . number_format($this->attributes['price']) . "원]"; - } } diff --git a/app/Entities/Equipment/Part/StorageEntity.php b/app/Entities/Equipment/Part/StorageEntity.php new file mode 100644 index 0000000..ad60931 --- /dev/null +++ b/app/Entities/Equipment/Part/StorageEntity.php @@ -0,0 +1,11 @@ +attributes['model']}]"; - } } diff --git a/app/Helpers/CommonHelper.php b/app/Helpers/CommonHelper.php index e2942d2..92b1fdb 100644 --- a/app/Helpers/CommonHelper.php +++ b/app/Helpers/CommonHelper.php @@ -241,7 +241,6 @@ class CommonHelper $form = form_dropdown($field, $formOptions, $value, ['class' => $extra_class, ...array_diff_key($extras, ['class' => ''])]); } break; - case 'manufactur_at': case 'billing_at': case 'start_at': case 'end_at': @@ -282,17 +281,7 @@ class CommonHelper $value = $viewDatas['entity']->$field ?? ""; switch ($field) { case $this->getTitleField(): - $value = form_label( - $value, - 'view', - [ - "data-src" => current_url() . '/view/' . $viewDatas['entity']->getPK(), - "data-bs-toggle" => "modal", - "data-bs-target" => "#index_action_form", - "style" => "color: blue; cursor: pointer; font-weight:bold;", - ...$extras, - ] - ); + $value = $this->getFieldForm($field, $viewDatas['entity']->$field, $viewDatas, $extras); break; case 'role': $roles = []; @@ -301,7 +290,6 @@ class CommonHelper } $value = implode(" , ", $roles); break; - case 'manufactur_at': case 'billing_at': case 'start_at': case 'end_at': @@ -389,6 +377,19 @@ class CommonHelper ] ); break; + case 'view': + $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; + $action = form_label( + ICONS['SEARCH'], + $action, + [ + "data-src" => current_url() . '/' . $action . '/' . $viewDatas['entity']->getPK(), + "data-bs-toggle" => "modal", + "data-bs-target" => "#index_action_form", + ...$extras + ] + ); + break; case 'delete': $extras = ["class" => "btn btn-sm btn-danger btn-circle", "target" => "_self", ...$extras]; $action = anchor( diff --git a/app/Helpers/Customer/ServiceHelper.php b/app/Helpers/Customer/ServiceHelper.php index 6185e2d..61bf775 100644 --- a/app/Helpers/Customer/ServiceHelper.php +++ b/app/Helpers/Customer/ServiceHelper.php @@ -13,4 +13,60 @@ class ServiceHelper extends CustomerHelper parent::__construct($request); $this->setTitleField(field: ServiceModel::TITLE); } + public function getFieldLabel(string $field, array $viewDatas, array $extras = []): string + { + switch ($field) { + case "LINE": + case "IP": + case "SERVER": + case "CPU": + case "RAM": + case "STORAGE": + case "SOFTWARE": + case "DEFENCE": + case "DOMAIN": + $label = form_label(lang("{$viewDatas['class_path']}.label.{$field}"), $field, $extras); + break; + default: + $label = parent::getFieldLabel($field, $viewDatas, $extras); + break; + } + return $label; + } + public function getFieldView(string $field, array $viewDatas, array $extras = []): string + { + $value = $viewDatas['entity']->$field ?? ""; + switch ($field) { + case "LINE": + case "IP": + case "SERVER": + case "CPU": + case "RAM": + case "STORAGE": + case "SOFTWARE": + case "DEFENCE": + case "DOMAIN": + $temps = []; + foreach ($viewDatas['entity']->getItemEntities($field) as $partEntity) { + $temps[] = "
" . $partEntity->getTitle() . "
"; + } + $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; + $temps[] = form_label( + '변경', + $field, + [ + "data-src" => "/admin/customer/serviceitem?item_type={$field}&serviceinfo_uid={$viewDatas['entity']->getPK()}", + "data-bs-toggle" => "modal", + "data-bs-target" => "#index_action_form", + ...$extras + ] + ); + $value = implode("", $temps); + break; + default: + $value = parent::getFieldView($field, $viewDatas, $extras); + break; + } + return $value; + } } diff --git a/app/Helpers/Customer/ServiceItemHelper.php b/app/Helpers/Customer/ServiceItemHelper.php new file mode 100644 index 0000000..61c4f8d --- /dev/null +++ b/app/Helpers/Customer/ServiceItemHelper.php @@ -0,0 +1,16 @@ +setTitleField(field: ServiceItemModel::TITLE); + } +} diff --git a/app/Helpers/Customer/DomainHelper.php b/app/Helpers/Equipment/DomainHelper.php similarity index 70% rename from app/Helpers/Customer/DomainHelper.php rename to app/Helpers/Equipment/DomainHelper.php index 8143b67..6d1f129 100644 --- a/app/Helpers/Customer/DomainHelper.php +++ b/app/Helpers/Equipment/DomainHelper.php @@ -1,11 +1,11 @@ setTitleField(field: DiskModel::TITLE); + $this->setTitleField(field: StorageModel::TITLE); } } diff --git a/app/Helpers/Equipment/ServerHelper.php b/app/Helpers/Equipment/ServerHelper.php index 47fe779..c05e7b0 100644 --- a/app/Helpers/Equipment/ServerHelper.php +++ b/app/Helpers/Equipment/ServerHelper.php @@ -13,80 +13,4 @@ class ServerHelper extends EquipmentHelper parent::__construct($request); $this->setTitleField(field: ServerModel::TITLE); } - public function getFieldLabel(string $field, array $viewDatas, array $extras = []): string - { - switch ($field) { - case "LINE": - case "IP": - case "CPU": - case "RAM": - case "DISK": - case "DEFENCE": - case "SOFTWARE": - case "DOMAIN": - $label = form_label(lang("{$viewDatas['class_path']}.label.{$field}"), $field, $extras); - break; - default: - $label = parent::getFieldLabel($field, $viewDatas, $extras); - break; - } - return $label; - } - // public function getFieldForm(string $field, mixed $value, array $viewDatas, array $extras = []): string - // { - // if (in_array($viewDatas['action'], ['create', 'modify'])) { - // $extras = (strpos($viewDatas['field_rules'][$field], 'required') !== false) ? ["class" => "form-control", "required" => "", ...$extras] : ["class" => "form-control", ...$extras]; - // } - // switch ($field) { - // case 'model': - // if (!is_array($viewDatas['field_options'][$field])) { - // throw new \Exception(__METHOD__ . "에서 {$field}의 field_options가 array형태가 아닙니다."); - // } - // $extra_class = isset($extras['class']) ? $extras['class'] . ' select-field' : 'select-field'; - // $formOptions = ["" => lang($viewDatas['class_path'] . '.label.' . $field) . ' 선택']; - // foreach ($viewDatas['field_options'][$field] as $key => $label) { - // $formOptions[$key] = $label; - // } - // $form = form_dropdown($field, $formOptions, $value, ['class' => $extra_class, ...array_diff_key($extras, ['class' => ''])]); - // break; - // default: - // $form = parent::getFieldForm($field, $value, $viewDatas, $extras); - // break; - // } - // return $form; - // } - public function getFieldView(string $field, array $viewDatas, array $extras = []): string - { - $value = $viewDatas['entity']->$field ?? ""; - switch ($field) { - case "LINE": - case "IP": - case "CPU": - case "RAM": - case "DISK": - case "DEFENCE": - case "SOFTWARE": - $temps = []; - foreach ($viewDatas['entity']->getPartEntities($field) as $partEntity) { - $temps[] = "
" . $partEntity->getTitle() . "
"; - } - $extras = ["class" => "btn btn-outline btn-primary btn-circle", "target" => "_self", ...$extras]; - $temps[] = form_label( - '변경', - $field, - [ - "data-src" => "/admin/equipment/link/" . strtolower($field) . "?&serverinfo_uid={$viewDatas['entity']->getPK()}", - "data-bs-toggle" => "modal", - "data-bs-target" => "#index_action_form", - ...$extras - ] - ); - $value = implode("", $temps); - break; - default: - $value = parent::getFieldView($field, $viewDatas, $extras); - break; - } - return $value; - } } diff --git a/app/Language/en/Customer/Service.php b/app/Language/en/Customer/Service.php index e36e8d0..8878286 100644 --- a/app/Language/en/Customer/Service.php +++ b/app/Language/en/Customer/Service.php @@ -3,7 +3,11 @@ return [ 'title' => "고객서비스정보", 'label' => [ 'clientinfo_uid' => "고객명", - 'switch' => "Switch", + 'location' => "위치", + 'switch' => "스위치코드", + 'code' => "서버코드", + 'type' => "형식", + 'raid' => "RAID", 'billing_at' => "청구일", 'start_at' => "개통일", 'end_at' => "해지일", @@ -14,8 +18,8 @@ return [ 'LINE' => "회선", 'IP' => "IP", 'CPU' => "CPU", - 'RAM' => "RAM", - 'DISK' => "DISK", + 'RAM' => "메모리", + 'DISK' => "저장장치", 'SOFTWARE' => "SOFTWARE", 'DEFENCE' => "방어(CS)", 'DOMAIN' => "도메인", @@ -26,13 +30,28 @@ return [ 'type' => "default", 'status' => 'default' ], + "LOCATION" => [ + "default" => "치바", + "tokyo" => "도쿄", + ], "SWITCH" => [ "R35P10" => "R35P10", "R45P20" => "R45P20", ], - "LOCATION" => [ - "default" => "치바", - "tokyo" => "도쿄", + "CODE" => [ + "JPN130" => "JPN130", + "JPN140" => "JPN140", + "JPN150" => "JPN138", + "X1508A" => "R45P20", + "X1508C" => "X1508C", + "X1508D" => "X1508D", + "X2001A" => "X2001A", + "X2001B" => "X2001B", + "X2001C" => "X2001C", + "X2001D" => "X2001D", + "X2001E" => "X2001E", + "P2404I510" => "P2404I510", + "P2404I710" => "P2404I710", ], "TYPE" => [ "default" => "일반", diff --git a/app/Language/en/Customer/ServiceItem.php b/app/Language/en/Customer/ServiceItem.php new file mode 100644 index 0000000..3e57761 --- /dev/null +++ b/app/Language/en/Customer/ServiceItem.php @@ -0,0 +1,44 @@ + "서비스항목정보", + 'label' => [ + 'serviceinfo_uid' => "서비스명", + 'item_type' => "항목형식", + 'item_uid' => "항목", + 'billing_cycle' => "청구방식", + 'price' => "소비자금액", + 'amount' => "서비스금액", + 'start_at' => "개통일", + 'end_at' => "해지일", + 'status' => "상태", + 'updated_at' => "수정일", + 'created_at' => "신청일", + ], + 'DEFAULTS' => [ + 'item_type' => "server", + 'billing_cycle' => "month", + 'type' => "default", + 'status' => 'default' + ], + "ITEM_TYPE" => [ + "LINE" => "라인", + "IP" => "IP주소", + "SERVER" => "서버", + "CPU" => "CPU", + "RAM" => "메모리", + "STORAGE" => "저장장치", + "SOFTWARE" => "소프트웨어", + "DEFENCE" => "방어(CS)", + "DOMAIN" => "도메인", + ], + "BILLING_CYCLE" => [ + "month" => "매월", + "onetime" => "일회성", + ], + "STATUS" => [ + 'default' => "사용중", + "pause" => "일시정지", + 'reservation' => "설치예약", + "terminated" => "해지", + ], +]; diff --git a/app/Language/en/Customer/Domain.php b/app/Language/en/Equipment/Domain.php similarity index 100% rename from app/Language/en/Customer/Domain.php rename to app/Language/en/Equipment/Domain.php diff --git a/app/Language/en/Equipment/Part/Disk.php b/app/Language/en/Equipment/Part/Storage.php similarity index 100% rename from app/Language/en/Equipment/Part/Disk.php rename to app/Language/en/Equipment/Part/Storage.php diff --git a/app/Language/en/Equipment/Server.php b/app/Language/en/Equipment/Server.php index 45984a3..b1d65f9 100644 --- a/app/Language/en/Equipment/Server.php +++ b/app/Language/en/Equipment/Server.php @@ -2,12 +2,10 @@ return [ 'title' => "서버장비정보", 'label' => [ - 'code' => "장비코드", 'model' => "모델", 'price' => "금액", 'description' => "설명", 'status' => "상태", - 'manufactur_at' => "입고일", 'updated_at' => "수정일", 'created_at' => "작성일", ], diff --git a/app/Models/Customer/ServiceItemModel.php b/app/Models/Customer/ServiceItemModel.php new file mode 100644 index 0000000..d0e9822 --- /dev/null +++ b/app/Models/Customer/ServiceItemModel.php @@ -0,0 +1,60 @@ + field가 array 입니다.\n" . var_export($field, true)); + } + switch ($field) { + case "serviceinfo_uid": + case "item_uid": + case "price": + case "amount": + $rule = "required|numeric"; + break; + case "item_type": + case "billing_cycle": + case "status": + $rule = "required|trim|string"; + break; + case "start_at": + $rule = "required|valid_date"; + break; + case "end_at": + $rule = "if_exist|valid_date"; + break; + default: + $rule = parent::getFieldRule($action, $field); + break; + } + return $rule; + } +} diff --git a/app/Models/Customer/ServiceModel.php b/app/Models/Customer/ServiceModel.php index 7b024c1..a35a9d9 100644 --- a/app/Models/Customer/ServiceModel.php +++ b/app/Models/Customer/ServiceModel.php @@ -16,6 +16,7 @@ class ServiceModel extends CustomerModel "clientinfo_uid", "switch", "location", + "code", "type", "raid", "billing_at", @@ -37,6 +38,8 @@ class ServiceModel extends CustomerModel case "clientinfo_uid": $rule = "required|numeric"; break; + case "switch": + case "code": case "type": case "status": $rule = "required|trim|string"; diff --git a/app/Models/Customer/DomainModel.php b/app/Models/Equipment/DomainModel.php similarity index 91% rename from app/Models/Customer/DomainModel.php rename to app/Models/Equipment/DomainModel.php index e6d6dfc..aaf6f97 100644 --- a/app/Models/Customer/DomainModel.php +++ b/app/Models/Equipment/DomainModel.php @@ -1,10 +1,10 @@ field가 array 입니다.\n" . var_export($field, true)); } switch ($field) { - case "code": case "model": $rule = "required|trim|string"; break; case "price": $rule = "required|numeric"; break; - case "manufactur_at": - $rule = "required|valid_date"; - break; default: $rule = parent::getFieldRule($action, $field); break; diff --git a/app/Services/Customer/ServiceItemService.php b/app/Services/Customer/ServiceItemService.php new file mode 100644 index 0000000..b92e378 --- /dev/null +++ b/app/Services/Customer/ServiceItemService.php @@ -0,0 +1,46 @@ +addClassName('ServiceItem'); + } + public function getModelClass(): ServiceItemModel + { + return new ServiceItemModel(); + } + public function getEntityClass(): ServiceItemEntity + { + return new ServiceItemEntity(); + } + public function getFields(): array + { + return [ + "serviceinfo_uid", + "item_type", + "item_uid", + "billing_cycle", + "price", + "amount", + "start_at", + "status", + ]; + } + public function getFilterFields(): array + { + return ["serviceinfo_uid", 'item_type', 'item_uid', 'billing_cycle', 'status']; + } + public function getBatchJobFields(): array + { + return ['status']; + } +} diff --git a/app/Services/Customer/ServiceService.php b/app/Services/Customer/ServiceService.php index 652255a..35e8ca1 100644 --- a/app/Services/Customer/ServiceService.php +++ b/app/Services/Customer/ServiceService.php @@ -28,6 +28,7 @@ class ServiceService extends CustomerService "clientinfo_uid", "switch", "location", + "code", "type", "raid", "billing_at", @@ -38,7 +39,7 @@ class ServiceService extends CustomerService } public function getFilterFields(): array { - return ["clientinfo_uid", 'switch', 'location', 'type', 'raid', 'status']; + return ["clientinfo_uid", 'location', 'switch', 'code', 'type', 'raid', 'status']; } public function getBatchJobFields(): array { diff --git a/app/Services/Customer/DomainService.php b/app/Services/Equipment/DomainService.php similarity index 83% rename from app/Services/Customer/DomainService.php rename to app/Services/Equipment/DomainService.php index d0f63aa..95175c5 100644 --- a/app/Services/Customer/DomainService.php +++ b/app/Services/Equipment/DomainService.php @@ -1,12 +1,12 @@ addClassName('Disk'); + $this->addClassName('Storage'); } - public function getModelClass(): DiskModel + public function getModelClass(): StorageModel { - return new DiskModel(); + return new StorageModel(); } - public function getEntityClass(): DiskEntity + public function getEntityClass(): StorageEntity { - return new DiskEntity(); + return new StorageEntity(); } final public function getFields(): array { diff --git a/app/Services/Equipment/ServerService.php b/app/Services/Equipment/ServerService.php index 177d34a..da8dc5d 100644 --- a/app/Services/Equipment/ServerService.php +++ b/app/Services/Equipment/ServerService.php @@ -26,8 +26,6 @@ class ServerService extends EquipmentService public function getFields(): array { return [ - "code", - "manufactur_at", "model", "price", "status", @@ -42,9 +40,4 @@ class ServerService extends EquipmentService { return ['model', 'status']; } - //서비스에서 사용중인 서버를 occupied로 변경 - public function setOccupied(ServerEntity $entity): ServerEntity - { - return $this->getModel()->modify($entity, ['status' => 'occupied']); - } } diff --git a/app/Views/admin/index.php b/app/Views/admin/index.php index f3ef2fc..2179d30 100644 --- a/app/Views/admin/index.php +++ b/app/Views/admin/index.php @@ -38,7 +38,10 @@ getFieldView($field, $viewDatas) ?> - getListButton('delete', $viewDatas) ?> + + getListButton('view', $viewDatas) ?>  + getListButton('delete', $viewDatas) ?> + diff --git a/app/Views/admin/service/index.php b/app/Views/admin/service/index.php index 047c2d1..7cb348c 100644 --- a/app/Views/admin/service/index.php +++ b/app/Views/admin/service/index.php @@ -38,18 +38,21 @@ getFieldView($field, $viewDatas) ?> - getListButton('delete', $viewDatas) ?> + + getListButton('view', $viewDatas) ?>  + getListButton('delete', $viewDatas) ?> + - - + $label): ?> + - + $label): ?> diff --git a/app/Views/layouts/admin/left_menu/customer.php b/app/Views/layouts/admin/left_menu/customer.php index c4539b0..1af5c96 100644 --- a/app/Views/layouts/admin/left_menu/customer.php +++ b/app/Views/layouts/admin/left_menu/customer.php @@ -17,9 +17,6 @@
Point내역
-
- 도메인정보 -
서비스내역
diff --git a/app/Views/layouts/admin/left_menu/equipment.php b/app/Views/layouts/admin/left_menu/equipment.php index 683000e..f6d071b 100644 --- a/app/Views/layouts/admin/left_menu/equipment.php +++ b/app/Views/layouts/admin/left_menu/equipment.php @@ -17,14 +17,17 @@
Software정보
+
+ 도메인정보 +
CPU정보
- RAM정보 + 메모리리정보
- DISK정보 + 저장장치정보
Server정보
getFieldLabel($field, $viewDatas) ?>
getFieldView($field, $viewDatas) ?>