-- Table structure for table `authority`
--

CREATE TABLE `authority` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `route` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `authority`
--

INSERT INTO `authority` VALUES (1,'資產設備基本資料建立','manage/asset/assets','0000-00-00 00:00:00','0000-00-00 00:00:00'),(2,'資產設備異動動處理','manage/asset/punish','0000-00-00 00:00:00','0000-00-00 00:00:00'),(3,'資產申請','manage/asset/applicant','0000-00-00 00:00:00','0000-00-00 00:00:00'),(4,'資產領用','manage/asset/picklist','0000-00-00 00:00:00','0000-00-00 00:00:00'),(5,'資產申請審核','manage/asset/examine','0000-00-00 00:00:00','0000-00-00 00:00:00'),(6,'存放位置資料建立','manage/asset/storage_place','0000-00-00 00:00:00','0000-00-00 00:00:00'),(7,'取得來源項目建立','manage/asset/acquired_source','0000-00-00 00:00:00','0000-00-00 00:00:00'),(8,'處份異動項目建立','manage/asset/disposal_item','0000-00-00 00:00:00','0000-00-00 00:00:00'),(9,'總類類別設定','manage/asset/general_category','0000-00-00 00:00:00','0000-00-00 00:00:00'),(10,'資產設備分類類別設定','manage/asset/category','0000-00-00 00:00:00','0000-00-00 00:00:00'),(11,'資產設備匯入','manage/asset/assetImport','0000-00-00 00:00:00','0000-00-00 00:00:00'),(12,'資產盤點匯入','manage/asset/assetCheckImport','0000-00-00 00:00:00','0000-00-00 00:00:00'),(13,'資產設備維修管理','manage/asset/maintenance','0000-00-00 00:00:00','0000-00-00 00:00:00'),(14,'儲物基本資料建立','manage/storage/storages','0000-00-00 00:00:00','0000-00-00 00:00:00'),(15,'儲物申請','manage/storage/applicant','0000-00-00 00:00:00','0000-00-00 00:00:00'),(16,'儲物領用','manage/storage/picklist','0000-00-00 00:00:00','0000-00-00 00:00:00'),(17,'儲物分類類別設定','manage/storage/category','0000-00-00 00:00:00','0000-00-00 00:00:00'),(18,'儲物異動管理','manage/storage/substitute','0000-00-00 00:00:00','0000-00-00 00:00:00'),(19,'儲物單位管理','manage/storage/unit','0000-00-00 00:00:00','0000-00-00 00:00:00'),(20,'儲物資料進貨管理','manage/storage/purchase','0000-00-00 00:00:00','0000-00-00 00:00:00'),(21,'儲物申請審核','manage/storage/examine','0000-00-00 00:00:00','0000-00-00 00:00:00'),(22,'儲物資料匯入','manage/asset/storageImport','0000-00-00 00:00:00','0000-00-00 00:00:00'),(23,'計費承租戶管理','manage/payment/tenant','0000-00-00 00:00:00','0000-00-00 00:00:00'),(24,'計費電價設定','manage/payment/electricity_bill','0000-00-00 00:00:00','0000-00-00 00:00:00'),(25,'計費度數修改','manage/payment/edit_electricity_view','0000-00-00 00:00:00','0000-00-00 00:00:00'),(26,'計費設備建立','manage/payment/add_facility_view','0000-00-00 00:00:00','0000-00-00 00:00:00'),(27,'計費設定設備對應用戶','manage/payment/set_user_facility','0000-00-00 00:00:00','0000-00-00 00:00:00'),(28,'計費請款金額','manage/payment/electricity_fee','0000-00-00 00:00:00','0000-00-00 00:00:00'),(29,'計費建立度數資料','manage/payment/electricity_btu_record','0000-00-00 00:00:00','0000-00-00 00:00:00'),(30,'計費各式報表','manage/payment/electricity_meter','0000-00-00 00:00:00','0000-00-00 00:00:00'),(31,'計費各式報表','manage/payment/formula','0000-00-00 00:00:00','0000-00-00 00:00:00');

--
-- Table structure for table `ba_building`
--

CREATE TABLE `ba_building` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `BAID` varchar(2) COLLATE utf8mb3_unicode_ci NOT NULL,
  `BAName` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `UpdNo` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ba_building`
--


--
-- Table structure for table `ba_eqLog`
--

CREATE TABLE `ba_eqLog` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `ActionType` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `LGSSID` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqMdle` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqType` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqID` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqAttrType` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqAttr` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqAttrName` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqStatus` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `EqStatusDesc` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `CID` varchar(8) COLLATE utf8mb3_unicode_ci NOT NULL,
  `BAID` varchar(2) COLLATE utf8mb3_unicode_ci NOT NULL,
  `FID` varchar(3) COLLATE utf8mb3_unicode_ci NOT NULL,
  `HID` varchar(3) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ba_eqLog`
--


--
-- Table structure for table `ba_floor`
--

CREATE TABLE `ba_floor` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `BAID` varchar(2) COLLATE utf8mb3_unicode_ci NOT NULL,
  `FID` varchar(3) COLLATE utf8mb3_unicode_ci NOT NULL,
  `FName` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `UpdNo` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ba_floor`
--


--
-- Table structure for table `ba_import`
--

CREATE TABLE `ba_import` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `success` int NOT NULL,
  `fail` int NOT NULL,
  `title` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `file_name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ba_import`
--

INSERT INTO `ba_import` VALUES (2,182,2,'20220914測試','1663128265.xlsx','2022-09-14 12:04:26','0000-00-00 00:00:00'),(5,215,185,'20221028-5','1666923032.xlsx','2022-10-28 02:10:34','0000-00-00 00:00:00');

--
-- Table structure for table `bike_logs`
--

CREATE TABLE `bike_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '場站中文名稱',
  `total` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '總車位數',
  `stock` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '目前車輛數',
  `idle` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '閒置車位數',
  `address` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '地址',
  `last_datetime` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '最後更新時間',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `bike_logs`
--


--
-- Table structure for table `bus_logs`
--

CREATE TABLE `bus_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `num` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '公車號',
  `status` int NOT NULL COMMENT '狀態',
  `sec` int NOT NULL COMMENT '到站時間',
  `last_update` datetime NOT NULL COMMENT '最後更新時間',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `bus_logs`
--


--
-- Table structure for table `calendar_comprehensives`
--

CREATE TABLE `calendar_comprehensives` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL COMMENT '使用者ID',
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '是哪一個事件',
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '標題',
  `start_section` datetime NOT NULL COMMENT '開始時間',
  `end_section` datetime NOT NULL COMMENT '結束時間',
  `all_day` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否為整天',
  `details` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '詳細資料',
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '地點',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `calendar_comprehensives`
--


--
-- Table structure for table `calendar_events`
--

CREATE TABLE `calendar_events` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `author` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '0' COMMENT '0未處理 1處理中 2處理完成',
  `allDay` tinyint(1) NOT NULL DEFAULT '1',
  `start` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `end` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `cal_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `file` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `calendar_events`
--

INSERT INTO `calendar_events` VALUES (15,'社區管委會會議','管委會','會議室','事件說明','0',1,'2015-12-24','2015-12-24','4','2015-12-15 16:50:18','2015-12-15 16:51:37','',''),(16,'區分所有權人代表大會','管委會','會議室','','0',1,'2015-12-30','2015-12-30','4','2015-12-15 16:50:44','2015-12-15 16:50:44','',''),(17,'物業管理會議','物管公司','總公司','','0',1,'2015-12-16','2015-12-16','3','2015-12-15 16:51:57','2015-12-15 16:51:57','',''),(18,'週會','管委會','會議室','','0',1,'2015-12-07','2015-12-07','4','2015-12-15 16:53:03','2015-12-15 16:53:03','',''),(19,'週會','管委會','會議室','','0',1,'2015-12-14','2015-12-14','4','2015-12-15 16:53:05','2015-12-15 16:53:05','',''),(20,'週會','管委會','會議室','','0',1,'2015-12-21','2015-12-21','4','2015-12-15 16:53:06','2015-12-15 16:53:06','',''),(21,'週會','管委會','會議室','','0',1,'2015-12-28','2015-12-28','4','2015-12-15 16:53:08','2015-12-15 16:53:08','',''),(22,'社區活動-美食大賽','管委會','會議室','','0',1,'2015-12-18','2015-12-18','1','2015-12-15 16:53:40','2015-12-15 16:53:40','',''),(23,'社區活動-本月電影日','管委會','會議室','免費的電影可以看','0',1,'2015-12-29','2015-12-29','1','2015-12-15 16:54:00','2015-12-15 16:54:00','',''),(24,'消防設備廠商檢修','管委會','會議室','消防設備檢修','0',1,'2015-12-03','2015-12-03','3','2015-12-15 16:54:25','2015-12-15 16:54:25','',''),(25,'消防設備廠商檢修','管委會','會議室','消防設備檢修','0',1,'2015-12-27','2015-12-27','3','2015-12-15 16:54:27','2015-12-15 16:54:27','',''),(26,'游泳池維修','管委會','會議室','此段時間游泳池維修 暫不開放','0',0,'2015-12-07','2015-12-10','1','2015-12-15 16:55:04','2015-12-15 16:55:07','',''),(27,'123','123','123','123','0',0,'2022-05-03 17:15:00 ','2022-05-03 17:15:00 ','4','2022-05-26 17:01:45','2022-05-26 17:01:45','',''),(28,'物管會議','管理中心','4F會議室','每週會議','0',0,'2022-07-01 16:00','2022-07-01 18:00','4','2022-07-07 10:17:33','2022-07-07 10:18:00','',''),(29,'物管會議','管理中心','4F會議室','每週會議','0',0,'2022-07-08 16:00:00 ','2022-07-08 18:00:00 ','4','2022-07-07 10:18:48','2022-07-07 10:18:48','',''),(30,'物管會議','管理中心','4F會議室','每週會議','0',0,'2022-07-15 16:00:00 ','2022-07-15 18:00:00 ','4','2022-07-07 10:19:06','2022-07-07 10:19:06','',''),(31,'物管會議','管理中心','4F會議室','每週會議','0',0,'2022-07-22 16:00:00 ','2022-07-22 18:00:00 ','4','2022-07-07 10:19:19','2022-07-07 10:19:19','',''),(32,'物管會議','管理中心','4F會議室','每週會議','0',0,'2022-07-29 16:00:00 ','2022-07-29 18:00:00 ','4','2022-07-07 10:19:35','2022-07-07 10:19:35','',''),(33,'製冰機保養','管理中心','4F咖啡廳','製冰機年度保養','0',0,'2022-07-07 10:30:00 ','2022-07-07 15:30:00 ','6','2022-07-07 10:22:43','2022-07-07 10:22:43','','');

--
-- Table structure for table `camera_classes`
--

CREATE TABLE `camera_classes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `error_image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `camera_classes`
--


--
-- Table structure for table `camera_locations`
--

CREATE TABLE `camera_locations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `building` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `floor` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `camera_locations`
--


--
-- Table structure for table `camera_settings`
--

CREATE TABLE `camera_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `url` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `length` int NOT NULL,
  `part` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `camera_settings`
--

INSERT INTO `camera_settings` VALUES (1,'',0,0,'0000-00-00 00:00:00','0000-00-00 00:00:00');

--
-- Table structure for table `card_sets`
--

CREATE TABLE `card_sets` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `card_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `user_id` int NOT NULL,
  `active_key` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `card_sets`
--


--
-- Table structure for table `cards`
--

CREATE TABLE `cards` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `card_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT '卡片類別',
  `card_category` int NOT NULL COMMENT '卡片類型 0為一般卡 1為安心卡 2為脅迫卡',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `cards_user_id_foreign` (`user_id`),
  CONSTRAINT `cards_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1043 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `cards`
--

INSERT INTO `cards` VALUES (6,22,'0454591922','',0,'2022-05-31 11:19:06','2022-05-31 11:19:06'),(109,33,'2989567236','',0,'2022-07-07 19:15:52','2022-07-07 19:15:52'),(480,523,'451548498','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(481,523,'454525682','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(482,523,'456705826','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(483,523,'457241202','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(484,523,'452100274','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(490,525,'451309122','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(491,525,'456563282','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(492,525,'456693602','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(493,525,'452247234','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(494,525,'457106994','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(495,526,'452060370','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(496,526,'456512514','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(497,526,'456879042','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(498,526,'456605778','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(499,526,'454507090','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(500,527,'452212658','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(501,527,'451623922','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(502,527,'455241666','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(503,527,'456440098','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(504,527,'451983906','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(505,528,'454675954','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(506,528,'457345954','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(507,528,'452091650','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(508,528,'451895714','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(509,528,'454389682','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(515,530,'452112162','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(516,530,'451877618','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(517,530,'456931042','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(518,530,'454862914','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(519,530,'456908578','',0,'2022-07-15 11:43:49','2022-07-15 11:43:49'),(520,531,'451326274','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(521,531,'452151010','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(522,531,'457052322','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(523,531,'455112818','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(524,531,'454649042','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(525,532,'451637250','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(526,532,'457356770','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(527,532,'454858130','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(528,532,'451404642','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(529,532,'456789010','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(530,533,'456918274','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(531,533,'455191746','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(532,533,'451429058','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(533,533,'452139874','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(534,533,'457319682','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(535,534,'452060402','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(536,534,'456511906','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(537,534,'452037490','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(538,534,'457389666','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(539,534,'455348834','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(540,535,'456634722','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(541,535,'456412146','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(542,535,'454910578','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(543,535,'451863298','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(544,535,'457061122','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(545,536,'456891970','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(546,536,'454718146','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(547,536,'455242290','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(548,536,'451697602','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(549,536,'451674530','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(550,537,'451656658','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(551,537,'451334466','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(552,537,'454408242','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(553,537,'451407474','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(554,537,'456605602','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(555,538,'451647010','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(556,538,'454405586','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(557,538,'454625762','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(558,538,'455013506','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(559,538,'451440994','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(560,539,'452019586','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(561,539,'457130962','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(562,539,'455322578','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(563,539,'456706242','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(564,539,'455090354','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(565,540,'452010498','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(566,540,'451762818','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(567,540,'454411714','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(568,540,'451347474','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(569,540,'457342450','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(570,541,'454848450','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(571,541,'457247250','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(572,541,'457243618','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(573,541,'457142978','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(574,541,'451411154','',0,'2022-07-15 11:43:50','2022-07-15 11:43:50'),(575,542,'457186370','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(576,542,'455351554','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(577,542,'456466738','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(578,542,'457206482','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(579,542,'457058722','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(580,543,'457135346','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(581,543,'456730706','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(582,543,'456574354','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(583,543,'452186770','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(584,543,'456800130','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(585,544,'452290802','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(586,544,'454539970','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(587,544,'452024530','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(588,544,'455202594','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(589,544,'455159794','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(590,545,'451342050','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(591,545,'451318082','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(592,545,'451358194','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(593,545,'451601170','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(594,545,'457350962','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(595,546,'457380402','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(596,546,'456701250','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(597,546,'454462514','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(598,546,'456660162','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(599,546,'454455778','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(600,547,'457155730','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(601,547,'456445986','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(602,547,'454895986','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(603,547,'457194610','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(604,547,'451951490','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(605,548,'456770978','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(606,548,'456664562','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(607,548,'451706690','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(608,548,'454838770','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(609,548,'456867938','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(610,549,'456705522','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(611,549,'457014930','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(612,549,'454740546','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(613,549,'457362674','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(614,549,'457012242','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(615,550,'451310162','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(616,550,'456486162','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(617,550,'451421490','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(618,550,'451804674','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(619,550,'455031842','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(620,551,'456846354','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(621,551,'456855682','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(622,551,'451637282','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(623,551,'452100114','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(624,551,'452193650','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(625,552,'452263506','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(626,552,'457383042','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(627,552,'454579282','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(628,552,'452305906','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(629,552,'451716498','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(630,553,'452194498','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(631,553,'455331346','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(632,553,'451665954','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(633,553,'451404402','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(634,553,'456886626','',0,'2022-07-15 11:43:51','2022-07-15 11:43:51'),(635,554,'454967634','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(636,554,'457322514','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(637,554,'457006546','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(638,554,'456407522','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(639,554,'455224498','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(640,555,'454423234','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(641,555,'456687666','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(642,555,'452143618','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(643,555,'456689410','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(644,555,'455292370','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(645,556,'457316002','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(646,556,'451614258','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(647,556,'451795138','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(648,556,'457142818','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(649,556,'457287602','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(650,557,'457276194','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(651,557,'451997394','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(652,557,'452303506','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(653,557,'451344354','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(654,557,'451360210','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(655,558,'452143394','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(656,558,'456898994','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(657,558,'454791762','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(658,558,'452197442','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(659,558,'457210754','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(660,559,'456399698','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(661,559,'452204818','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(662,559,'456410194','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(663,559,'456840450','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(664,559,'452227394','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(665,560,'451799682','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(666,560,'454414754','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(667,560,'456944642','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(668,560,'455122178','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(669,560,'452208898','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(670,561,'454727106','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(671,561,'451683570','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(672,561,'452294034','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(673,561,'457178034','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(674,561,'457102002','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(675,562,'456476082','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(676,562,'455356034','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(677,562,'455209682','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(678,562,'456419186','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(679,562,'455328594','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(680,563,'457393746','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(681,563,'457005954','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(682,563,'457160370','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(683,563,'454999330','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(684,563,'455004450','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(685,564,'456739922','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(686,564,'451352434','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(687,564,'452240930','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(688,564,'456897202','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(689,564,'456586402','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(690,565,'456770450','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(691,565,'456753826','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(692,565,'454820434','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(693,565,'457128866','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(694,565,'456405602','',0,'2022-07-15 11:43:52','2022-07-15 11:43:52'),(695,566,'456660706','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(696,566,'456446034','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(697,566,'456563346','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(698,566,'452042898','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(699,566,'456823010','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(700,567,'456868258','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(701,567,'451725522','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(702,567,'451515906','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(703,567,'455121602','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(704,567,'456655938','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(705,568,'456631858','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(706,568,'455209490','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(707,568,'451357490','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(708,568,'456965762','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(709,568,'451633202','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(710,569,'457299218','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(711,569,'451655746','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(712,569,'451744175','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(713,569,'457142850','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(714,569,'451767266','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(715,570,'452244418','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(716,570,'451421522','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(717,570,'455027042','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(718,570,'457187410','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(719,570,'457295650','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(720,571,'451933010','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(721,571,'451414290','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(722,571,'457215522','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(723,571,'457174754','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(724,571,'456689458','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(725,572,'456461250','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(726,572,'456684450','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(727,572,'457031106','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(728,572,'454905842','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(729,572,'452037378','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(734,573,'452032994','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(740,575,'455176562','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(741,575,'456803250','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(742,575,'455130962','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(743,575,'454625874','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(744,575,'451810098','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(745,576,'457266626','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(746,576,'454824962','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(747,576,'455202642','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(748,576,'456817298','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(749,576,'452162082','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(754,577,'456804450','',0,'2022-07-15 11:43:53','2022-07-15 11:43:53'),(755,578,'457268738','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(756,578,'457102338','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(757,578,'456878898','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(758,578,'456993554','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(759,578,'451619490','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(760,579,'456903954','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(761,579,'456804434','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(762,579,'457166098','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(763,579,'456956338','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(764,579,'457084722','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(765,580,'454833474','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(766,580,'456851314','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(767,580,'455298802','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(768,580,'454387298','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(769,580,'454364354','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(770,581,'451539906','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(771,581,'452154770','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(772,581,'454617730','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(773,581,'456407954','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(774,581,'456489810','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(775,582,'451651170','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(776,582,'454891298','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(777,582,'451463330','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(778,582,'456497202','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(779,582,'454667314','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(780,583,'451956786','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(781,583,'457116994','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(782,583,'456770530','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(783,583,'456631234','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(784,583,'455253458','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(785,584,'452230242','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(786,584,'457061090','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(787,584,'451762962','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(788,584,'454448290','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(789,584,'456464210','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(790,585,'454944114','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(791,585,'451711714','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(792,585,'451834130','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(793,585,'451342162','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(794,585,'454867746','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(795,586,'454503826','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(796,586,'456696658','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(797,586,'455339330','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(798,586,'456893474','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(799,586,'451674226','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(800,587,'451720370','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(801,587,'456660834','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(802,587,'457269122','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(803,587,'457320178','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(804,587,'457378482','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(805,588,'452051890','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(806,588,'457287554','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(807,588,'451996914','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(808,588,'451716226','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(809,588,'451670162','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(810,589,'454613554','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(811,589,'451843922','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(812,589,'452091906','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(813,589,'452288706','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(814,589,'451683970','',0,'2022-07-15 11:43:54','2022-07-15 11:43:54'),(815,590,'454540338','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(816,590,'457354306','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(817,590,'457103490','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(818,590,'454613762','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(819,590,'451923522','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(820,591,'454759090','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(821,591,'451933282','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(822,591,'451354754','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(823,591,'454432674','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(825,592,'451679506','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(826,592,'451596514','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(827,592,'457092418','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(828,592,'457133474','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(829,592,'452275442','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(830,593,'451583122','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(831,593,'457247282','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(832,593,'451702658','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(833,593,'451390722','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(834,593,'455044994','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(835,594,'456903810','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(836,594,'457148306','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(837,594,'451735090','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(838,594,'451440562','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(839,594,'451459442','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(840,595,'456677890','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(841,595,'451400802','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(842,595,'452086962','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(843,595,'456632050','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(844,595,'451459378','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(845,596,'454417698','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(846,596,'457333154','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(847,596,'456800258','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(848,596,'456623858','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(849,596,'451565746','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(850,597,'457115490','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(851,597,'452283170','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(852,597,'451394802','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(853,597,'452291202','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(854,597,'454492514','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(855,598,'451451554','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(856,598,'456903074','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(857,598,'451852898','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(858,598,'452266034','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(859,598,'452086578','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(860,599,'451561330','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(861,599,'456947154','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(862,599,'457099042','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(863,599,'451974402','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(864,599,'456951458','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(865,600,'452272418','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(866,600,'456833090','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(867,600,'451752962','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(868,600,'457195426','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(869,600,'452165538','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(870,601,'452241202','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(871,601,'457243314','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(872,601,'455188050','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(873,601,'451326370','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(874,601,'455281778','',0,'2022-07-15 11:43:55','2022-07-15 11:43:55'),(875,602,'457237010','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(876,602,'457370530','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(877,602,'456920866','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(878,602,'456416786','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(879,602,'456530050','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(885,604,'451819106','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(886,604,'457269042','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(887,604,'457306594','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(888,604,'454563602','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(889,604,'456724242','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(895,606,'452250306','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(896,606,'452280482','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(897,606,'452103522','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(898,606,'456879714','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(899,606,'452272066','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(900,607,'456657762','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(901,607,'456440034','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(902,607,'454925186','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(903,607,'454389746','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(904,607,'454640034','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(905,608,'451495874','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(906,608,'456594178','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(907,608,'454592514','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(908,608,'457170674','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(909,608,'454511282','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(910,609,'457092210','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(911,609,'451548770','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(912,609,'457367570','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(913,609,'457102242','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(914,609,'456586114','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(915,610,'456738530','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(916,610,'451433042','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(917,610,'454384978','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(918,610,'456673378','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(919,610,'451504098','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(920,611,'451433458','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(921,611,'451394034','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(922,611,'452078754','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(923,611,'457203554','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(924,611,'456396194','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(925,612,'457048146','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(926,612,'454417394','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(927,612,'456984322','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(928,612,'451646722','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(929,612,'451647202','',0,'2022-07-15 11:43:56','2022-07-15 11:43:56'),(932,626,'3834647346','',0,'2022-07-21 16:08:18','2022-07-21 16:08:18'),(934,623,'4119776722','',0,'2022-07-22 10:42:47','2022-07-22 10:42:47'),(935,622,'3834980322','',0,'2022-07-22 11:08:18','2022-07-22 11:08:18'),(936,627,'1415663510','',0,'2022-07-22 14:37:25','2022-07-22 14:37:25'),(937,628,'1415539174','',0,'2022-07-22 17:17:54','2022-07-22 17:17:54'),(938,574,'0456472946','',0,'2022-07-25 14:47:35','2022-07-25 14:47:35'),(939,530,'0456908578','',0,'2022-07-26 17:02:09','2022-07-26 17:02:09'),(940,34,'4122649970','',0,'2022-07-26 17:24:19','2022-07-26 17:24:19'),(941,621,'4132521490','',0,'2022-07-28 15:30:41','2022-07-28 15:30:41'),(942,567,'0456655938','',0,'2022-08-01 12:00:54','2022-08-01 12:00:54'),(943,552,'0451716498','',0,'2022-08-01 12:09:52','2022-08-01 12:09:52'),(944,538,'0451440994','',0,'2022-08-01 12:11:32','2022-08-01 12:11:32'),(945,603,'0457225762','',0,'2022-08-05 15:29:03','2022-08-05 15:29:03'),(946,603,'0451670530','',0,'2022-08-05 15:29:13','2022-08-05 15:29:13'),(947,603,'0454439122','',0,'2022-08-05 15:29:17','2022-08-05 15:29:17'),(948,603,'0455288834','',0,'2022-08-05 15:29:22','2022-08-05 15:29:22'),(949,603,'0454662514','',0,'2022-08-05 15:29:26','2022-08-05 15:29:26'),(950,632,'0456818610','',0,'2022-08-16 16:22:35','2022-08-16 16:22:35'),(951,524,'0455257378','',0,'2022-08-18 10:31:11','2022-08-18 10:31:11'),(956,529,'0451466642','',0,'2022-08-18 11:02:07','2022-08-18 11:02:07'),(957,529,'0454867474','',0,'2022-08-18 11:02:14','2022-08-18 11:02:14'),(958,529,'0454867538','',0,'2022-08-18 11:02:23','2022-08-18 11:02:23'),(959,529,'0452046722','',0,'2022-08-18 11:02:34','2022-08-18 11:02:34'),(960,529,'0456533970','',0,'2022-08-18 11:02:40','2022-08-18 11:02:40'),(961,629,'1415752166','',0,'2022-08-23 13:58:02','2022-08-23 13:58:02'),(964,635,'218-11-1-2','',0,'2022-08-26 08:13:54','2022-08-26 08:13:54'),(965,33,'2123123123213123123','',0,'2022-08-30 18:13:54','2022-08-30 18:13:54'),(966,33,'13123213213123213','',0,'2022-08-30 18:13:56','2022-08-30 18:13:56'),(967,605,'0454815666','',0,'2022-09-01 10:56:36','2022-09-01 10:56:36'),(968,605,'0457049266','',0,'2022-09-01 10:56:42','2022-09-01 10:56:42'),(969,605,'0457170770','',0,'2022-09-01 10:56:47','2022-09-01 10:56:47'),(970,605,'0456987874','',0,'2022-09-01 10:56:51','2022-09-01 10:56:51'),(971,605,'0454842898','',0,'2022-09-01 10:56:58','2022-09-01 10:56:58'),(981,591,'0451544754','',0,'2022-09-08 10:36:32','2022-09-08 10:36:32'),(982,636,'3657032384','',0,'2022-09-12 14:00:57','2022-09-12 14:00:57'),(984,637,'0454392818','',0,'2022-09-13 14:11:56','2022-09-13 14:11:56'),(985,638,'0457272322','',0,'2022-09-13 14:40:20','2022-09-13 14:40:20'),(986,639,'0451762466','',0,'2022-09-13 14:41:03','2022-09-13 14:41:03'),(987,640,'0456912754','',0,'2022-09-13 14:49:14','2022-09-13 14:49:14'),(988,641,'0452147170','',0,'2022-09-13 14:52:12','2022-09-13 14:52:12'),(989,642,'0451800018','',0,'2022-09-13 14:54:06','2022-09-13 14:54:06'),(990,643,'0454847842','',0,'2022-09-13 15:09:15','2022-09-13 15:09:15'),(991,644,'0451473618','',0,'2022-09-13 15:11:35','2022-09-13 15:11:35'),(992,645,'0454423186','',0,'2022-09-13 15:14:38','2022-09-13 15:14:38'),(993,646,'0452205362','',0,'2022-09-13 15:18:01','2022-09-13 15:18:01'),(997,650,'0451484818','',0,'2022-09-16 13:38:46','2022-09-16 13:38:46'),(998,651,'0451623330','',0,'2022-09-19 10:00:32','2022-09-19 10:00:32'),(999,652,'0454759090','',0,'2022-09-20 15:59:20','2022-09-20 15:59:20'),(1000,653,'0454948338','',0,'2022-09-21 07:10:26','2022-09-21 07:10:26'),(1001,654,'0457354434','',0,'2022-09-21 07:30:43','2022-09-21 07:30:43'),(1002,655,'0451933282','',0,'2022-09-22 06:05:12','2022-09-22 06:05:12'),(1003,656,'0456424050','',0,'2022-09-22 07:57:17','2022-09-22 07:57:17'),(1004,658,'0451394530','',0,'2022-09-23 02:29:25','2022-09-23 02:29:25'),(1005,659,'0454994946','',0,'2022-09-23 05:07:01','2022-09-23 05:07:01'),(1006,660,'0456916242','',0,'2022-09-26 03:28:41','2022-09-26 03:28:41'),(1007,578,'0451619490','',0,'2022-09-26 05:18:44','2022-09-26 05:18:44'),(1008,592,'0452275442','',0,'2022-09-26 05:19:22','2022-09-26 05:19:22'),(1010,661,'0452306082','',0,'2022-09-28 02:06:03','2022-09-28 02:06:03'),(1011,662,'0455167906','',0,'2022-09-30 05:19:36','2022-09-30 05:19:36'),(1012,636,'0454366066','',0,'2022-09-30 06:38:14','2022-09-30 06:38:14'),(1015,37,'0455049346','',0,'2022-10-03 03:07:09','2022-10-03 03:07:09'),(1016,664,'0456978370','',0,'2022-10-03 05:53:54','2022-10-03 05:53:54'),(1017,665,'0456463922','',0,'2022-10-03 08:08:29','2022-10-03 08:08:29'),(1018,573,'0452032994','',0,'2022-10-06 02:50:44','2022-10-06 02:50:44'),(1019,669,'0456698498','',0,'2022-10-07 04:40:42','2022-10-07 04:40:42'),(1020,670,'0455353506','',0,'2022-10-07 07:19:27','2022-10-07 07:19:27'),(1021,671,'0456689282','',0,'2022-10-11 04:56:01','2022-10-11 04:56:01'),(1022,672,'0451360530','',0,'2022-10-11 06:13:13','2022-10-11 06:13:13'),(1023,674,'0456798306','',0,'2022-10-13 02:13:08','2022-10-13 02:13:08'),(1024,599,'0454448290','',0,'2022-10-13 07:29:53','2022-10-13 07:29:53'),(1025,599,'0456947154','',0,'2022-10-13 07:30:02','2022-10-13 07:30:02'),(1026,599,'0457099042','',0,'2022-10-13 07:30:06','2022-10-13 07:30:06'),(1027,599,'0451974402','',0,'2022-10-13 07:30:10','2022-10-13 07:30:10'),(1028,599,'0456951458','',0,'2022-10-13 07:30:15','2022-10-13 07:30:15'),(1029,599,'0456464210','',0,'2022-10-13 07:36:12','2022-10-13 07:36:12'),(1030,599,'0451762962','',0,'2022-10-13 07:36:34','2022-10-13 07:36:34'),(1031,599,'0457061090','',0,'2022-10-13 07:36:43','2022-10-13 07:36:43'),(1032,599,'0452230242','',0,'2022-10-13 07:36:49','2022-10-13 07:36:49'),(1033,599,'0451561330','',0,'2022-10-13 07:38:23','2022-10-13 07:38:23'),(1035,676,'0456877234','',0,'2022-10-14 04:34:41','2022-10-14 04:34:41'),(1036,678,'0452087282','',0,'2022-10-17 04:17:41','2022-10-17 04:17:41'),(1037,679,'0454503442','',0,'2022-10-17 04:30:16','2022-10-17 04:30:16'),(1038,35,'0456651458','',0,'2022-10-17 08:37:45','2022-10-17 08:37:45'),(1039,680,'0457040530','',0,'2022-10-19 05:20:58','2022-10-19 05:20:58'),(1040,681,'0451697826','',0,'2022-10-20 07:02:11','2022-10-20 07:02:11'),(1041,636,'0693304978','',0,'0000-00-00 00:00:00','0000-00-00 00:00:00'),(1042,636,'5580158048','',0,'2022-10-27 08:31:02','2022-10-27 08:31:02');

--
-- Table structure for table `category`
--

CREATE TABLE `category` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `no` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `function` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `age_limit` int NOT NULL,
  `name` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `gid` int NOT NULL,
  `budget_amount` int NOT NULL COMMENT '預算',
  `budget_year` int NOT NULL COMMENT '年度',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `prefix` varchar(10) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `category_gid_index` (`gid`),
  KEY `category_no_index` (`no`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `category`
--

INSERT INTO `category` VALUES (1,'123','asset',23,'123',1,0,0,'2022-05-26 17:04:54','2022-05-26 17:04:54','1231'),(2,'123123','storage',0,'123123',0,0,0,'2022-05-26 17:07:19','2022-05-26 17:07:19',NULL);

--
-- Table structure for table `central_weather_logs`
--

CREATE TABLE `central_weather_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `datetime` datetime NOT NULL COMMENT '日期時間',
  `county` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '地區',
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料類型',
  `value` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料值',
  `count` int NOT NULL COMMENT '查詢計數',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `central_weather_logs`
--


--
-- Table structure for table `central_weather_settings`
--

CREATE TABLE `central_weather_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設定名稱',
  `code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設定代碼',
  `value` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設定值',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `central_weather_settings`
--

INSERT INTO `central_weather_settings` VALUES (1,'會員授權碼','key','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(2,'端口','role','客戶端','2022-05-26 13:48:42','0000-00-00 00:00:00');

--
-- Table structure for table `charge_equipments`
--

CREATE TABLE `charge_equipments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '財產編號',
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱',
  `custodian_id` int NOT NULL COMMENT '保管人ID',
  `purchase` date NOT NULL COMMENT '取得日期',
  `costs` int NOT NULL COMMENT '成本',
  `age_limit` int NOT NULL COMMENT '年限',
  `placement` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '放置位置',
  `specification` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '規格',
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備照片',
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charge_equipments`
--


--
-- Table structure for table `charge_orders`
--

CREATE TABLE `charge_orders` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `charge_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '充電樁ID',
  `user_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '預約者ID',
  `select_date` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '選擇日期',
  `select_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '選擇時段',
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charge_orders`
--


--
-- Table structure for table `charge_setting_factories`
--

CREATE TABLE `charge_setting_factories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `factory_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '廠商名稱',
  `factory_code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '廠商代號',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charge_setting_factories`
--


--
-- Table structure for table `charge_settings`
--

CREATE TABLE `charge_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `charge_setting_factories_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '廠商外部鍵',
  `url` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'API_URL',
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charge_settings`
--


--
-- Table structure for table `charge_times`
--

CREATE TABLE `charge_times` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '充電樁名稱',
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '封面照片',
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '狀態',
  `point_use` int NOT NULL COMMENT '所需點數',
  `point_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '扣點類型',
  `rule` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '條款',
  `info` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '描述',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charge_times`
--


--
-- Table structure for table `charges`
--

CREATE TABLE `charges` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '充電樁名稱',
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '封面照片',
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '狀態',
  `point_use` int NOT NULL COMMENT '所需點數',
  `point_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '扣點類型',
  `orders_pre_days` int NOT NULL COMMENT '提前預約天數',
  `orders_one_day_flag` int NOT NULL COMMENT '預約單每日上限',
  `orders_one_day` int NOT NULL COMMENT '預約單每日限制數',
  `persons_one_day_flag` int NOT NULL COMMENT '每日使用人數上限',
  `persons_one_day` int NOT NULL COMMENT '每日使用人數限制數',
  `orders_one_user_one_day_flag` int NOT NULL COMMENT '每個用戶每日預約上限',
  `orders_one_user_one_day` int NOT NULL COMMENT '每個用戶每日預約上限限制數',
  `orders_by_today_flag` int NOT NULL COMMENT '是否限制當日不可預約',
  `time_section` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '營業時間',
  `each_section` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設定時段',
  `rule` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '條款',
  `info` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '描述',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `charges`
--


--
-- Table structure for table `chicony_park_log`
--

CREATE TABLE `chicony_park_log` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `parking_number` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '車牌',
  `user_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '預約者',
  `guest_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '訪客',
  `start_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '開始時間',
  `end_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '結束時間',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `chicony_park_log`
--


--
-- Table structure for table `chicony_settings`
--

CREATE TABLE `chicony_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '名稱',
  `url` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '路徑',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `chicony_settings`
--

INSERT INTO `chicony_settings` VALUES (1,'設備異動','http://114.34.6.84/API/Device','2022-05-26 13:48:42','0000-00-00 00:00:00'),(2,'設備處份','http://114.34.6.84/API/DeviceX','2022-05-26 13:48:42','0000-00-00 00:00:00'),(3,'報修與回應','http://114.34.6.84/api/AlertEvent','2022-05-26 13:48:42','0000-00-00 00:00:00'),(4,'派工清單','http://114.34.6.84/api/TaskList','2022-05-26 13:48:42','0000-00-00 00:00:00'),(5,'維修紀錄','http://114.34.6.84/api/RepairRecord','2022-05-26 13:48:42','0000-00-00 00:00:00'),(6,'保養週期','http://114.34.6.84/api/Cycle','2022-05-26 13:48:42','0000-00-00 00:00:00'),(7,'排程清單','http://114.34.6.84/api/ScheduleList','2022-05-26 13:48:42','0000-00-00 00:00:00'),(8,'定保紀錄','http://114.34.6.84/api/MaintainRecord','2022-05-26 13:48:42','0000-00-00 00:00:00'),(9,'耗材類別異動','http://114.34.6.84/api/Consumables','2022-05-26 13:48:42','0000-00-00 00:00:00'),(10,'耗材存取','http://114.34.6.84/api/ConsumablesRecord','2022-05-26 13:48:42','0000-00-00 00:00:00'),(11,'管理員異動','http://114.34.6.84/api/Administrator','2022-05-26 13:48:42','0000-00-00 00:00:00'),(12,'廠商異動','http://114.34.6.84/api/Supplier','2022-05-26 13:48:42','0000-00-00 00:00:00'),(13,'承租戶異動','http://114.34.6.84/api/Tenant','2022-05-26 13:48:42','0000-00-00 00:00:00'),(14,'建物建立資產(帶電)','http://61.221.12.88:48203/setting/BuildingInformationModelings/api-check-device','2022-05-26 13:48:42','0000-00-00 00:00:00'),(15,'建物建立資產(不帶電)','http://61.221.12.88:48203/setting/BuildingInformationModelings/api-add-device ','2022-05-26 13:48:42','0000-00-00 00:00:00');

--
-- Table structure for table `communities`
--

CREATE TABLE `communities` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `fullname` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `name_en` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `fullname_en` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `cmc_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `cmc_name_en` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `tel` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `fax` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `city` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `district` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `address_en` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `web_url` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `company_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_id` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_license` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_business_class` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_industry_class` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_build_time` date DEFAULT NULL,
  `company_charge` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_capital_registe` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `company_capital_paid` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `builder_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `build_time` date DEFAULT NULL,
  `property_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `security_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `lot_no` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `door_no` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `base_area` double DEFAULT NULL,
  `building_area` double DEFAULT NULL,
  `built_type` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `floor_ground` int DEFAULT NULL,
  `floor_under` int DEFAULT NULL,
  `floor_area` double DEFAULT NULL,
  `ownership_unit` int DEFAULT NULL,
  `public_list` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `public_num` int DEFAULT NULL,
  `public_rate` double DEFAULT NULL,
  `parking_car` int DEFAULT NULL,
  `parking_car_m` int DEFAULT NULL,
  `parking_moto` int DEFAULT NULL,
  `img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `communities`
--

INSERT INTO `communities` VALUES (1,'寰宇1號','寰宇1號','wu1n','huanyu 1 hao','寰宇1號','huanyu 1 hao','02-2314-1234','02-2311-4321','新北市','新莊區','新北市新莊區新北大道三段210~222號','No 123, Ren\'ai Rd., Da\'an Dist., Taipei City, Taiwan (R.O.C.)',NULL,'huanyuyihao@gmail.com','台北市','悦萊建設股份有限公司','02-2356-7705','54306627','TP01231576','營造','營造','2015-11-01','翁茂槐','1000000','1000000','悦萊建設股份有限公司','2022-03-23','伯克錸物業管理股份有限公司','伯克錸保全','新北市新莊區新知段90地號','新北市新莊區福基里12鄰新北大道三段222號',4308.22,1505.28,'SRC造',18,4,33915.95,90,'咖啡廳、健身房、瑜珈教室、會議室、多功能發表室',10,38.5,263,0,213,'','2022-05-26 13:47:41','2022-07-07 11:29:15');

--
-- Table structure for table `community_images`
--

CREATE TABLE `community_images` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `image_1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image_5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `community_images`
--

INSERT INTO `community_images` VALUES (1,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(2,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(3,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(4,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(5,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00'),(6,'','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00');

--
-- Table structure for table `community_settings`
--

CREATE TABLE `community_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `building_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `villa_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `case_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `newcase_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `official_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `facebook_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `life_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `food_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `hotel_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `alliance_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `news_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `house_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `line_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `project_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `teaching_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `management_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `activity_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `charitable_link` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `youtube_link_list` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `ad_image_link_list` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `community_settings`
--

INSERT INTO `community_settings` VALUES (1,'','','','','','','','','','','','','','','','','','','','','2022-05-26 13:48:42','0000-00-00 00:00:00');

--
-- Table structure for table `convinients`
--

CREATE TABLE `convinients` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `link` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb3_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `convinients`
--

INSERT INTO `convinients` VALUES (1,'統一發票','assets/images/1_11.png','https://www.einvoice.nat.gov.tw/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(2,'台灣彩券','assets/images/1_11-14.png','http://www.taiwanlottery.com.tw/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(3,'台灣郵局','assets/images/1_11-18.png','http://www.post.gov.tw/post/index.jsp','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(4,'農(萬)民曆','assets/images/1_11-19.png','http://time.rootinfo.com.tw/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(5,'氣象資訊','assets/images/1_11-22.png','http://www.cwb.gov.tw/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(6,'高鐵資訊','assets/images/1_11-23.png','http://www.thsrc.com.tw/index.html?force=1','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(7,'電影資訊','assets/images/1_11-26.png','http://tw.movie.yahoo.com/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(8,'股票資訊','assets/images/1_11-27.png','http://tw.stock.yahoo.com/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(9,'十二星座','assets/images/1_11-30.png','http://yahoo.click108.com.tw/','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL),(10,'影音blog','assets/images/1_11-31.png','http://www.youtube.com/?gl=TW&amp;hl=zh-TW','2016-06-08 11:46:50','2016-06-08 11:46:50','',NULL);

--
-- Table structure for table `costs`
--

CREATE TABLE `costs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `doorplate_id` int NOT NULL COMMENT '門牌代號',
  `user_id` int NOT NULL COMMENT '使用者代號',
  `ym` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '年月',
  `fee_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '費用類別',
  `payment` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '是否繳費',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `amount` int NOT NULL COMMENT '金額',
  `payment_date` date NOT NULL COMMENT '繳費日期',
  `void_date` date NOT NULL COMMENT '作廢日期',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `costs`
--

INSERT INTO `costs` VALUES (1,501,573,'202210','moto_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1200,'0000-00-00','0000-00-00'),(2,503,575,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',13650,'0000-00-00','0000-00-00'),(3,503,575,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1500,'0000-00-00','0000-00-00'),(4,504,576,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',13650,'0000-00-00','0000-00-00'),(5,504,576,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1500,'0000-00-00','0000-00-00'),(6,512,584,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9791,'0000-00-00','0000-00-00'),(7,512,584,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(8,517,589,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9791,'0000-00-00','0000-00-00'),(9,517,589,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(10,518,590,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9791,'0000-00-00','0000-00-00'),(11,518,590,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(12,527,599,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9780,'0000-00-00','0000-00-00'),(13,527,599,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(14,532,604,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9780,'0000-00-00','0000-00-00'),(15,532,604,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(16,533,605,'202210','manage','0','2022-10-25 04:03:40','2022-10-25 04:03:40',9780,'0000-00-00','0000-00-00'),(17,533,605,'202210','car_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',1000,'0000-00-00','0000-00-00'),(18,533,605,'202210','moto_clean','0','2022-10-25 04:03:40','2022-10-25 04:03:40',10800,'0000-00-00','0000-00-00');

--
-- Table structure for table `cron_tabs`
--

CREATE TABLE `cron_tabs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `data_id` int NOT NULL,
  `level` int NOT NULL,
  `status` int NOT NULL,
  `run_time` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `cron_tabs`
--

INSERT INTO `cron_tabs` VALUES (1,'fault_reports',1,1,0,'2022-06-10 16:13:13','2022-06-10 15:43:13','2022-06-10 15:43:13'),(2,'fault_report_outsides',1,1,2,'2022-06-10 16:39:13','2022-06-10 16:09:13','2022-07-25 19:10:14'),(3,'fault_report_outsides',2,1,0,'2022-08-25 18:10:27','2022-08-25 17:40:27','2022-08-25 17:40:27'),(4,'fault_report_outsides',3,1,0,'2022-08-25 18:10:35','2022-08-25 17:40:35','2022-08-25 17:40:35'),(5,'fault_report_outsides',4,1,0,'2022-08-25 18:10:51','2022-08-25 17:40:51','2022-08-25 17:40:51'),(6,'fault_report_outsides',5,1,0,'2022-08-25 18:10:58','2022-08-25 17:40:58','2022-08-25 17:40:58');

--
-- Table structure for table `data_bas`
--

CREATE TABLE `data_bas` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sender` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `json` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `ip` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `file` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `data_bas`
--


--
-- Table structure for table `data_weemas`
--

CREATE TABLE `data_weemas` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `ip` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `data_weemas`
--


--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `principal` int NOT NULL,
  `project` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `no` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `departments_principal_index` (`principal`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `departments`
--

INSERT INTO `departments` VALUES (2,'管理中心',22,'','2022-10-03 02:56:47','2022-10-03 02:56:47','001');

--
-- Table structure for table `device_contrasts`
--

CREATE TABLE `device_contrasts` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `device` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_contrasts`
--


--
-- Table structure for table `device_event`
--

CREATE TABLE `device_event` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `event_name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `event_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sort` int NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_event_event_code_index` (`event_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_event`
--


--
-- Table structure for table `device_format`
--

CREATE TABLE `device_format` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `card_no` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `event_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_format_card_no_index` (`card_no`),
  KEY `device_format_event_code_index` (`event_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_format`
--


--
-- Table structure for table `device_items`
--

CREATE TABLE `device_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `route_id` int NOT NULL,
  `device_time` time NOT NULL,
  `location_id` int NOT NULL,
  `duty` int NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_items`
--


--
-- Table structure for table `device_location`
--

CREATE TABLE `device_location` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `location` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `location_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sort` int NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_location_location_code_index` (`location_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_location`
--


--
-- Table structure for table `device_log`
--

CREATE TABLE `device_log` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `device_time` datetime NOT NULL,
  `location_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `event_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `user_card_no` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `remark` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `error` tinyint NOT NULL,
  `status` int NOT NULL,
  `item_id` int NOT NULL,
  `route_id` int NOT NULL,
  `right_time` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_log_location_code_index` (`location_code`),
  KEY `device_log_event_code_index` (`event_code`),
  KEY `device_log_user_card_no_index` (`user_card_no`),
  KEY `device_log_item_id_index` (`item_id`),
  KEY `device_log_route_id_index` (`route_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_log`
--


--
-- Table structure for table `device_off_log`
--

CREATE TABLE `device_off_log` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `route_id` int NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `remark` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL,
  `off_time` datetime NOT NULL,
  `item_id` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_off_log_route_id_index` (`route_id`),
  KEY `device_off_log_item_id_index` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_off_log`
--


--
-- Table structure for table `device_records`
--

CREATE TABLE `device_records` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `value` double NOT NULL COMMENT '數值',
  `power` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '發電量',
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '類別',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_records`
--


--
-- Table structure for table `device_route`
--

CREATE TABLE `device_route` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `item` int NOT NULL,
  `route_name` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `title` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `sat_inc` varchar(1) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sun_inc` varchar(1) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `line_id` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `device_route_line_id_index` (`line_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `device_route`
--


--
-- Table structure for table `disposal_item`
--

CREATE TABLE `disposal_item` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `function` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `item` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `scrapped` int DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `disposal_item`
--

INSERT INTO `disposal_item` VALUES (1,'asset','123','2022-05-26 17:04:30','2022-05-26 17:04:30',1);

--
-- Table structure for table `document_files`
--

CREATE TABLE `document_files` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `document_id` int unsigned NOT NULL,
  `file` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `document_files`
--

INSERT INTO `document_files` VALUES (1,6,'http://61.222.168.207:8080/wu1n/file/1655867099-LBYZ7.pdf','佈線維運計畫.pdf','2022-06-22 11:04:59','2022-06-22 11:04:59'),(2,6,'http://61.222.168.207:8080/wu1n/file/1655867099-ddtOh.pdf','佈線檢測計畫說明.pdf','2022-06-22 11:04:59','2022-06-22 11:04:59'),(3,3,'http://61.222.168.207:8080/wu1n/file/1655884525-4w9sl.pdf','L-19663通訊協定.pdf','2022-06-22 15:55:25','2022-06-22 15:55:25'),(4,3,'http://61.222.168.207:8080/wu1n/file/1655884525-KO755.pdf','01.BACnet-Instance Number-新20211221.pdf','2022-06-22 15:55:25','2022-06-22 15:55:25'),(5,3,'http://61.222.168.207:8080/wu1n/file/1655884525-1pDel.pdf','02.BACnet-Instance Number-新20211221.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(6,3,'http://61.222.168.207:8080/wu1n/file/1655884526-yzvhT.pdf','程業-連動表.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(7,3,'http://61.222.168.207:8080/wu1n/file/1655884526-3QytV.pdf','寰宇1號-二線式編碼表20220620.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(8,3,'http://61.222.168.207:8080/wu1n/file/1655884526-NDgqy.pdf','03.BACnet-Instance Number-新20211221.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(9,3,'http://61.222.168.207:8080/wu1n/file/1655884526-DSnJU.pdf','04.BACnet-Instance Number-新20211221.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(10,3,'http://61.222.168.207:8080/wu1n/file/1655884526-E28UD.pdf','程業-編碼表.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(11,3,'http://61.222.168.207:8080/wu1n/file/1655884526-a3T1r.pdf','DSE7310-MKII-DSE7320-MKII-GencommConfiguration-A3案.pdf','2022-06-22 15:55:26','2022-06-22 15:55:26'),(12,5,'http://61.222.168.207:8080/wu1n/file/1655884763-Ml2uO.pdf','笙陽-寰宇一號-空調系統自主檢查表1110620.pdf','2022-06-22 15:59:23','2022-06-22 15:59:23'),(13,5,'http://61.222.168.207:8080/wu1n/file/1655884763-hHNN0.pdf','笙陽-寰宇一號-自主檢查表(竣工)1110620.pdf','2022-06-22 15:59:23','2022-06-22 15:59:23'),(14,5,'http://61.222.168.207:8080/wu1n/file/1655884764-lo1Fs.pdf','電信測報.pdf','2022-06-22 15:59:24','2022-06-22 15:59:24'),(16,1,'http://61.222.168.207:8080/wu1n/file/1655886704-Zs0vu.pdf','天花板平面圖.pdf','2022-06-22 16:31:44','2022-06-22 16:31:44'),(17,1,'http://61.222.168.207:8080/wu1n/file/1655886705-W7yYc.pdf','通風排氣圖說.pdf','2022-06-22 16:31:45','2022-06-22 16:31:45'),(18,1,'http://61.222.168.207:8080/wu1n/file/1655886706-FKXqn.pdf','空調圖說.pdf','2022-06-22 16:31:46','2022-06-22 16:31:46'),(19,1,'http://61.222.168.207:8080/wu1n/file/1655886709-C9eTC.pdf','照明圖說.pdf','2022-06-22 16:31:49','2022-06-22 16:31:49'),(20,1,'http://61.222.168.207:8080/wu1n/file/1655886711-63DHc.pdf','電梯圖說.pdf','2022-06-22 16:31:51','2022-06-22 16:31:51'),(21,1,'http://61.222.168.207:8080/wu1n/file/1655886712-gtESi.pdf','電氣圖說.pdf','2022-06-22 16:31:52','2022-06-22 16:31:52'),(22,1,'http://61.222.168.207:8080/wu1n/file/1655886712-fDVPa.pdf','電信圖說.pdf','2022-06-22 16:31:52','2022-06-22 16:31:52'),(23,1,'http://61.222.168.207:8080/wu1n/file/1655886714-Yfd2I.pdf','電氣圖說02.pdf','2022-06-22 16:31:54','2022-06-22 16:31:54'),(24,1,'http://61.222.168.207:8080/wu1n/file/1655887056-nO14r.pdf','監控圖說02.pdf','2022-06-22 16:37:36','2022-06-22 16:37:36'),(25,1,'http://61.222.168.207:8080/wu1n/file/1655887057-5kPUR.pdf','監控圖說03.pdf','2022-06-22 16:37:37','2022-06-22 16:37:37'),(26,1,'http://61.222.168.207:8080/wu1n/file/1655887057-y6Tpw.pdf','監控圖說01.pdf','2022-06-22 16:37:37','2022-06-22 16:37:37'),(27,1,'http://61.222.168.207:8080/wu1n/file/1655887139-Bk3wa.pdf','電氣圖說02.pdf','2022-06-22 16:38:59','2022-06-22 16:38:59'),(28,1,'http://61.222.168.207:8080/wu1n/file/1655887139-gZzYY.pdf','電氣圖說03.pdf','2022-06-22 16:38:59','2022-06-22 16:38:59'),(29,1,'http://61.222.168.207:8080/wu1n/file/1655887228-ZxKVG.pdf','給排水圖說01.pdf','2022-06-22 16:40:28','2022-06-22 16:40:28'),(30,1,'http://61.222.168.207:8080/wu1n/file/1655887228-vxgGc.pdf','給排水圖說02.pdf','2022-06-22 16:40:28','2022-06-22 16:40:28'),(31,1,'http://61.222.168.207:8080/wu1n/file/1655887313-NSBI8.pdf','消防圖說02.pdf','2022-06-22 16:41:53','2022-06-22 16:41:53'),(32,1,'http://61.222.168.207:8080/wu1n/file/1655887314-ZdFOf.pdf','消防圖說03.pdf','2022-06-22 16:41:54','2022-06-22 16:41:54'),(33,1,'http://61.222.168.207:8080/wu1n/file/1655887314-2mtOo.pdf','消防圖說01.pdf','2022-06-22 16:41:54','2022-06-22 16:41:54'),(34,1,'http://61.222.168.207:8080/wu1n/file/1655887314-qTKaG.pdf','消防圖說04.pdf','2022-06-22 16:41:54','2022-06-22 16:41:54'),(35,1,'http://61.222.168.207:8080/wu1n/file/1655887555-Ob968.pdf','使照圖說01.pdf','2022-06-22 16:45:55','2022-06-22 16:45:55'),(36,1,'http://61.222.168.207:8080/wu1n/file/1655887556-bL6Oh.pdf','使照圖說03.pdf','2022-06-22 16:45:56','2022-06-22 16:45:56'),(37,1,'http://61.222.168.207:8080/wu1n/file/1655887557-GRTkm.pdf','使照圖說02.pdf','2022-06-22 16:45:57','2022-06-22 16:45:57'),(38,1,'http://61.222.168.207:8080/wu1n/file/1655887561-ohFaF.pdf','使照圖說04.pdf','2022-06-22 16:46:01','2022-06-22 16:46:01'),(39,2,'http://61.222.168.207:8080/wu1n/file/1656060505-151gx.pdf','寰宇一號-住戶對講話機及門禁卡操作說明1110622.pdf','2022-06-24 16:48:25','2022-06-24 16:48:25'),(40,2,'http://61.222.168.207:8080/wu1n/file/1656060505-vUkrL.pdf','明和燈具設定指南-汽車位與機車位.pdf','2022-06-24 16:48:25','2022-06-24 16:48:25'),(41,2,'http://61.222.168.207:8080/wu1n/file/1656060505-8jFtw.pdf','消防總機操作手冊.pdf','2022-06-24 16:48:25','2022-06-24 16:48:25'),(42,2,'http://61.222.168.207:8080/wu1n/file/1656060506-RlGyH.pdf','中悅寰宇一號變頻冷氣操作手冊,新款空調全熱面板1110623.pdf','2022-06-24 16:48:26','2022-06-24 16:48:26'),(43,2,'http://61.222.168.207:8080/wu1n/file/1656060506-X05EW.pdf','中悅寰宇一號變頻冷氣操作手冊,舊款空調全熱面板1110623.pdf','2022-06-24 16:48:26','2022-06-24 16:48:26'),(44,2,'http://61.222.168.207:8080/wu1n/file/1656060506-GWhVU.pdf','廣播主機操作手冊(永揚).pdf','2022-06-24 16:48:26','2022-06-24 16:48:26'),(45,9,'http://61.222.168.207:8080/wu1n/file/1656146409-3AOfh.pdf','10-設備故障紀錄表.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(46,9,'http://61.222.168.207:8080/wu1n/file/1656146409-nWTQX.pdf','13-電梯使用維護管理辦法.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(47,9,'http://61.222.168.207:8080/wu1n/file/1656146409-MaaqU.pdf','19-管委會委員職務說明.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(48,9,'http://61.222.168.207:8080/wu1n/file/1656146409-5IdOz.pdf','22-財務收支管理辦法.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(49,9,'http://61.222.168.207:8080/wu1n/file/1656146409-8SqkI.pdf','1-資產管理辦法.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(50,9,'http://61.222.168.207:8080/wu1n/file/1656146409-YzmDG.pdf','2-廠商管理辦法.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(51,9,'http://61.222.168.207:8080/wu1n/file/1656146409-4L5Mt.pdf','3-設備管理維護作業準則.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(52,9,'http://61.222.168.207:8080/wu1n/file/1656146409-RJwYQ.pdf','4-設備維護年度計畫.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(53,9,'http://61.222.168.207:8080/wu1n/file/1656146409-Vzl4G.pdf','5-危機處理與緊急應變計畫.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(54,9,'http://61.222.168.207:8080/wu1n/file/1656146409-uRn8G.pdf','7-設備管理維護辦法.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(55,9,'http://61.222.168.207:8080/wu1n/file/1656146409-u3drM.pdf','8-資安、當機、駭客入侵緊急應變計畫.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(56,9,'http://61.222.168.207:8080/wu1n/file/1656146409-ykG74.pdf','14-事件處理流程.pdf','2022-06-25 16:40:09','2022-06-25 16:40:09'),(57,9,'http://61.222.168.207:8080/wu1n/file/1656146410-15zaw.pdf','18-公寓大廈管理服務人員管理辦法.pdf','2022-06-25 16:40:10','2022-06-25 16:40:10'),(58,9,'http://61.222.168.207:8080/wu1n/file/1656146410-0kwHG.pdf','9-設施設備故障處理程序.pdf','2022-06-25 16:40:10','2022-06-25 16:40:10'),(59,7,'http://61.222.168.207:8080/wu1n/file/1656146713-ymjlS.pdf','25-停車管理辦法.pdf','2022-06-25 16:45:13','2022-06-25 16:45:13'),(60,7,'http://61.222.168.207:8080/wu1n/file/1656146713-rFqxC.pdf','23-會議室使用管理辦法.pdf','2022-06-25 16:45:13','2022-06-25 16:45:13'),(61,10,'http://61.222.168.207:8080/wu1n/file/1656146825-oMZgW.pdf','16-大樓SOP（標準作業程序）項目.pdf','2022-06-25 16:47:05','2022-06-25 16:47:05'),(62,10,'http://61.222.168.207:8080/wu1n/file/1656146825-ERTax.pdf','21-行政採購管理辦法.pdf','2022-06-25 16:47:05','2022-06-25 16:47:05'),(63,8,'http://61.222.168.207:8080/wu1n/file/1656146938-ACC0C.pdf','17-消防、電力、電信設施管理辦法.pdf','2022-06-25 16:48:58','2022-06-25 16:48:58'),(64,8,'http://61.222.168.207:8080/wu1n/file/1656146938-2i5kZ.pdf','15-裝潢施工管理辦法.pdf','2022-06-25 16:48:58','2022-06-25 16:48:58'),(65,8,'http://61.222.168.207:8080/wu1n/file/1656146938-RJh43.pdf','11-公區修繕施工安全監管規定.pdf','2022-06-25 16:48:58','2022-06-25 16:48:58'),(66,8,'http://61.222.168.207:8080/wu1n/file/1656146938-JNDWL.pdf','12-協力廠商維護保養進場作業規定.pdf','2022-06-25 16:48:58','2022-06-25 16:48:58'),(67,8,'http://61.222.168.207:8080/wu1n/file/1656146939-S5RY5.pdf','20-人員證照及合約.pdf','2022-06-25 16:48:59','2022-06-25 16:48:59'),(68,11,'http://192.168.8.20:8080/wu1n/file/1657095864-0xAPR.pdf','公設管理辦法.pdf','2022-07-06 16:24:25','2022-07-06 16:24:25'),(69,11,'http://192.168.8.20:8080/wu1n/file/1657095866-hsxew.pdf','社區垃圾分類及資源回收管理辦法.pdf','2022-07-06 16:24:26','2022-07-06 16:24:26'),(70,11,'http://192.168.8.20:8080/wu1n/file/1657095867-dHMKA.pdf','社區郵務服務管理辦法.pdf','2022-07-06 16:24:27','2022-07-06 16:24:27'),(71,11,'http://192.168.8.20:8080/wu1n/file/1657095868-G0azn.pdf','社區-門禁卡申請購買與設定程序.pdf','2022-07-06 16:24:28','2022-07-06 16:24:28'),(72,11,'http://192.168.8.20:8080/wu1n/file/1657095869-Y4hhN.pdf','停車場使用管理辦法.pdf','2022-07-06 16:24:29','2022-07-06 16:24:29'),(73,11,'http://192.168.8.20:8080/wu1n/file/1657095870-yohqE.pdf','社區電梯使用管理辦法.pdf','2022-07-06 16:24:30','2022-07-06 16:24:30'),(74,11,'http://192.168.8.20:8080/wu1n/file/1657095871-arSYb.pdf','機車位使用管理辦法.pdf','2022-07-06 16:24:31','2022-07-06 16:24:31'),(75,9,'http://61.222.168.207:8080/wu1n/file/1661235951-NiPT2.pdf','績效管理文件.pdf','2022-08-23 14:25:51','2022-08-23 14:25:51'),(76,9,'http://61.222.168.207:8080/wu1n/file/1661244180-WUdoT.pdf','大樓SOP（標準作業程序）.pdf','2022-08-23 16:43:00','2022-08-23 16:43:00');

--
-- Table structure for table `document_folders`
--

CREATE TABLE `document_folders` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL,
  `app_status` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `document_folders`
--

INSERT INTO `document_folders` VALUES (1,'大樓資料','設施管理文件',0,0,'2022-05-30 17:48:06','2022-06-22 10:46:41'),(2,'維運管理文件','設施管理文件',0,0,'2022-06-22 11:00:47','2022-06-22 11:00:47'),(3,'管理辦法','公設管理',0,0,'2022-07-06 16:21:41','2022-07-06 16:21:41');

--
-- Table structure for table `documents`
--

CREATE TABLE `documents` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `folder_id` int NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status` int NOT NULL,
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `documents`
--

INSERT INTO `documents` VALUES (1,1,'竣工圖','設施管理文件',0,'','2022-05-30 17:48:17','2022-06-22 10:50:09'),(2,1,'操作手冊','設施管理文件',0,'','2022-06-22 10:53:14','2022-06-22 10:53:14'),(3,1,'通訊協定文件','設施管理文件',0,'','2022-06-22 10:54:12','2022-06-22 10:54:12'),(4,1,'系統操作手冊','設施管理文件',0,'','2022-06-22 10:57:01','2022-06-22 10:57:01'),(5,1,'系統測試報告','設施管理文件',0,'','2022-06-22 10:58:27','2022-06-22 10:58:27'),(6,2,'佈線維運','設施管理文件',0,'','2022-06-22 11:03:04','2022-06-22 11:03:04'),(7,2,'大樓空間使用管理辦法','設施管理文件',0,'','2022-06-25 16:35:49','2022-06-25 16:35:49'),(8,2,'協力廠商管理文件','設施管理文件',0,'','2022-06-25 16:36:46','2022-06-25 16:36:46'),(9,2,'大樓管理辦法','設施管理文件',0,'','2022-06-25 16:37:45','2022-06-25 16:37:45'),(10,2,'績效管理','設施管理文件',0,'','2022-06-25 16:42:46','2022-06-25 16:42:46'),(11,3,'社區各項管理辦法','',0,'','2022-07-06 16:22:33','2022-07-06 16:25:47');

--
-- Table structure for table `doorplates`
--

CREATE TABLE `doorplates` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `doorplate` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `floor` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `household` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `family` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `tenant` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `manage_fee` int NOT NULL COMMENT '管理費',
  `bank_code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '銀行客戶編號',
  `bank_account` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '銀行虛擬帳號',
  `clean_fee` int NOT NULL COMMENT '清潔費',
  `car_clean_fee` int NOT NULL COMMENT '汽車清潔費',
  `moto_clean_fee` int NOT NULL COMMENT '機車清潔費',
  `parking_fee` int NOT NULL COMMENT '停車費',
  `car_parking_fee` int NOT NULL COMMENT '汽車停車費',
  `moto_parking_fee` int NOT NULL COMMENT '機車停車費',
  `other_fee` int NOT NULL COMMENT '其他費',
  `payer` int NOT NULL COMMENT '是否繳費人',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `elec_mail` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '綁定信箱卡機',
  `memo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status_parking` tinyint(1) NOT NULL DEFAULT '1',
  `parking_space` tinyint NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=543 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `doorplates`
--

INSERT INTO `doorplates` VALUES (451,'8','1','1','1','G','8-1-1-1-G',25936,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:46','2022-07-15 11:25:46',1,'','',1,0),(452,'210','2','1','1','G','210-2-1-1-G',29806,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(453,'210','3','1','1','G','210-3-1-1-G',14189,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(454,'210','5','1','1','G','210-5-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(455,'210','6','1','1','G','210-6-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(456,'210','7','1','1','G','210-7-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(457,'210','8','1','1','G','210-8-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(458,'210','9','1','1','G','210-9-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(459,'210','10','1','1','G','210-10-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(460,'210','11','1','1','G','210-11-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(461,'210','12','1','1','G','210-12-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(462,'210','13','1','1','G','210-13-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(463,'210','14','1','1','G','210-14-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(464,'210','15','1','1','G','210-15-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(465,'210','16','1','1','G','210-16-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:47','2022-07-15 11:25:47',1,'','',1,0),(466,'210','17','1','1','G','210-17-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(467,'210','18','1','1','G','210-18-1-1-G',9721,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(468,'212','5','1','1','G','212-5-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(469,'212','6','1','1','G','212-6-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(470,'212','7','1','1','G','212-7-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(471,'212','8','1','1','G','212-8-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(472,'212','9','1','1','G','212-9-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(473,'212','10','1','1','G','212-10-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(474,'212','11','1','1','G','212-11-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(475,'212','12','1','1','G','212-12-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(476,'212','13','1','1','G','212-13-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(477,'212','14','1','1','G','212-14-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(478,'212','15','1','1','G','212-15-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(479,'212','16','1','1','G','212-16-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(480,'212','17','1','1','G','212-17-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:48','2022-07-15 11:25:48',1,'','',1,0),(481,'212','18','1','1','G','212-18-1-1-G',9678,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(482,'216','3','1','1','G','216-3-1-1-G',18625,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(483,'216','5','1','1','G','216-5-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(484,'216','6','1','1','G','216-6-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(485,'216','7','1','1','G','216-7-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(486,'216','8','1','1','G','216-8-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(487,'216','9','1','1','G','216-9-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(488,'216','10','1','1','G','216-10-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(489,'216','11','1','1','G','216-11-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(490,'216','12','1','1','G','216-12-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(491,'216','13','1','1','G','216-13-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(492,'216','14','1','1','G','216-14-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(493,'216','15','1','1','G','216-15-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(494,'216','16','1','1','G','216-16-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(495,'216','17','1','1','G','216-17-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:49','2022-07-15 11:25:49',1,'','',1,0),(496,'216','18','1','1','G','216-18-1-1-G',13502,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(497,'218','3','1','1','G','218-3-1-1-G',18910,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(498,'218','5','1','1','G','218-5-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(499,'218','6','1','1','G','218-6-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(500,'218','7','1','1','G','218-7-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(501,'218','8','1','1','G','218-8-1-1-G',0,'','',0,0,1200,0,0,0,0,1,'2022-07-15 11:25:50','2022-10-25 02:22:54',1,'','',1,0),(502,'218','9','1','1','G','218-9-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(503,'218','10','1','1','R','218-10-1-1-R',13650,'','',0,1500,0,0,0,0,0,1,'2022-07-15 11:25:50','2022-10-25 02:16:44',1,'','',1,0),(504,'218','11','1','1','R','218-11-1-1-R',13650,'','',0,1500,0,0,0,0,0,1,'2022-07-15 11:25:50','2022-10-25 02:18:03',1,'','',1,0),(505,'218','12','1','1','G','218-12-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(506,'218','13','1','1','G','218-13-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(507,'218','14','1','1','G','218-14-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(508,'218','15','1','1','G','218-15-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(509,'218','16','1','1','G','218-16-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(510,'218','17','1','1','G','218-17-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:50','2022-07-15 11:25:50',1,'','',1,0),(511,'218','18','1','1','G','218-18-1-1-G',13650,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(512,'220','5','1','1','G','220-5-1-1-G',9791,'','',0,1000,0,0,0,0,0,1,'2022-07-15 11:25:51','2022-10-25 02:18:46',1,'','',1,0),(513,'220','6','1','1','G','220-6-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(514,'220','7','1','1','G','220-7-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(515,'220','8','1','1','G','220-8-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(516,'220','9','1','1','G','220-9-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(517,'220','10','1','1','R','220-10-1-1-R',9791,'','',0,1000,0,0,0,0,0,1,'2022-07-15 11:25:51','2022-10-25 02:17:19',1,'','',1,0),(518,'220','11','1','1','R','220-11-1-1-R',9791,'','',0,1000,0,0,0,0,0,1,'2022-07-15 11:25:51','2022-10-25 02:21:06',1,'','',1,0),(519,'220','12','1','1','G','220-12-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(520,'220','13','1','1','G','220-13-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(521,'220','14','1','1','G','220-14-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(522,'220','15','1','1','G','220-15-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(523,'220','16','1','1','G','220-16-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(524,'220','17','1','1','G','220-17-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(525,'220','18','1','1','G','220-18-1-1-G',9791,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:51','2022-07-15 11:25:51',1,'','',1,0),(526,'222','3','1','1','G','222-3-1-1-G',14377,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(527,'222','5','1','1','G','222-5-1-1-G',9780,'','',0,1000,0,0,0,0,0,1,'2022-07-15 11:25:52','2022-10-25 02:20:16',1,'','',1,0),(528,'222','6','1','1','G','222-6-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(529,'222','7','1','1','G','222-7-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(530,'222','8','1','1','G','222-8-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(531,'222','9','1','1','G','222-9-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(532,'222','10','1','1','R','222-10-1-1-R',9780,'','',0,1000,0,0,0,0,0,1,'2022-07-15 11:25:52','2022-10-25 02:17:41',1,'','',1,0),(533,'222','11','1','1','R','222-11-1-1-R',9780,'','',0,1000,10800,0,0,0,0,1,'2022-07-15 11:25:52','2022-10-25 02:18:21',1,'','',1,0),(534,'222','12','1','1','G','222-12-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(535,'222','13','1','1','G','222-13-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(536,'222','14','1','1','G','222-14-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(537,'222','15','1','1','G','222-15-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(538,'222','16','1','1','G','222-16-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(539,'222','17','1','1','G','222-17-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(540,'222','18','1','1','G','222-18-1-1-G',9780,'','',0,0,0,0,0,0,0,0,'2022-07-15 11:25:52','2022-07-15 11:25:52',1,'','',1,0),(541,'222','4','1','1','G','222-4-1-1-G',0,'','',0,0,0,0,0,0,0,0,'2022-07-21 12:23:41','2022-07-21 12:23:41',1,'','',1,0),(542,'1','1','1','1','G','1-1-1-1-G',0,'','',0,0,0,0,0,0,0,0,'2022-09-12 13:38:02','2022-09-12 13:38:02',1,'','',1,0);

--
-- Table structure for table `dorm_bed_logs`
--

CREATE TABLE `dorm_bed_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `dorm_id` int NOT NULL COMMENT '房間ID',
  `user_id` int NOT NULL COMMENT '帳號ID',
  `mode` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '模式 1.一般入住 2.一般退宿 3.換宿(入) 4.換宿(退) 5.臨時(入) 6.臨時(退)',
  `date` date NOT NULL COMMENT '日期',
  `memo` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '備註',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_bed_logs`
--


--
-- Table structure for table `dorm_bed_settings`
--

CREATE TABLE `dorm_bed_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `dorm_id` int NOT NULL COMMENT '宿舍ID',
  `user_id` int NOT NULL COMMENT '帳號ID',
  `date` date NOT NULL COMMENT '入住日期',
  `bed_number` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '床位號',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_bed_settings`
--


--
-- Table structure for table `dorm_btu_mappings`
--

CREATE TABLE `dorm_btu_mappings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` int NOT NULL COMMENT '房間ID',
  `facility_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備清單',
  `name_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱清單',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_btu_mappings`
--


--
-- Table structure for table `dorm_ele_mappings`
--

CREATE TABLE `dorm_ele_mappings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` int NOT NULL COMMENT '房間ID',
  `facility_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備清單',
  `name_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱清單',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_ele_mappings`
--


--
-- Table structure for table `dorm_ele_prices`
--

CREATE TABLE `dorm_ele_prices` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `start_year` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '起始年',
  `start_month` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '起始月',
  `end_year` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '結束年',
  `end_month` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '結束月',
  `price` double(8,2) NOT NULL COMMENT '費用',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_ele_prices`
--


--
-- Table structure for table `dorm_tenants`
--

CREATE TABLE `dorm_tenants` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `number` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '房號',
  `dorm_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '宿舍類型',
  `category` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '宿舍分類',
  `area` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '校區',
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '宿舍名稱',
  `total` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '房間人數',
  `cost` int NOT NULL COMMENT '管理費',
  `status` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '狀態',
  `user_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '住宿對應的帳號',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_tenants`
--


--
-- Table structure for table `dorm_water_mappings`
--

CREATE TABLE `dorm_water_mappings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tenant_id` int NOT NULL COMMENT '房間ID',
  `facility_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備清單',
  `name_list` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱清單',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dorm_water_mappings`
--


--
-- Table structure for table `dormitory_electricities`
--

CREATE TABLE `dormitory_electricities` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `device_code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '1',
  `room_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '1',
  `peak` double NOT NULL COMMENT '1',
  `semi_peak` double NOT NULL COMMENT '1',
  `off_peak` double NOT NULL COMMENT '1',
  `year` int NOT NULL COMMENT '1',
  `month` int NOT NULL COMMENT '1',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `dormitory_electricities`
--


--
-- Table structure for table `e_tags`
--

CREATE TABLE `e_tags` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `doorplate_id` int NOT NULL,
  `class` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '車輛類型(car汽車、moto機車)',
  `tag_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'ETag號碼',
  `parking_number` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '車牌號碼',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `e_tags`
--

INSERT INTO `e_tags` VALUES (1,9,'car','0454591922','','2022-05-30 17:09:03','2022-05-30 17:09:03'),(2,9,'car','2989567236','','2022-05-30 17:09:37','2022-05-30 17:09:37');

--
-- Table structure for table `ehr_location`
--

CREATE TABLE `ehr_location` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `location` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `location_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sort` int NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ehr_location_location_code_index` (`location_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ehr_location`
--


--
-- Table structure for table `ehr_log`
--

CREATE TABLE `ehr_log` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ehr_time` datetime NOT NULL,
  `user_card_no` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ehr_log_user_card_no_index` (`user_card_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ehr_log`
--


--
-- Table structure for table `ehr_schedule`
--

CREATE TABLE `ehr_schedule` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `shift_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NOT NULL,
  `rest_start_time` datetime NOT NULL,
  `rest_end_time` datetime NOT NULL,
  `user_id` int NOT NULL,
  `ehr_date` date NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `first_time` datetime NOT NULL,
  `last_time` datetime NOT NULL,
  `work_minutes` int NOT NULL,
  `late_minutes` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ehr_schedule_shift_code_index` (`shift_code`),
  KEY `ehr_schedule_user_id_index` (`user_id`),
  KEY `ehr_schedule_ehr_date_index` (`ehr_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ehr_schedule`
--


--
-- Table structure for table `ehr_shift`
--

CREATE TABLE `ehr_shift` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `name` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `shift_code` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modifier` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_minutes` int NOT NULL,
  `rest_start_time` time NOT NULL,
  `rest_end_time` time NOT NULL,
  `late_minutes` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `ehr_shift_shift_code_index` (`shift_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `ehr_shift`
--


--
-- Table structure for table `electric_fees`
--

CREATE TABLE `electric_fees` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tag_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `peak` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `semi_peak` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `off_peak` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `basic_fee` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `float_fee` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `modify_fee` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `year` int NOT NULL,
  `month` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `breeze_fee` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '微風額外換算',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electric_fees`
--


--
-- Table structure for table `electric_mails`
--

CREATE TABLE `electric_mails` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `mailtype` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件種類',
  `mailnumber` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件號碼',
  `mail_source` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件來源',
  `mailsenddate` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件登錄日期',
  `mailsend` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '同mail_source',
  `mailgetdate` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件被領日期',
  `mailget` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '領取人id',
  `mailstate` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '0' COMMENT '郵件狀態 0未領取 1已領取 2已註銷 3已退信',
  `sign_image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `sign_image2` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `sms_send` int NOT NULL DEFAULT '0',
  `sms_log_id` int NOT NULL DEFAULT '0',
  `before_user_id` int NOT NULL COMMENT '郵件登錄的經手人id',
  `after_user_id` int NOT NULL COMMENT '郵件領取的經手人id',
  `rfid_card_no` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `groupid` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '家庭群發則在此欄位寫入',
  `mailbackdate` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '退信日期',
  `mail_image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT '郵件照片',
  `photo_image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cause` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `box_id` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electric_mails`
--


--
-- Table structure for table `electric_xls_imports`
--

CREATE TABLE `electric_xls_imports` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `facility_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `peak` double(8,2) NOT NULL,
  `semi_peak` double(8,2) NOT NULL,
  `off_peak` double(8,2) NOT NULL,
  `year` int NOT NULL,
  `month` int NOT NULL,
  `last` double(8,2) DEFAULT NULL,
  `checked` tinyint NOT NULL,
  `import_id` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electric_xls_imports`
--


--
-- Table structure for table `electricity`
--

CREATE TABLE `electricity` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `year` varchar(4) COLLATE utf8mb3_unicode_ci NOT NULL,
  `month` varchar(2) COLLATE utf8mb3_unicode_ci NOT NULL,
  `level` varchar(2) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cost` double(8,2) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=145 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electricity`
--

INSERT INTO `electricity` VALUES (1,'2018','1','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(2,'2018','1','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(3,'2018','1','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(4,'2018','1','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(5,'2018','1','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(6,'2018','1','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(7,'2018','2','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(8,'2018','2','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(9,'2018','2','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(10,'2018','2','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(11,'2018','2','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(12,'2018','2','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(13,'2018','3','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(14,'2018','3','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(15,'2018','3','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(16,'2018','3','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(17,'2018','3','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(18,'2018','3','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(19,'2018','4','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(20,'2018','4','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(21,'2018','4','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(22,'2018','4','4',3.94,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(23,'2018','4','5',4.60,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(24,'2018','4','6',5.03,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(25,'2018','5','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(26,'2018','5','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(27,'2018','5','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(28,'2018','5','4',3.94,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(29,'2018','5','5',4.60,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(30,'2018','5','6',5.03,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(31,'2018','6','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(32,'2018','6','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(33,'2018','6','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(34,'2018','6','4',4.80,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(35,'2018','6','5',5.66,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(36,'2018','6','6',6.41,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(37,'2018','7','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(38,'2018','7','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(39,'2018','7','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(40,'2018','7','4',4.80,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(41,'2018','7','5',5.66,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(42,'2018','7','6',6.41,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(43,'2018','8','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(44,'2018','8','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(45,'2018','8','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(46,'2018','8','4',4.80,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(47,'2018','8','5',5.66,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(48,'2018','8','6',6.41,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(49,'2018','9','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(50,'2018','9','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(51,'2018','9','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(52,'2018','9','4',4.80,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(53,'2018','9','5',5.66,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(54,'2018','9','6',6.41,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(55,'2018','10','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(56,'2018','10','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(57,'2018','10','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(58,'2018','10','4',3.94,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(59,'2018','10','5',4.60,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(60,'2018','10','6',5.03,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(61,'2018','11','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(62,'2018','11','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(63,'2018','11','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(64,'2018','11','4',3.94,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(65,'2018','11','5',4.60,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(66,'2018','11','6',5.03,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(67,'2018','12','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(68,'2018','12','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(69,'2018','12','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(70,'2018','12','4',3.94,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(71,'2018','12','5',4.60,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(72,'2018','12','6',5.03,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(73,'2017','1','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(74,'2017','1','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(75,'2017','1','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(76,'2017','1','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(77,'2017','1','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(78,'2017','1','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(79,'2017','2','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(80,'2017','2','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(81,'2017','2','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(82,'2017','2','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(83,'2017','2','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(84,'2017','2','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(85,'2017','3','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(86,'2017','3','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(87,'2017','3','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(88,'2017','3','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(89,'2017','3','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(90,'2017','3','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(91,'2017','4','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(92,'2017','4','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(93,'2017','4','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(94,'2017','4','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(95,'2017','4','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(96,'2017','4','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(97,'2017','5','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(98,'2017','5','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(99,'2017','5','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(100,'2017','5','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(101,'2017','5','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(102,'2017','5','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(103,'2017','6','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(104,'2017','6','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(105,'2017','6','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(106,'2017','6','4',4.61,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(107,'2017','6','5',5.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(108,'2017','6','6',6.13,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(109,'2017','7','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(110,'2017','7','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(111,'2017','7','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(112,'2017','7','4',4.61,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(113,'2017','7','5',5.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(114,'2017','7','6',6.13,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(115,'2017','8','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(116,'2017','8','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(117,'2017','8','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(118,'2017','8','4',4.61,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(119,'2017','8','5',5.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(120,'2017','8','6',6.13,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(121,'2017','9','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(122,'2017','9','2',2.38,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(123,'2017','9','3',3.52,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(124,'2017','9','4',4.61,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(125,'2017','9','5',5.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(126,'2017','9','6',6.13,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(127,'2017','10','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(128,'2017','10','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(129,'2017','10','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(130,'2017','10','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(131,'2017','10','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(132,'2017','10','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(133,'2017','11','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(134,'2017','11','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(135,'2017','11','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(136,'2017','11','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(137,'2017','11','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(138,'2017','11','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(139,'2017','12','1',1.63,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(140,'2017','12','2',2.10,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(141,'2017','12','3',2.89,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(142,'2017','12','4',3.79,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(143,'2017','12','5',4.42,'2022-05-26 13:48:42','2022-05-26 13:48:42'),(144,'2017','12','6',4.83,'2022-05-26 13:48:42','2022-05-26 13:48:42');

--
-- Table structure for table `electricity_energies`
--

CREATE TABLE `electricity_energies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `towerID` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '棟別',
  `errorNo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '故障碼',
  `device_code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備代號',
  `room_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '宿舍號碼',
  `date` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '日期',
  `value` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '數值',
  `Verify` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '字串驗證',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electricity_energies`
--


--
-- Table structure for table `electricity_prices`
--

CREATE TABLE `electricity_prices` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `peak` double(8,2) NOT NULL,
  `semipeak` double(8,2) NOT NULL,
  `offpeak` double(8,2) NOT NULL,
  `summer_peak` double(8,2) NOT NULL,
  `summer_semipeak` double(8,2) NOT NULL,
  `summer_offpeak` double(8,2) NOT NULL,
  `status` int NOT NULL,
  `year` int NOT NULL,
  `month` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electricity_prices`
--


--
-- Table structure for table `electro_mechanical_checklist`
--

CREATE TABLE `electro_mechanical_checklist` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `class` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `place` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cost` int NOT NULL,
  `end_date` date NOT NULL,
  `number` int NOT NULL,
  `upload_user_id` int NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `firm_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '協力廠商id',
  `file_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_checklist`
--

INSERT INTO `electro_mechanical_checklist` VALUES (1,'發電機','水電','地下1F機房',50000,'2018-06-30',0,0,1,'','1658393034.xls','2022-07-21 16:07:54','2022-07-21 16:07:54');

--
-- Table structure for table `electro_mechanical_checklist_fixlist`
--

CREATE TABLE `electro_mechanical_checklist_fixlist` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` smallint NOT NULL,
  `check_list_id` smallint NOT NULL,
  `situation` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `process` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `material` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `note` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sign_image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_checklist_fixlist`
--


--
-- Table structure for table `electro_mechanical_checklist_report_data`
--

CREATE TABLE `electro_mechanical_checklist_report_data` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `check_list_id` int NOT NULL,
  `check_report_list_id` int NOT NULL,
  `question_number` tinyint NOT NULL,
  `answer` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_checklist_report_data`
--


--
-- Table structure for table `electro_mechanical_checklist_report_list`
--

CREATE TABLE `electro_mechanical_checklist_report_list` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` smallint NOT NULL,
  `check_list_id` smallint NOT NULL,
  `patrol_id` smallint NOT NULL,
  `list_number` int NOT NULL,
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sign_image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `patrol_datetime` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `status` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_checklist_report_list`
--

INSERT INTO `electro_mechanical_checklist_report_list` VALUES (1,22,1,1,0,'','','','','','','2022-07-22 17:00:00',0,'2022-07-21 16:44:48','2022-07-21 16:44:48'),(2,22,1,1,0,'','','','','','','2022-07-25 17:00:00',0,'2022-07-21 16:44:48','2022-07-21 16:44:48'),(3,22,1,1,0,'','','','','','','2022-07-27 17:00:00',0,'2022-07-21 16:44:48','2022-07-21 16:44:48'),(4,22,1,1,0,'','','','','','','2022-07-29 17:00:00',0,'2022-07-21 16:44:48','2022-07-21 16:44:48');

--
-- Table structure for table `electro_mechanical_detail`
--

CREATE TABLE `electro_mechanical_detail` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `check_list_id` int NOT NULL,
  `question_number` tinyint NOT NULL,
  `question` varchar(100) COLLATE utf8mb3_unicode_ci NOT NULL,
  `tags` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `option1` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `option2` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `option3` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `option4` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `option5` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status1` tinyint NOT NULL,
  `status2` tinyint NOT NULL,
  `status3` tinyint NOT NULL,
  `status4` tinyint NOT NULL,
  `status5` tinyint NOT NULL,
  `file_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_detail`
--

INSERT INTO `electro_mechanical_detail` VALUES (1,1,1,'是否過熱','溫度、每日','單選題','是','否','','','',1,0,0,0,0,'1658393034.xls','2022-07-21 16:07:54','2022-07-21 16:07:54'),(2,1,2,'溫度範圍','溫度、每日','單選題','15度以下','15~25度','25~35度','35~45度','45度以上',1,0,0,0,1,'1658393034.xls','2022-07-21 16:07:54','2022-07-21 16:07:54'),(3,1,3,'溫度值','溫度、每日','填充題','(填充題沒有選項)','','','','',0,0,0,0,0,'1658393034.xls','2022-07-21 16:07:54','2022-07-21 16:07:54'),(4,1,4,'備用零件缺少的項目','零件、每月','複選題','螺絲','電線','蓄電池','扳手','',0,0,0,0,0,'1658393034.xls','2022-07-21 16:07:54','2022-07-21 16:07:54');

--
-- Table structure for table `electro_mechanical_import`
--

CREATE TABLE `electro_mechanical_import` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `success` int NOT NULL,
  `fail` int NOT NULL,
  `title` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `file_name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_import`
--

INSERT INTO `electro_mechanical_import` VALUES (1,1,0,'20220721','1658393034.xls','2022-07-21 16:43:54','0000-00-00 00:00:00');

--
-- Table structure for table `electro_mechanical_patrol`
--

CREATE TABLE `electro_mechanical_patrol` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `handler_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '安排者編號_群光',
  `electro_mechanical_checklist_id` int NOT NULL,
  `frequency` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `number` smallint NOT NULL,
  `cycle_way` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `day` varchar(20) COLLATE utf8mb3_unicode_ci NOT NULL,
  `end_way` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `repeat_number` int NOT NULL,
  `time` time NOT NULL,
  `summary` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `note` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '安排原因_群光',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `push_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `electro_mechanical_patrol`
--

INSERT INTO `electro_mechanical_patrol` VALUES (1,22,'1',1,'week',1,'','0,2,4','date',0,'17:00:00','每周 ， 星期一、 星期三、 星期五， 於2022-07-31結束','','2022-07-21','2022-07-31','0000-00-00 00:00:00','2022-07-21 16:44:48','2022-07-21 16:44:48');

--
-- Table structure for table `email_receivers`
--

CREATE TABLE `email_receivers` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `email_id` int NOT NULL,
  `address` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `email_receivers`
--


--
-- Table structure for table `energies`
--

CREATE TABLE `energies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `waterSwitch` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '水開關',
  `inputBudgetWater` int NOT NULL COMMENT '預算單位萬元',
  `electricitySwitch` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '電開關',
  `inputBudgetElectricity` int NOT NULL COMMENT '預算單位萬元',
  `gasSwitch` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '氣開關',
  `inputBudgetGas` int NOT NULL COMMENT '預算單位萬元',
  `hotSwitch` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '熱開關',
  `inputBudgetHot` int NOT NULL COMMENT '預算單位萬元',
  `oilSwitch` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '油開關',
  `inputBudgetOil` int NOT NULL COMMENT '預算單位萬元',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energies`
--

INSERT INTO `energies` VALUES (1,'open',10,'',0,'',0,'',0,'',0,'0000-00-00 00:00:00','0000-00-00 00:00:00');

--
-- Table structure for table `energy_categories`
--

CREATE TABLE `energy_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '分類名稱',
  `firm` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '廠商代號',
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_categories`
--


--
-- Table structure for table `energy_details`
--

CREATE TABLE `energy_details` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tag` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱',
  `date` datetime NOT NULL COMMENT '年月',
  `value` double(8,2) NOT NULL COMMENT '數值',
  `type` int NOT NULL COMMENT '時段類別 0:離峰 1:半尖峰 2:尖峰',
  `amount` double(8,2) NOT NULL DEFAULT '0.00' COMMENT '每一單位的金額',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_details`
--


--
-- Table structure for table `energy_imports`
--

CREATE TABLE `energy_imports` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `success` int NOT NULL COMMENT '成功',
  `fail` int NOT NULL COMMENT '失敗',
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '批次名稱',
  `file_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '檔案名稱',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_imports`
--


--
-- Table structure for table `energy_locations`
--

CREATE TABLE `energy_locations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '位置名稱',
  `building` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '棟別',
  `floor` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '樓別',
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '地上地下',
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_locations`
--


--
-- Table structure for table `energy_logs`
--

CREATE TABLE `energy_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tag` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備Tag',
  `trigger_time` datetime NOT NULL COMMENT '發生時間',
  `data_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備類別',
  `check` int NOT NULL COMMENT '自檢結果',
  `value` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '數值',
  `value_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '數值類型',
  `memo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '備註',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_logs`
--


--
-- Table structure for table `energy_records`
--

CREATE TABLE `energy_records` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `tag` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '名稱',
  `value` int NOT NULL COMMENT '累計值',
  `trigger_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '時間',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_records`
--


--
-- Table structure for table `energy_sensors`
--

CREATE TABLE `energy_sensors` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱',
  `tag` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'Tag',
  `door_id` int NOT NULL COMMENT '門牌ID',
  `l_id` int NOT NULL COMMENT '位置ID',
  `c_id` int NOT NULL COMMENT '分類ID',
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '室內/外',
  `status` int NOT NULL COMMENT '狀態',
  `issave` int NOT NULL DEFAULT '0' COMMENT '是否記錄電錶度數變化 0:不記錄 1:記錄',
  `xls_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '匯入的EXCEL檔名',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_sensors`
--


--
-- Table structure for table `energy_settings`
--

CREATE TABLE `energy_settings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `type_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '對應名稱',
  `value_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料類型',
  `unit` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料單位',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `energy_settings`
--


--
-- Table structure for table `error_energies`
--

CREATE TABLE `error_energies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `towerID` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '棟別',
  `device_code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `room_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `date` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `Verify` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '字串驗證',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `error_energies`
--


--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `acct_id` int NOT NULL COMMENT '科目代號',
  `ym` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '年月',
  `exp_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '支出類別',
  `payment` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '是否繳費',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `amount` int NOT NULL COMMENT '金額',
  `firm_id` int NOT NULL COMMENT '廠商id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `expenses`
--


--
-- Table structure for table `factories`
--

CREATE TABLE `factories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `store_name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `sale` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `bus_area` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `time_start` datetime DEFAULT NULL,
  `time_end` datetime DEFAULT NULL,
  `web_map` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `tel` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `opening` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `web` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `goods` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `tag` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `map` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `safe_note` text COLLATE utf8mb3_unicode_ci,
  `content` text COLLATE utf8mb3_unicode_ci,
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `factories`
--


--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `connection` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb3_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `fault_dispatches`
--

CREATE TABLE `fault_dispatches` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `fid` int NOT NULL,
  `project_list` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `time_dispatch` datetime NOT NULL,
  `info` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `note` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '派工原因_群光',
  `finish_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '預計處理時間_群光',
  `status` tinyint NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_dispatches`
--

INSERT INTO `fault_dispatches` VALUES (1,1,'22','inside','2022-07-14 09:29:10','由wu1n(wu1n)指派處理','測試','2022-07-14',0,'2022-07-14 09:29:10','2022-07-14 09:29:10');

--
-- Table structure for table `fault_handle_outsides`
--

CREATE TABLE `fault_handle_outsides` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `report_id` int NOT NULL,
  `user_id` int NOT NULL,
  `task_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '派工單ID_群光',
  `content` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status_change` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `costs` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sign_image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_handle_outsides`
--

INSERT INTO `fault_handle_outsides` VALUES (1,1,1,'','一一','1','','','','','','','','2022-07-25 19:10:14','2022-07-25 19:10:14'),(2,1,22,'','123','1','','','','','','','','2022-07-25 19:10:38','2022-07-25 19:10:38');

--
-- Table structure for table `fault_handles`
--

CREATE TABLE `fault_handles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `report_id` int NOT NULL,
  `user_id` int NOT NULL,
  `task_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '派工單ID_群光',
  `content` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status_change` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `costs` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `sign_image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_handles`
--


--
-- Table structure for table `fault_report_lists`
--

CREATE TABLE `fault_report_lists` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `fault_report_id` int NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `rfid` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_report_lists`
--


--
-- Table structure for table `fault_report_outlists`
--

CREATE TABLE `fault_report_outlists` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `fault_report_id` int NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `username` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `get_in_item` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `get_out_item` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `info` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `date` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_report_outlists`
--


--
-- Table structure for table `fault_report_outsides`
--

CREATE TABLE `fault_report_outsides` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `type_floor` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_location` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_class` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_situation` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `target` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `info` text COLLATE utf8mb3_unicode_ci,
  `sf_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'BA連動修繕單之id(sensor_fault)',
  `tel` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact_person` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `wish` text COLLATE utf8mb3_unicode_ci,
  `time_report` datetime DEFAULT NULL,
  `status` int NOT NULL,
  `task_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '派工單ID_群光',
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `content` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `report_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `company` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_place` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact_phone` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_person` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `is_business` tinyint(1) NOT NULL COMMENT '住或商 0為住 1為商',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_report_outsides`
--

INSERT INTO `fault_report_outsides` VALUES (2,1,'4F','西側大門','人員問題','漏水','壞掉','壞掉','修復','','','',NULL,'2022-08-25 17:40:27',0,'','http://61.222.168.207:8080/wu1n/image/1661420427-q8SQd.jpg',NULL,NULL,NULL,NULL,'','0000-00-00 00:00:00','','','','','','',0,'2022-08-25 17:40:27','2022-08-25 17:40:27'),(3,34,'1F','大廳','水電問題','沒電','','','請輸入','','','',NULL,'2022-08-25 17:40:35',0,'','',NULL,NULL,NULL,NULL,'','0000-00-00 00:00:00','','','','','','',0,'2022-08-25 17:40:35','2022-08-25 17:40:35'),(4,34,'5F','大廳','人員問題','環境髒亂','','','請輸入','','','',NULL,'2022-08-25 17:40:51',0,'','',NULL,NULL,NULL,NULL,'','0000-00-00 00:00:00','','','','','','',0,'2022-08-25 17:40:51','2022-08-25 17:40:51'),(5,34,'3F','東側大門','公設問題','故障','','','請輸入','','','',NULL,'2022-08-25 17:40:58',0,'','',NULL,NULL,NULL,NULL,'','0000-00-00 00:00:00','','','','','','',0,'2022-08-25 17:40:58','2022-08-25 17:40:58');

--
-- Table structure for table `fault_reports`
--

CREATE TABLE `fault_reports` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `type_floor` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_location` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_class` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `type_situation` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `target` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `info` text COLLATE utf8mb3_unicode_ci,
  `tel` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact_person` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `wish` text COLLATE utf8mb3_unicode_ci,
  `time_report` datetime DEFAULT NULL,
  `status` int NOT NULL,
  `task_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '派工單ID_群光',
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `content` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `report_date` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `company` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_place` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contact_phone` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `work_person` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `is_business` tinyint(1) NOT NULL COMMENT '住或商 0為住 1為商',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fault_reports`
--


--
-- Table structure for table `festivals`
--

CREATE TABLE `festivals` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cover_img` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `introduce` text COLLATE utf8mb3_unicode_ci,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `map` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `safe_note` text COLLATE utf8mb3_unicode_ci,
  `content` text COLLATE utf8mb3_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `image1` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image2` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image3` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image4` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image5` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `festivals`
--


--
-- Table structure for table `files`
--

CREATE TABLE `files` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `url` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `mime` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `original_filename` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `download` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `files`
--

INSERT INTO `files` VALUES (1,'1655867099-LBYZ7.pdf','http://61.222.168.207:8080/wu1n/file/1655867099-LBYZ7.pdf','pdf','佈線維運計畫.pdf',3,'2022-06-22 11:04:59','2022-08-25 17:26:46'),(2,'1655867099-ddtOh.pdf','http://61.222.168.207:8080/wu1n/file/1655867099-ddtOh.pdf','pdf','佈線檢測計畫說明.pdf',1,'2022-06-22 11:04:59','2022-08-25 17:26:46'),(3,'1655884525-4w9sl.pdf','http://61.222.168.207:8080/wu1n/file/1655884525-4w9sl.pdf','pdf','L-19663通訊協定.pdf',1,'2022-06-22 15:55:25','2022-06-22 15:55:58'),(4,'1655884525-KO755.pdf','http://61.222.168.207:8080/wu1n/file/1655884525-KO755.pdf','pdf','01.BACnet-Instance Number-新20211221.pdf',0,'2022-06-22 15:55:25','2022-06-22 15:55:25'),(5,'1655884525-1pDel.pdf','http://61.222.168.207:8080/wu1n/file/1655884525-1pDel.pdf','pdf','02.BACnet-Instance Number-新20211221.pdf',0,'2022-06-22 15:55:25','2022-06-22 15:55:25'),(6,'1655884526-yzvhT.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-yzvhT.pdf','pdf','程業-連動表.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(7,'1655884526-3QytV.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-3QytV.pdf','pdf','寰宇1號-二線式編碼表20220620.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(8,'1655884526-NDgqy.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-NDgqy.pdf','pdf','03.BACnet-Instance Number-新20211221.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(9,'1655884526-DSnJU.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-DSnJU.pdf','pdf','04.BACnet-Instance Number-新20211221.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(10,'1655884526-E28UD.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-E28UD.pdf','pdf','程業-編碼表.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(11,'1655884526-a3T1r.pdf','http://61.222.168.207:8080/wu1n/file/1655884526-a3T1r.pdf','pdf','DSE7310-MKII-DSE7320-MKII-GencommConfiguration-A3案.pdf',0,'2022-06-22 15:55:26','2022-06-22 15:55:26'),(12,'1655884763-Ml2uO.pdf','http://61.222.168.207:8080/wu1n/file/1655884763-Ml2uO.pdf','pdf','笙陽-寰宇一號-空調系統自主檢查表1110620.pdf',0,'2022-06-22 15:59:23','2022-06-22 15:59:23'),(13,'1655884763-hHNN0.pdf','http://61.222.168.207:8080/wu1n/file/1655884763-hHNN0.pdf','pdf','笙陽-寰宇一號-自主檢查表(竣工)1110620.pdf',1,'2022-06-22 15:59:23','2022-06-22 15:59:53'),(14,'1655884764-lo1Fs.pdf','http://61.222.168.207:8080/wu1n/file/1655884764-lo1Fs.pdf','pdf','電信測報.pdf',0,'2022-06-22 15:59:24','2022-06-22 15:59:24'),(15,'1655886701-iRP4W.pdf','http://61.222.168.207:8080/wu1n/file/1655886701-iRP4W.pdf','pdf','使照圖說03.pdf',1,'2022-06-22 16:31:41','2022-06-22 16:43:33'),(16,'1655886704-Zs0vu.pdf','http://61.222.168.207:8080/wu1n/file/1655886704-Zs0vu.pdf','pdf','天花板平面圖.pdf',1,'2022-06-22 16:31:44','2022-09-14 15:51:45'),(17,'1655886705-W7yYc.pdf','http://61.222.168.207:8080/wu1n/file/1655886705-W7yYc.pdf','pdf','通風排氣圖說.pdf',1,'2022-06-22 16:31:45','2022-09-14 15:51:43'),(18,'1655886706-FKXqn.pdf','http://61.222.168.207:8080/wu1n/file/1655886706-FKXqn.pdf','pdf','空調圖說.pdf',1,'2022-06-22 16:31:46','2022-09-14 15:51:41'),(19,'1655886709-C9eTC.pdf','http://61.222.168.207:8080/wu1n/file/1655886709-C9eTC.pdf','pdf','照明圖說.pdf',1,'2022-06-22 16:31:49','2022-09-14 15:51:39'),(20,'1655886711-63DHc.pdf','http://61.222.168.207:8080/wu1n/file/1655886711-63DHc.pdf','pdf','電梯圖說.pdf',1,'2022-06-22 16:31:51','2022-09-14 15:51:38'),(21,'1655886712-gtESi.pdf','http://61.222.168.207:8080/wu1n/file/1655886712-gtESi.pdf','pdf','電氣圖說.pdf',1,'2022-06-22 16:31:52','2022-09-14 15:51:38'),(22,'1655886712-fDVPa.pdf','http://61.222.168.207:8080/wu1n/file/1655886712-fDVPa.pdf','pdf','電信圖說.pdf',1,'2022-06-22 16:31:52','2022-09-14 15:51:38'),(23,'1655886714-Yfd2I.pdf','http://61.222.168.207:8080/wu1n/file/1655886714-Yfd2I.pdf','pdf','電氣圖說02.pdf',1,'2022-06-22 16:31:54','2022-09-14 15:51:35'),(24,'1655887056-nO14r.pdf','http://61.222.168.207:8080/wu1n/file/1655887056-nO14r.pdf','pdf','監控圖說02.pdf',1,'2022-06-22 16:37:36','2022-09-14 15:51:34'),(25,'1655887057-5kPUR.pdf','http://61.222.168.207:8080/wu1n/file/1655887057-5kPUR.pdf','pdf','監控圖說03.pdf',1,'2022-06-22 16:37:37','2022-09-14 15:51:33'),(26,'1655887057-y6Tpw.pdf','http://61.222.168.207:8080/wu1n/file/1655887057-y6Tpw.pdf','pdf','監控圖說01.pdf',1,'2022-06-22 16:37:37','2022-09-14 15:51:32'),(27,'1655887139-Bk3wa.pdf','http://61.222.168.207:8080/wu1n/file/1655887139-Bk3wa.pdf','pdf','電氣圖說02.pdf',1,'2022-06-22 16:38:59','2022-09-14 15:51:30'),(28,'1655887139-gZzYY.pdf','http://61.222.168.207:8080/wu1n/file/1655887139-gZzYY.pdf','pdf','電氣圖說03.pdf',1,'2022-06-22 16:38:59','2022-09-14 15:51:32'),(29,'1655887228-ZxKVG.pdf','http://61.222.168.207:8080/wu1n/file/1655887228-ZxKVG.pdf','pdf','給排水圖說01.pdf',1,'2022-06-22 16:40:28','2022-09-14 15:51:30'),(30,'1655887228-vxgGc.pdf','http://61.222.168.207:8080/wu1n/file/1655887228-vxgGc.pdf','pdf','給排水圖說02.pdf',1,'2022-06-22 16:40:28','2022-09-14 15:51:29'),(31,'1655887313-NSBI8.pdf','http://61.222.168.207:8080/wu1n/file/1655887313-NSBI8.pdf','pdf','消防圖說02.pdf',2,'2022-06-22 16:41:53','2022-09-14 15:51:46'),(32,'1655887314-ZdFOf.pdf','http://61.222.168.207:8080/wu1n/file/1655887314-ZdFOf.pdf','pdf','消防圖說03.pdf',1,'2022-06-22 16:41:54','2022-09-14 15:51:23'),(33,'1655887314-2mtOo.pdf','http://61.222.168.207:8080/wu1n/file/1655887314-2mtOo.pdf','pdf','消防圖說01.pdf',1,'2022-06-22 16:41:54','2022-09-14 15:51:19'),(34,'1655887314-qTKaG.pdf','http://61.222.168.207:8080/wu1n/file/1655887314-qTKaG.pdf','pdf','消防圖說04.pdf',1,'2022-06-22 16:41:54','2022-09-14 15:51:19'),(35,'1655887555-Ob968.pdf','http://61.222.168.207:8080/wu1n/file/1655887555-Ob968.pdf','pdf','使照圖說01.pdf',2,'2022-06-22 16:45:55','2022-09-14 15:51:19'),(36,'1655887556-bL6Oh.pdf','http://61.222.168.207:8080/wu1n/file/1655887556-bL6Oh.pdf','pdf','使照圖說03.pdf',1,'2022-06-22 16:45:56','2022-09-14 15:51:19'),(37,'1655887557-GRTkm.pdf','http://61.222.168.207:8080/wu1n/file/1655887557-GRTkm.pdf','pdf','使照圖說02.pdf',1,'2022-06-22 16:45:57','2022-09-14 15:51:19'),(38,'1655887561-ohFaF.pdf','http://61.222.168.207:8080/wu1n/file/1655887561-ohFaF.pdf','pdf','使照圖說04.pdf',2,'2022-06-22 16:46:01','2022-09-14 15:51:23'),(39,'1656060505-151gx.pdf','http://61.222.168.207:8080/wu1n/file/1656060505-151gx.pdf','pdf','寰宇一號-住戶對講話機及門禁卡操作說明1110622.pdf',0,'2022-06-24 16:48:25','2022-06-24 16:48:25'),(40,'1656060505-vUkrL.pdf','http://61.222.168.207:8080/wu1n/file/1656060505-vUkrL.pdf','pdf','明和燈具設定指南-汽車位與機車位.pdf',0,'2022-06-24 16:48:25','2022-06-24 16:48:25'),(41,'1656060505-8jFtw.pdf','http://61.222.168.207:8080/wu1n/file/1656060505-8jFtw.pdf','pdf','消防總機操作手冊.pdf',1,'2022-06-24 16:48:25','2022-06-24 16:48:55'),(42,'1656060506-RlGyH.pdf','http://61.222.168.207:8080/wu1n/file/1656060506-RlGyH.pdf','pdf','中悅寰宇一號變頻冷氣操作手冊,新款空調全熱面板1110623.pdf',0,'2022-06-24 16:48:26','2022-06-24 16:48:26'),(43,'1656060506-X05EW.pdf','http://61.222.168.207:8080/wu1n/file/1656060506-X05EW.pdf','pdf','中悅寰宇一號變頻冷氣操作手冊,舊款空調全熱面板1110623.pdf',0,'2022-06-24 16:48:26','2022-06-24 16:48:26'),(44,'1656060506-GWhVU.pdf','http://61.222.168.207:8080/wu1n/file/1656060506-GWhVU.pdf','pdf','廣播主機操作手冊(永揚).pdf',0,'2022-06-24 16:48:26','2022-06-24 16:48:26'),(45,'1656146409-3AOfh.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-3AOfh.pdf','pdf','10-設備故障紀錄表.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:30'),(46,'1656146409-nWTQX.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-nWTQX.pdf','pdf','13-電梯使用維護管理辦法.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:30'),(47,'1656146409-MaaqU.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-MaaqU.pdf','pdf','19-管委會委員職務說明.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:30'),(48,'1656146409-5IdOz.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-5IdOz.pdf','pdf','22-財務收支管理辦法.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:30'),(49,'1656146409-8SqkI.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-8SqkI.pdf','pdf','1-資產管理辦法.pdf',4,'2022-06-25 16:40:09','2022-08-25 17:27:00'),(50,'1656146409-YzmDG.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-YzmDG.pdf','pdf','2-廠商管理辦法.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:31'),(51,'1656146409-4L5Mt.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-4L5Mt.pdf','pdf','3-設備管理維護作業準則.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:33'),(52,'1656146409-RJwYQ.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-RJwYQ.pdf','pdf','4-設備維護年度計畫.pdf',2,'2022-06-25 16:40:09','2022-08-25 17:26:33'),(53,'1656146409-Vzl4G.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-Vzl4G.pdf','pdf','5-危機處理與緊急應變計畫.pdf',1,'2022-06-25 16:40:09','2022-08-25 17:24:43'),(54,'1656146409-uRn8G.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-uRn8G.pdf','pdf','7-設備管理維護辦法.pdf',1,'2022-06-25 16:40:09','2022-08-25 17:24:43'),(55,'1656146409-u3drM.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-u3drM.pdf','pdf','8-資安、當機、駭客入侵緊急應變計畫.pdf',1,'2022-06-25 16:40:09','2022-08-25 17:26:57'),(56,'1656146409-ykG74.pdf','http://61.222.168.207:8080/wu1n/file/1656146409-ykG74.pdf','pdf','14-事件處理流程.pdf',1,'2022-06-25 16:40:09','2022-08-25 17:26:57'),(57,'1656146410-15zaw.pdf','http://61.222.168.207:8080/wu1n/file/1656146410-15zaw.pdf','pdf','18-公寓大廈管理服務人員管理辦法.pdf',3,'2022-06-25 16:40:10','2022-08-25 17:26:30'),(58,'1656146410-0kwHG.pdf','http://61.222.168.207:8080/wu1n/file/1656146410-0kwHG.pdf','pdf','9-設施設備故障處理程序.pdf',2,'2022-06-25 16:40:10','2022-08-25 17:26:30'),(59,'1656146713-ymjlS.pdf','http://61.222.168.207:8080/wu1n/file/1656146713-ymjlS.pdf','pdf','25-停車管理辦法.pdf',2,'2022-06-25 16:45:13','2022-08-25 17:26:41'),(60,'1656146713-rFqxC.pdf','http://61.222.168.207:8080/wu1n/file/1656146713-rFqxC.pdf','pdf','23-會議室使用管理辦法.pdf',2,'2022-06-25 16:45:13','2022-08-25 17:26:39'),(61,'1656146825-oMZgW.pdf','http://61.222.168.207:8080/wu1n/file/1656146825-oMZgW.pdf','pdf','16-大樓SOP（標準作業程序）項目.pdf',1,'2022-06-25 16:47:05','2022-06-25 16:50:42'),(62,'1656146825-ERTax.pdf','http://61.222.168.207:8080/wu1n/file/1656146825-ERTax.pdf','pdf','21-行政採購管理辦法.pdf',0,'2022-06-25 16:47:05','2022-06-25 16:47:05'),(63,'1656146938-ACC0C.pdf','http://61.222.168.207:8080/wu1n/file/1656146938-ACC0C.pdf','pdf','17-消防、電力、電信設施管理辦法.pdf',2,'2022-06-25 16:48:58','2022-08-25 17:27:02'),(64,'1656146938-2i5kZ.pdf','http://61.222.168.207:8080/wu1n/file/1656146938-2i5kZ.pdf','pdf','15-裝潢施工管理辦法.pdf',2,'2022-06-25 16:48:58','2022-08-25 17:27:02'),(65,'1656146938-RJh43.pdf','http://61.222.168.207:8080/wu1n/file/1656146938-RJh43.pdf','pdf','11-公區修繕施工安全監管規定.pdf',3,'2022-06-25 16:48:58','2022-08-25 17:27:03'),(66,'1656146938-JNDWL.pdf','http://61.222.168.207:8080/wu1n/file/1656146938-JNDWL.pdf','pdf','12-協力廠商維護保養進場作業規定.pdf',3,'2022-06-25 16:48:58','2022-08-25 17:27:03'),(67,'1656146939-S5RY5.pdf','http://61.222.168.207:8080/wu1n/file/1656146939-S5RY5.pdf','pdf','20-人員證照及合約.pdf',3,'2022-06-25 16:48:59','2022-08-25 17:27:03'),(68,'1657095864-0xAPR.pdf','http://192.168.8.20:8080/wu1n/file/1657095864-0xAPR.pdf','pdf','公設管理辦法.pdf',4,'2022-07-06 16:24:24','2022-08-25 17:26:23'),(69,'1657095866-hsxew.pdf','http://192.168.8.20:8080/wu1n/file/1657095866-hsxew.pdf','pdf','社區垃圾分類及資源回收管理辦法.pdf',6,'2022-07-06 16:24:26','2022-08-25 17:26:22'),(70,'1657095867-dHMKA.pdf','http://192.168.8.20:8080/wu1n/file/1657095867-dHMKA.pdf','pdf','社區郵務服務管理辦法.pdf',4,'2022-07-06 16:24:27','2022-08-25 17:26:23'),(71,'1657095868-G0azn.pdf','http://192.168.8.20:8080/wu1n/file/1657095868-G0azn.pdf','pdf','社區-門禁卡申請購買與設定程序.pdf',5,'2022-07-06 16:24:28','2022-08-25 17:26:23'),(72,'1657095869-Y4hhN.pdf','http://192.168.8.20:8080/wu1n/file/1657095869-Y4hhN.pdf','pdf','停車場使用管理辦法.pdf',6,'2022-07-06 16:24:29','2022-08-25 17:26:23'),(73,'1657095870-yohqE.pdf','http://192.168.8.20:8080/wu1n/file/1657095870-yohqE.pdf','pdf','社區電梯使用管理辦法.pdf',6,'2022-07-06 16:24:30','2022-08-25 17:26:22'),(74,'1657095871-arSYb.pdf','http://192.168.8.20:8080/wu1n/file/1657095871-arSYb.pdf','pdf','機車位使用管理辦法.pdf',4,'2022-07-06 16:24:31','2022-08-25 17:26:23'),(75,'1657099323-tvGG1.pdf','http://192.168.8.20:8080/wu1n/file/1657099323-tvGG1.pdf','pdf','機車位使用管理辦法.pdf',1,'2022-07-06 17:22:03','2022-07-06 17:28:01'),(76,'1657099375-Dwkti.pdf','http://192.168.8.20:8080/wu1n/file/1657099375-Dwkti.pdf','pdf','社區電梯使用管理辦法.pdf',0,'2022-07-06 17:22:55','2022-07-06 17:22:55'),(77,'1657099411-DQ28p.pdf','http://192.168.8.20:8080/wu1n/file/1657099411-DQ28p.pdf','pdf','停車場使用管理辦法.pdf',0,'2022-07-06 17:23:31','2022-07-06 17:23:31'),(78,'1657099488-JMtsX.pdf','http://192.168.8.20:8080/wu1n/file/1657099488-JMtsX.pdf','pdf','社區-門禁卡申請購買與設定程序.pdf',1,'2022-07-06 17:24:48','2022-08-25 17:03:20'),(79,'1657099593-DDRsK.pdf','http://192.168.8.20:8080/wu1n/file/1657099593-DDRsK.pdf','pdf','社區郵務服務管理辦法.pdf',0,'2022-07-06 17:26:33','2022-07-06 17:26:33'),(80,'1657099626-LCVHX.pdf','http://192.168.8.20:8080/wu1n/file/1657099626-LCVHX.pdf','pdf','社區垃圾分類及資源回收管理辦法.pdf',2,'2022-07-06 17:27:06','2022-08-16 18:01:37'),(81,'1657099656-m5Ar7.pdf','http://192.168.8.20:8080/wu1n/file/1657099656-m5Ar7.pdf','pdf','公設管理辦法.pdf',7,'2022-07-06 17:27:36','2022-09-15 14:22:27'),(82,'1657100964-X0c7j.pdf','http://192.168.8.20:8080/wu1n/file/1657100964-X0c7j.pdf','pdf','大樓簡介.pdf',0,'2022-07-06 17:49:24','2022-07-06 17:49:24'),(83,'1657101042-lUWke.pdf','http://192.168.8.20:8080/wu1n/file/1657101042-lUWke.pdf','pdf','大樓介紹.pdf',7,'2022-07-06 17:50:42','2022-09-15 18:52:03'),(84,'1657101090-asd6w.pdf','http://192.168.8.20:8080/wu1n/file/1657101090-asd6w.pdf','pdf','大樓服務.pdf',1,'2022-07-06 17:51:30','2022-07-06 17:54:01'),(85,'1657101177-T1yxR.pdf','http://192.168.8.20:8080/wu1n/file/1657101177-T1yxR.pdf','pdf','各項管理規章彙編.pdf',2,'2022-07-06 17:52:57','2022-09-15 14:22:18'),(86,'1657156079-ZOEfX.pdf','http://192.168.8.20:8080/wu1n/file/1657156079-ZOEfX.pdf','pdf','大樓服務.pdf',11,'2022-07-07 09:07:59','2022-09-15 18:51:56'),(87,'1661235951-NiPT2.pdf','http://61.222.168.207:8080/wu1n/file/1661235951-NiPT2.pdf','pdf','績效管理文件.pdf',3,'2022-08-23 14:25:51','2022-08-25 17:26:30'),(88,'1661244180-WUdoT.pdf','http://61.222.168.207:8080/wu1n/file/1661244180-WUdoT.pdf','pdf','大樓SOP（標準作業程序）.pdf',3,'2022-08-23 16:43:00','2022-08-25 17:26:30'),(89,'1661501857-k4mu0.pdf','http://192.168.8.20:8080/wu1n/file/1661501857-k4mu0.pdf','pdf','地下停車場 B2、B3 特清通知-111年08月26日.pdf',2,'2022-08-26 16:17:37','2022-08-26 16:22:35');

--
-- Table structure for table `fire_control_cctvs`
--

CREATE TABLE `fire_control_cctvs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sid` int NOT NULL COMMENT 'BA設備ID',
  `cid` int NOT NULL COMMENT 'CCTV設備ID',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fire_control_cctvs`
--


--
-- Table structure for table `fire_control_imports`
--

CREATE TABLE `fire_control_imports` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `success` int NOT NULL COMMENT '成功筆數',
  `fail` int NOT NULL COMMENT '失敗筆數',
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '註記',
  `file_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '檔案名稱',
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '類型',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fire_control_imports`
--


--
-- Table structure for table `fire_control_phones`
--

CREATE TABLE `fire_control_phones` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sid` int NOT NULL COMMENT 'BA設備ID',
  `phone_list_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '手機號碼清單ID',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fire_control_phones`
--


--
-- Table structure for table `fire_control_subtitles`
--

CREATE TABLE `fire_control_subtitles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sid` int NOT NULL COMMENT 'BA設備ID',
  `stid` int NOT NULL COMMENT '字幕機設備ID',
  `message` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '訊息內容',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fire_control_subtitles`
--


--
-- Table structure for table `fire_control_voices`
--

CREATE TABLE `fire_control_voices` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `sid` int NOT NULL COMMENT 'BA設備ID',
  `vid` int NOT NULL COMMENT '語音代碼ID',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `fire_control_voices`
--


--
-- Table structure for table `firms`
--

CREATE TABLE `firms` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `no` varchar(15) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `type` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL,
  `image` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `address` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `tel_no` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `fax` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `contacts` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `country` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cell_phone` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `web_site` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `ein` varchar(15) COLLATE utf8mb3_unicode_ci NOT NULL,
  `business_hours` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `email` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `business_item` varchar(50) COLLATE utf8mb3_unicode_ci NOT NULL,
  `remark` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `annex` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `download` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `safety_precautions` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `details` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  KEY `firms_no_index` (`no`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `firms`
--

INSERT INTO `firms` VALUES (2,'','笙陽通信科技有限公司','住','','334桃園市八德區忠勇街72號1F','03-363-1234','03-367-6577','艾滄海','桃園縣','','https://www.suryan.com.tw/tw/About/46/%E9%97%9C%E6%96%BC%E7%AC%99%E9%99%BD','16922261','0800-1200,1300-1730','suryan.ai@msa.hinet.net','提供專業諮詢、案件規劃、工程建置、維護保養等服務。','','','','','','',0,'2022-06-22 10:38:10','2022-06-22 10:40:18'),(3,'','台灣西門子股份有限公司','住','','','02-7747-8888','','朱慶隆','臺北市','','','','週一至週五 9:00~18:00','contact.tw@siemens.com','中央監控系統','','','','','','',0,'2022-06-22 10:43:32','2022-06-22 10:43:32'),(4,'','八京國際','住','','','033116767','','','臺北市','','','','','','','鋁窗','','','','','',0,'2022-07-07 09:16:17','2022-07-07 09:16:17'),(5,'','育璽貿易','住','','','0225354857','','','臺北市','','','','','','','玻璃','','','','','',0,'2022-07-07 09:20:08','2022-07-07 09:20:08'),(6,'','台灣三菱','住','','','02-2733-4463','','','臺北市','','','','','','','維修編號:L19663#1~5','','','','','',0,'2022-07-07 09:21:32','2022-07-07 09:21:32'),(7,'','櫻花電梯','住','','','03-313-9668','','','臺北市','','','','','','','電梯設備(2F)','','','','','',0,'2022-07-07 09:22:29','2022-07-07 09:22:29'),(8,'','新悦石材','住','','','02-2847-9292','','','臺北市','','','','','','','內牆石材','','','','','',0,'2022-07-07 09:23:43','2022-07-07 09:23:43'),(9,'','福驥石材','食','','','02-2431-7450','','','臺北市','','','','','','','外牆石材','','','','','',0,'2022-07-07 09:24:31','2022-07-07 09:24:31'),(10,'','大順防水','住','','','02-2894-1789','','','臺北市','','','','','','','','','','','','',0,'2022-07-07 09:59:09','2022-07-07 09:59:09'),(11,'','日東洋企業','住','','','02-2528-7320','','','臺北市','','','','','','','高架地板','','','','','',0,'2022-07-07 10:02:35','2022-07-07 10:02:35'),(12,'','樺辰室內裝修','住','','','02-8691-5889','','','臺北市','','','','','','','系統天花板','','','','','',0,'2022-07-07 10:03:44','2022-07-07 10:03:44'),(13,'','華騰工程','住','','','04-2251-2813','','','臺北市','','','','','','','Epoxy','','','','','',0,'2022-07-07 10:05:33','2022-07-07 10:05:33'),(14,'','國鎰不銹鋼','住','','','02-2995-8958','','','臺北市','','','','','','','門窗,金屬工程','','','','','',0,'2022-07-07 10:07:57','2022-07-07 10:07:57'),(15,'','宗鼎金屬','住','','','03-367-8319','','','臺北市','','','','','','','陽台欄杆','','','','','',0,'2022-07-07 10:08:54','2022-07-07 10:08:54');

--
-- Table structure for table `forum_classes`
--

CREATE TABLE `forum_classes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `forum_classes`
--

INSERT INTO `forum_classes` VALUES (1,'社區討論','2022-05-26 13:47:43','2022-05-26 13:47:43'),(2,'玩樂話題','2022-05-26 13:47:43','2022-05-26 13:47:43'),(3,'社區雜事','2022-05-26 13:47:43','2022-05-26 13:47:43'),(4,'買賣交流','2022-05-26 13:47:43','2022-05-26 13:47:43');

--
-- Table structure for table `forum_contents`
--

CREATE TABLE `forum_contents` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL COMMENT '回文者',
  `respondText` text COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '回文內容',
  `title_id` int NOT NULL COMMENT '回覆文章編號',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `forum_contents`
--


--
-- Table structure for table `forum_lists`
--

CREATE TABLE `forum_lists` (
  `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT '文章編號',
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '文章主題',
  `viewNumber` int NOT NULL COMMENT '瀏覽人數',
  `isTopping` tinyint(1) NOT NULL COMMENT '是否置頂',
  `isOpenning` tinyint(1) NOT NULL COMMENT '是否開放留言',
  `titleStatue` tinyint NOT NULL COMMENT '文章狀態 EX:開放、隱藏、',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `forum_lists`
--


--
-- Table structure for table `forums`
--

CREATE TABLE `forums` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `forum_topic` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `parent_id` int NOT NULL,
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `readed` text COLLATE utf8mb3_unicode_ci,
  `count_read` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `forums`
--


--
-- Table structure for table `general_category`
--

CREATE TABLE `general_category` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `function` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `category` varchar(30) COLLATE utf8mb3_unicode_ci NOT NULL,
  `budget_year` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '預算年度',
  `budget_amount` int NOT NULL COMMENT '預算金額',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `general_category`
--

INSERT INTO `general_category` VALUES (1,'asset','123','',0,'2022-05-26 17:04:43','2022-05-26 17:04:43');

--
-- Table structure for table `guest_applies`
--

CREATE TABLE `guest_applies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL COMMENT '員工ID',
  `reserve_date` date NOT NULL COMMENT '預約日期',
  `place` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '拜訪地點',
  `com_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '公司名稱',
  `guest_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '人員姓名',
  `time_start` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '時間區間起',
  `time_end` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '時間區間止',
  `guest_phone` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '聯絡電話',
  `email` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `amount` int NOT NULL COMMENT '來訪人數',
  `title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '職稱',
  `reason` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '原因',
  `memo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '備註',
  `code` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '車牌號碼',
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '車位',
  `parking_id` int NOT NULL COMMENT '停車預約單ID',
  `access_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '門禁資料ID',
  `status` int NOT NULL COMMENT '狀態',
  `digital_type` int NOT NULL COMMENT '是否公播',
  `digital_title` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '公播title',
  `digital_content` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '公播內容',
  `QRCode` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `visitCode` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `guest_applies`
--

INSERT INTO `guest_applies` VALUES (1,634,'2022-08-26','八德','','王小姐','11:00','12:00','123','',12,'','','','','',0,'',4,0,'','','','','2022-08-25 13:52:29','2022-08-25 13:52:34'),(2,634,'2022-08-26','八德','','王小姐','12:00','13:00','123','',2,'','','','','',0,'',4,0,'','','','','2022-08-25 13:57:48','2022-08-25 13:57:54'),(3,634,'2022-09-02','寰宇1號','123','王小姐','10:00','14:00','123','huangpinsyuan37@gmail.com',2,'','123','','','',0,'',4,0,'','','','','2022-09-02 10:08:49','2022-09-02 11:38:31'),(4,634,'2022-09-02','寰宇1號','','王小姐','09:00','13:00','123','huangpinsyuan37@gmail.com',2,'','','','','',0,'',0,0,'','','','','2022-09-02 10:13:03','2022-09-02 10:13:03'),(5,634,'2022-09-02','寰宇1號','','王小姐','10:00','15:00','123','php artisan config:clear',1,'','','','','',0,'',0,0,'','','','','2022-09-02 10:28:55','2022-09-02 10:28:55'),(6,634,'2022-09-02','寰宇1號','','王小姐','10:00','14:00','123','huangpinsyuan37@gmail.com',2,'','','','','',0,'',0,0,'','','','','2022-09-02 10:55:40','2022-09-02 10:55:40'),(7,634,'2022-09-15','寰宇1號','','王小姐','09:00','12:00','123','huangpinsyuan37@gmail.com',12,'','','','','',0,'',0,0,'','','','','2022-09-02 11:01:17','2022-09-02 11:01:17'),(8,634,'2022-09-02','寰宇1號','','王小姐','11:00','14:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 11:06:56','2022-09-02 11:06:56'),(9,634,'2022-09-22','寰宇1號','','王小姐','10:00','14:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 11:19:09','2022-09-02 11:19:09'),(10,634,'2022-09-02','寰宇1號','新保','王小姐','09:00','14:00','0912345678','huangpinsyuan37@gmail.com',1,'職員','測試','','','',0,'',4,0,'','','','','2022-09-02 14:51:53','2022-10-26 06:53:09'),(11,634,'2022-09-02','寰宇1號','','123','09:00','16:00','123','huangpinsyuan37@gmail.com',123,'','','','','',0,'',0,0,'','','','','2022-09-02 15:30:38','2022-09-02 15:30:38'),(12,34,'2022-09-02','寰宇1號','','123','10:00','16:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 15:33:56','2022-09-02 15:33:56'),(13,34,'2022-09-02','寰宇1號','','test','09:00','16:00','1231','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 15:40:04','2022-09-02 15:40:04'),(14,34,'2022-09-02','寰宇1號','','test','09:00','16:00','123','huanginsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 15:44:57','2022-09-02 15:44:57'),(15,34,'2022-09-02','寰宇1號','','test','09:00','17:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 15:48:37','2022-09-02 15:48:37'),(16,34,'2022-09-02','寰宇1號','','test','09:00','17:00','123','huangpinsyuan37@gmail.com',123,'','','','','',0,'',0,0,'','','','','2022-09-02 15:52:07','2022-09-02 15:52:07'),(17,34,'2022-09-02','寰宇1號','','test','09:00','17:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 16:12:32','2022-09-02 16:12:32'),(18,34,'2022-09-02','寰宇1號','11','1','13:00','18:00','11','nestea6148@gmail.com',1,'1','11','','','',0,'',4,0,'','','','','2022-09-02 16:20:06','2022-10-26 06:54:29'),(19,34,'2022-09-02','寰宇1號','','123','10:00','18:00','12311','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 16:29:32','2022-09-02 16:29:32'),(20,530,'2022-09-02','寰宇1號','','123','10:00','17:00','123','nestea6148@gmail.com',2,'','','','','',0,'',0,0,'','','','','2022-09-02 16:45:34','2022-09-02 16:45:34'),(21,530,'2022-09-02','寰宇1號','1','1','12:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-09-02 17:08:06','2022-09-02 17:08:06'),(22,34,'2022-09-02','寰宇1號','','test','09:00','18:00','123','nesteaa6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 17:33:51','2022-09-02 17:33:51'),(23,34,'2022-09-02','寰宇1號','','test','09:00','18:00','123','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-02 17:34:31','2022-09-02 17:34:31'),(24,530,'2022-09-02','寰宇1號','','1','14:00','19:00','1','nestea6148@gmail.com',111,'1','1','','','',0,'',0,0,'','','','','2022-09-02 18:10:49','2022-09-02 18:10:49'),(25,34,'2022-09-13','寰宇1號','1','1','12:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-09-13 13:17:29','2022-09-13 13:17:29'),(26,34,'2022-09-13','寰宇1號','','123','09:00','18:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-13 15:08:02','2022-09-13 15:08:02'),(27,34,'2022-09-13','寰宇1號','123','123','15:00','16:00','11223','jo.yes243@gmail.com',1,'123','123','','','',0,'',0,0,'','','','','2022-09-13 15:38:18','2022-09-13 15:38:18'),(28,34,'2022-09-13','寰宇1號','1','1','11:00','18:00','1','nestea6148@gmail.com',1,'11','1','','','',0,'',0,0,'','','','','2022-09-13 15:41:37','2022-09-13 15:41:37'),(29,34,'2022-09-15','寰宇1號','新保科技','楊先生','12:00','18:00','091234567','ryan184567@gmail.com',100,'老闆','','','','',0,'',0,0,'','','','','2022-09-15 16:46:35','2022-09-15 16:46:35'),(30,34,'2022-09-16','寰宇1號','11','2','11:00','18:00','T','nestea 648@gma.com',2,'1','1','','','',0,'',0,0,'','','','','2022-09-16 12:39:34','2022-09-16 12:39:34'),(31,34,'2022-09-16','寰宇1號','Q','Q','10:00','18:00','Q','nestea6148@gmail.com',0,'J','Q','','','',0,'',0,0,'','','','','2022-09-16 12:47:52','2022-09-16 12:47:52'),(32,34,'2022-09-28','寰宇1號','1','1','10:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-09-21 05:14:56','2022-09-21 05:14:56'),(33,34,'2022-09-30','寰宇1號','','Mike','09:00','18:00','0912345678','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-09-30 01:57:12','2022-09-30 01:57:12'),(34,34,'2022-10-25','寰宇1號','','mike','10:00','18:00','0912345678','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-10-25 02:21:47','2022-10-25 02:21:47'),(35,34,'2022-10-25','寰宇1號','','mike','10:00','18:00','0912345678','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-10-25 02:22:21','2022-10-25 02:22:21'),(36,34,'2022-10-25','寰宇1號','','mike','09:00','18:00','0912345678','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-10-25 02:23:01','2022-10-25 02:23:01'),(37,34,'2022-10-25','寰宇1號','','mike','11:00','18:00','0912345678','nestea6148@gmail.com',1,'','','','','',0,'',0,0,'','','','','2022-10-25 02:23:19','2022-10-25 02:23:19'),(38,34,'2022-10-25','寰宇1號','1','mike','11:00','18:00','0912345678','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-10-25 02:23:33','2022-10-25 02:23:33'),(39,34,'2022-10-25','寰宇1號','1','mike','11:00','18:00','0912345678','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-10-25 02:25:35','2022-10-25 02:25:35'),(40,34,'2022-10-25','寰宇1號','1','1','09:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-10-25 02:38:59','2022-10-25 02:38:59'),(41,559,'2022-10-25','寰宇1號','1','1','09:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-10-25 02:39:07','2022-10-25 02:39:07'),(42,559,'2022-10-25','寰宇1號','1','1','09:00','18:00','1','nestea6148@gmail.com',1,'1','1','','','',0,'',0,0,'','','','','2022-10-25 02:39:22','2022-10-25 02:39:22'),(43,573,'2022-10-26','寰宇1號','','吳素貞','10:00','12:00','02-2902-1111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:14:50','2022-10-26 01:14:50'),(44,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-2902-1111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:15:23','2022-10-26 01:15:23'),(45,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-2902-1111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:15:57','2022-10-26 01:15:57'),(46,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-2902-1111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:16:33','2022-10-26 01:16:33'),(47,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-2902-1111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:16:42','2022-10-26 01:16:42'),(48,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-29021111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:18:34','2022-10-26 01:18:34'),(49,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-29021111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:18:40','2022-10-26 01:18:40'),(50,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-29021111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:19:02','2022-10-26 01:19:02'),(51,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-29021111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:19:51','2022-10-26 01:19:51'),(52,573,'2022-10-26','寰宇1號','第一銀行','吳素貞','10:00','12:00','02-29021111','edith@evermore.tw',3,'','','','','',0,'',0,0,'','','','','2022-10-26 01:20:03','2022-10-26 01:20:03'),(53,34,'2022-10-26','寰宇1號','','123','09:00','18:00','1234','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 03:50:23','2022-10-26 06:29:47'),(54,34,'2022-10-26','寰宇1號','','123','09:00','18:00','1234','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 05:07:48','2022-10-26 06:29:42'),(55,34,'2022-10-26','寰宇1號','','123','09:00','18:00','1234','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 05:49:38','2022-10-26 06:29:38'),(56,34,'2022-10-26','寰宇1號','','123','09:00','18:00','123','huangpinsyuan37@gmail.com',123,'','','','','',0,'',4,0,'','','','','2022-10-26 06:07:00','2022-10-26 06:29:28'),(57,34,'2022-10-26','寰宇1號','','王小姐','09:00','18:00','123','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 06:18:43','2022-10-26 06:27:49'),(58,34,'2022-10-26','寰宇1號','','1','09:00','18:00','1','huangpinsyuan37@gmail.com',1,'','1','','','',0,'',0,0,'','','','','2022-10-26 06:36:30','2022-10-26 06:36:30'),(59,34,'2022-10-26','寰宇1號','','王小姐','09:00','18:00','1','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 06:49:50','2022-10-26 06:52:47'),(60,34,'2022-10-26','寰宇1號','','123','09:00','18:00','1','huangpinsyuan37@gmail.com',1,'','','','','',0,'',4,0,'','','','','2022-10-26 06:50:35','2022-10-26 06:53:30'),(61,34,'2022-10-27','寰宇1號','1','1','11:00','18:00','1','nestea6148@gmail.com',1,'1','','','','',0,'',0,0,'','','','','2022-10-27 06:00:54','2022-10-27 06:00:54'),(62,34,'2022-10-27','寰宇1號','','王小姐','09:00','18:00','1','huangpinsyuan37@gmail.com',1,'1','','','','',0,'',0,0,'','','','','2022-10-27 07:15:09','2022-10-27 07:15:09');

--
-- Table structure for table `guest_pawns`
--

CREATE TABLE `guest_pawns` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `info` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `guest_pawns`
--

INSERT INTO `guest_pawns` VALUES (1,'證件類','身分證','身分證件','2022-05-26 13:47:42','2022-05-26 13:47:42'),(2,'證件類','健保卡','國民用健保卡','2022-05-26 13:47:42','2022-05-26 13:47:42'),(3,'證件類','駕照','開車就要帶駕照','2022-05-26 13:47:42','2022-05-26 13:47:42'),(4,'','其他','其他','2022-07-08 09:52:32','2022-07-08 09:52:32'),(5,'','無','無','2022-07-08 09:52:47','2022-07-08 09:52:47');

--
-- Table structure for table `guests`
--

CREATE TABLE `guests` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `host` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `host_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_in_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_phone` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_in_sign` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_in_image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `guest_pawn` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_out_sign` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_out_image` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `guest_count` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_rfid` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_in_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_out_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `cost_type` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '0 臨停收費、1 違停罰款',
  `cost` double(8,2) NOT NULL COMMENT '臨停收費、違停罰款之金額',
  `guest_out_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `handler` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `status` int NOT NULL,
  `invalid_time` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `location` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_relationship` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_cause` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `guest_photo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `door` text COLLATE utf8mb3_unicode_ci NOT NULL,
  `floor_limit` text COLLATE utf8mb3_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `guests`
--

INSERT INTO `guests` VALUES (1,'123','123','外部','外部','','6','1653556361.png',NULL,'身分證','1653984784.png',NULL,'1','C','2022-05-26 17:12:41','2022-05-31 16:13:04','',0.00,'','22',2,'','2022-05-26 17:12:41','2022-05-26 17:12:41','1','家人','探訪','','',''),(2,'陳約翰','11-john','外部','外部','','0930600841','1653897580.png',NULL,'身分證','1653897624.png',NULL,'1','66','2022-05-30 15:59:40','2022-05-30 16:00:24','',0.00,'','22',2,'','2022-05-30 15:59:40','2022-05-30 15:59:40','2','朋友','洽公','','',''),(3,'彥嘉','12345','外部','外部','','','1653984690.png',NULL,'身分證','1653984740.png',NULL,'1','','2022-05-31 16:11:30','2022-05-31 16:12:20','',0.00,'','22',2,'','2022-05-31 16:11:30','2022-05-31 16:11:30','2','朋友','','','',''),(4,'','','外部','外部','','','1657243873.png',NULL,'身分證','',NULL,'1','','2022-07-08 09:31:13','','',0.00,'','22',2,'','2022-07-08 09:31:13','2022-07-14 15:44:23','1','朋友','洽公','','',''),(5,'','','外部','外部','','','1657250567.png',NULL,'無','',NULL,'4','','2022-07-08 11:22:47','','',0.00,'','22',2,'','2022-07-08 11:22:47','2022-07-14 15:44:26','2','朋友','洽公','','',''),(6,'商戶','100801001','外部','外部','','093000000','1657269245.png',NULL,'健保卡','',NULL,'1','','2022-07-08 16:34:05','','',0.00,'','1',2,'','2022-07-08 16:34:05','2022-07-14 15:44:29','3','家人','探訪','','',''),(7,'郵務室-張立德','222-4-1-16','外部','外部','','0982464532','1660643953.png',NULL,'健保卡','',NULL,'2','0456818610','2022-08-16 17:59:13','2022-08-16 18:00:08','',0.00,'','22',2,'','2022-08-16 17:59:13','2022-08-16 17:59:13','1','廠商','開 會','','',''),(8,'中租迪和股份有限公司','21810001','外部','外部','','0930124667','1660725760.png',NULL,'身分證','',NULL,'5','','2022-08-17 16:42:40','2022-09-19 13:27:54','',0.00,'','22',2,'','2022-08-17 16:42:40','2022-08-26 09:26:27','1','廠商','開 會','','',''),(9,'中租迪和股份有限公司','22011001','外部','外部','','0978556231','1660725819.png',NULL,'健保卡','',NULL,'6','','2022-08-17 16:43:39','2022-09-19 13:27:39','',0.00,'','22',2,'','2022-08-17 16:43:39','2022-08-26 09:26:54','2','朋友','探訪','','','');

--
-- Table structure for table `health_classes`
--

CREATE TABLE `health_classes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '名稱',
  `company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '廠商',
  `status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `health_classes`
--


--
-- Table structure for table `health_devices`
--

CREATE TABLE `health_devices` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備名稱',
  `device_number` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備編號',
  `class_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '類別ID',
  `location_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '位置ID',
  `status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `health_devices`
--


--
-- Table structure for table `health_locations`
--

CREATE TABLE `health_locations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '名稱',
  `building` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '棟別',
  `floor` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '樓層',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '位置',
  `status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '資料狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `health_locations`
--


--
-- Table structure for table `health_logs`
--

CREATE TABLE `health_logs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `deviceNo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `patientNo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `patientName` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `patientGender` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `patientBirthday` date NOT NULL,
  `chartNo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `rfidNo` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `measureDateTime` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `BT` double(8,2) NOT NULL,
  `BH` double(8,2) NOT NULL,
  `BW` double(8,2) NOT NULL,
  `BMI` double(8,2) NOT NULL,
  `SP` int NOT NULL,
  `DP` int NOT NULL,
  `Pulse` int NOT NULL,
  `SpO2` int NOT NULL,
  `Glucose` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `health_logs`
--


--
-- Table structure for table `health_records`
--

CREATE TABLE `health_records` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '使用者ID',
  `card_no` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `height` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '身高',
  `weight` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '體重',
  `SBP` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '收縮壓',
  `DBP` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '舒張壓',
  `PULSE` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '脈搏',
  `type_mode` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '主機狀態',
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `command_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '流水號',
  `hd_id` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '設備ID',
  `GLU` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '血糖',
  `BT` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL COMMENT '體溫',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `health_records`
--


--
-- Table structure for table `healths`
--

CREATE TABLE `healths` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `hbp` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `lbp` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `pulse` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `data` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `healths`
--


--
-- Table structure for table `home_service_items`
--

CREATE TABLE `home_service_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `status` int NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `home_service_items`
--


--
-- Table structure for table `home_services`
--

CREATE TABLE `home_services` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `service` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `peoples` int DEFAULT NULL,
  `time` datetime NOT NULL,
  `status` int DEFAULT NULL,
  `info` text COLLATE utf8mb3_unicode_ci,
  `handle` text COLLATE utf8mb3_unicode_ci,
  `time_handle` datetime DEFAULT NULL,
  `handle_by` varchar(255) COLLATE utf8mb3_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `home_services`
--

INSERT INTO `home_services` VALUES (1,22,'wu1n','0937812992','室內裝潢',1,'2022-06-15 15:30:00',0,NULL,NULL,NULL,'','2022-06-10 15:39:16','2022-06-10 15:39:16'),(2,34,'專員-鍾伊姍','','教練預約,代訂旅館,才藝學習,搬家清運',1,'2022-08-25 17:19:00',0,NULL,NULL,NULL,'','2022-08-25 17:20:25','2022-08-25 17:20:25'),(3,33,'朱應東','','代叫車',1,'2022-08-25 17:27:00',0,NULL,NULL,NULL,'','2022-08-25 17:28:02','2022-08-25 17:28:02');

--
