-- Table structure for table `em_customer_nationality`
--

CREATE TABLE `em_customer_nationality` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_id` int DEFAULT NULL,
  `nationality_id` bigint DEFAULT NULL,
  `number` int DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `em_customer_nationality`
--

INSERT INTO `em_customer_nationality` VALUES (2,603,2,222,'2222\r\nđâf\r\nđâf\r\nđầ\r\nadfad\r\nf','2024-07-23 13:15:09',NULL,'2024-07-23 13:37:25',NULL,NULL),(3,603,20,2222,'2222','2024-07-23 13:15:28',NULL,'2024-07-23 13:15:28',NULL,NULL),(4,603,14,22222,'adfsadf\r\nadfasdf\r\ndafsadf\r\nasfdasdfadsf','2024-07-23 13:15:44',NULL,'2024-07-23 13:15:44',NULL,NULL);

--
-- Table structure for table `em_customer_office`
--

CREATE TABLE `em_customer_office` (
  `customer_office_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_kana` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fax` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postcode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `corporate_number` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `office_area` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `office_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `employment_insurance_office_number` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `supervion_license_number` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permission_date` date DEFAULT NULL,
  `planning_period_from_date` date DEFAULT NULL,
  `planning_period_from_to` date DEFAULT NULL,
  `new_buid_date` date DEFAULT NULL,
  `abolition_date` date DEFAULT NULL,
  `jobs_comment` text COLLATE utf8mb4_unicode_ci,
  `work_intern_area` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `intern_prefecture` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_execution_frequency` smallint DEFAULT NULL,
  `identifying_code` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `customer_id` bigint NOT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`customer_office_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_customer_office`
--

INSERT INTO `em_customer_office` VALUES (1,'2313','321','1234123412','321',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'1',NULL,NULL,NULL,NULL,1,1,'2023-12-24 11:26:33',1,'2023-12-24 11:26:33',2),(2,'user1@gmail.com','user1@gmail.com','1231231231','21321321',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'1',NULL,NULL,NULL,NULL,1,1,'2023-12-27 12:49:37',1,'2023-12-27 12:49:37',2),(3,'user3@gmail.com','user3@gmail.com','1231231231','21321321',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'1',NULL,NULL,NULL,NULL,1,1,'2023-12-29 23:19:18',1,'2023-12-29 23:19:18',2);

--
-- Table structure for table `em_customer_staff`
--

CREATE TABLE `em_customer_staff` (
  `customer_staff_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_kana` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `birthday` date DEFAULT NULL,
  `sex` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nationality` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_office_id` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postcode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificate` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `certificate_submit` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assignment_date` date DEFAULT NULL,
  `role` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `work_condition` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_id` bigint NOT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` int NOT NULL,
  PRIMARY KEY (`customer_staff_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_customer_staff`
--

INSERT INTO `em_customer_staff` VALUES (1,'staff1','staff1',NULL,'M',NULL,NULL,'1','1231231231',NULL,NULL,NULL,NULL,'staff1@gmail.com','1',NULL,'1','1',2,1,'2023-12-24 14:37:58',1,'2023-12-24 14:37:58',2),(2,'staff2','staff2',NULL,'M',NULL,NULL,'1','1231231231',NULL,NULL,NULL,NULL,'staff2@gmail.com','1',NULL,'1','1',6,1,'2023-12-24 14:38:18',1,'2023-12-24 14:38:18',2),(3,'staff1','aaa',NULL,NULL,NULL,NULL,NULL,'222',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,9,76,'2024-02-23 13:53:47',76,'2024-02-23 13:55:02',21),(4,'staff2','',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,9,76,'2024-02-23 13:55:07',NULL,'2024-02-23 13:55:07',21),(5,'staff_ok1','',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,11,76,'2024-02-23 13:57:01',NULL,'2024-02-23 13:57:01',21),(6,'staff_ok2','',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,11,76,'2024-02-23 13:57:01',NULL,'2024-02-23 13:57:01',21),(7,'staff2','staff2',NULL,NULL,NULL,NULL,NULL,'staff2',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,12,76,'2024-02-23 13:57:39',NULL,'2024-02-23 13:57:39',21),(8,'staff_ok3','',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,11,1,'2024-02-23 18:12:24',NULL,'2024-02-23 18:12:24',1),(9,'user1','abc',NULL,NULL,NULL,NULL,NULL,'1312313123',NULL,NULL,NULL,NULL,'staff2@gmail.com',NULL,NULL,NULL,NULL,6,1,'2024-03-12 17:46:16',NULL,'2024-03-12 17:46:16',1),(10,'tesst name','name kana',NULL,NULL,NULL,NULL,NULL,'1234123412',NULL,NULL,NULL,NULL,'abc@gmail.com',NULL,NULL,NULL,NULL,18,1,'2024-03-12 17:50:29',NULL,'2024-03-12 17:50:29',1),(11,'tesst name','name kana',NULL,NULL,NULL,NULL,NULL,'1234123412',NULL,NULL,NULL,NULL,'abc@gmail.com',NULL,NULL,NULL,NULL,16,1,'2024-03-12 17:50:29',NULL,'2024-03-12 17:50:29',1),(13,'企業１＿担当者１','担当者１',NULL,NULL,NULL,NULL,NULL,'12345678',NULL,NULL,NULL,NULL,'staff1@gmail.com',NULL,NULL,NULL,NULL,2,1,'2024-04-30 12:31:24',NULL,'2024-04-30 12:31:24',1),(14,'xuan_staff_1','xuan_staff_1',NULL,NULL,NULL,NULL,NULL,'0474-022-022',NULL,NULL,NULL,NULL,'staff_1@gmail.com',NULL,NULL,NULL,NULL,19,1,'2024-04-30 12:35:33',NULL,'2024-04-30 12:35:33',1),(15,'xuan_staff_2','xuan_staff_2',NULL,NULL,NULL,NULL,NULL,'0474-022-022',NULL,NULL,NULL,NULL,'staff_2@gmail.com',NULL,NULL,NULL,NULL,19,1,'2024-04-30 12:35:33',NULL,'2024-04-30 12:35:33',1);

--
-- Table structure for table `em_customer_trainee`
--

CREATE TABLE `em_customer_trainee` (
  `customer_trainee_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint NOT NULL,
  `trainee_id` bigint NOT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` int NOT NULL,
  PRIMARY KEY (`customer_trainee_id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_customer_trainee`
--

INSERT INTO `em_customer_trainee` VALUES (1,6,10,1,'2024-03-09 01:14:34',NULL,'2024-03-09 01:14:34',1),(2,2,11,1,'2024-03-16 00:55:05',NULL,'2024-03-16 00:55:05',1),(3,2,13,1,'2024-03-20 19:24:10',NULL,'2024-03-20 19:24:10',1),(4,2,22,1,'2024-03-20 19:24:21',NULL,'2024-03-20 19:24:21',1),(5,2,31,1,'2024-03-27 06:33:27',NULL,'2024-03-27 06:33:27',1),(6,16,32,113,'2024-04-06 22:16:37',NULL,'2024-04-06 22:16:37',10),(7,16,33,113,'2024-04-06 22:19:16',NULL,'2024-04-06 22:19:16',10),(8,16,40,1,'2024-05-06 21:18:45',NULL,'2024-05-06 21:18:45',1),(9,16,41,1,'2024-05-27 04:28:25',NULL,'2024-05-27 04:28:25',1);

--
-- Table structure for table `em_flowgroup`
--

CREATE TABLE `em_flowgroup` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `function_id` int DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_count` int DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_flowgroup`
--


--
-- Table structure for table `em_function`
--

CREATE TABLE `em_function` (
  `function_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sub_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon` longtext COLLATE utf8mb4_unicode_ci,
  `category_id` bigint DEFAULT NULL,
  `permission_required` tinyint(1) DEFAULT '0',
  `identity_ids` text COLLATE utf8mb4_unicode_ci,
  `created_by_id` bigint unsigned DEFAULT '1',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by_id` bigint unsigned DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `company_id` bigint unsigned DEFAULT NULL,
  `is_admin` tinyint DEFAULT '1',
  `is_systemadmin` tinyint DEFAULT '1',
  `is_option` tinyint DEFAULT '1',
  PRIMARY KEY (`function_id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_function`
--

INSERT INTO `em_function` VALUES (1,'ダッシュボード','Dashboard','/dashboard','../assets/dashboard.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M21 16V4H3v12zm0-14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-7v2h2v2H8v-2h2v-2H3a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2zM5 6h9v5H5zm10 0h4v2h-4zm4 3v5h-4V9zM5 12h4v2H5zm5 0h4v2h-4z\"></path></svg>',1,1,NULL,1,'2024-05-07 05:18:08',1,'2024-05-08 09:04:05',1,0,1,1),(2,'ダッシュボード','Event','/event','../assets/event.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M19 19H5V8h14m-3-7v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14a2 2 0 0 0 2 2h14c1.11 0 2-.89 2-2V5a2 2 0 0 0-2-2h-1V1m-7.12 11H7.27l2.92 2.11l-1.11 3.45L12 15.43l2.92 2.13l-1.12-3.44L16.72 12h-3.6L12 8.56z\"></path></svg>',1,0,NULL,1,'2024-05-07 05:18:08',1,'2024-05-08 04:31:12',1,0,0,1),(11,'タスク','Task','/task','../assets/task.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M17.75 2.001a2.25 2.25 0 0 1 2.245 2.096L20 4.25v10.128q-.181.12-.341.28l-3.409 3.408l-.908-.91a2.24 2.24 0 0 0-1.5-.657h2.408a.75.75 0 1 0 0-1.5h-5.004a.75.75 0 0 0 0 1.5h2.413a2.25 2.25 0 0 0-1.5 3.839l1.659 1.66H6.25a2.25 2.25 0 0 1-2.245-2.096L4 19.75V4.251a2.25 2.25 0 0 1 2.096-2.245l.154-.005zM9 7.751a1 1 0 1 0-2 0a1 1 0 0 0 2 0M11.246 7a.75.75 0 0 0 0 1.5h5.004a.75.75 0 1 0 0-1.5zm-.75 4.75c0 .414.336.75.75.75h5.004a.75.75 0 1 0 0-1.5h-5.004a.75.75 0 0 0-.75.75M9 11.75a1 1 0 1 0-2 0a1 1 0 0 0 2 0m0 3.998a1 1 0 1 0-2 0a1 1 0 0 0 2 0m7.25 4.441l4.47-4.47a.75.75 0 1 1 1.06 1.061l-5 5l-.051.047a.75.75 0 0 1-1.01-.047l-2.5-2.501a.75.75 0 0 1 1.062-1.06z\"></path></svg>',1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-08 04:31:18',0,0,1,1),(12,'プロフィール','Profile','/profile','../assets/profile.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12 3.75a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5m-4 9.5A3.75 3.75 0 0 0 4.25 17v1.188c0 .754.546 1.396 1.29 1.517c4.278.699 8.642.699 12.92 0a1.537 1.537 0 0 0 1.29-1.517V17A3.75 3.75 0 0 0 16 13.25h-.34c-.185 0-.369.03-.544.086l-.866.283a7.251 7.251 0 0 1-4.5 0l-.866-.283a1.752 1.752 0 0 0-.543-.086z\"></path></svg>',1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-08 04:31:27',0,1,0,1),(13,'組合','Kumiai','/profile/infor','../assets/kumiai.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12 3.75a3.75 3.75 0 1 0 0 7.5a3.75 3.75 0 0 0 0-7.5m-4 9.5A3.75 3.75 0 0 0 4.25 17v1.188c0 .754.546 1.396 1.29 1.517c4.278.699 8.642.699 12.92 0a1.537 1.537 0 0 0 1.29-1.517V17A3.75 3.75 0 0 0 16 13.25h-.34c-.185 0-.369.03-.544.086l-.866.283a7.251 7.251 0 0 1-4.5 0l-.866-.283a1.752 1.752 0 0 0-.543-.086z\"></path></svg>',1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-08 01:33:56',1,1,1,1),(14,'企業','Customer','/customer','../assets/customer.png','<svg xmlns=\"http://www.w3.org/2000/svg\" class=\"side-menu__icon\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M12 7V3H2v18h20V7zM6 19H4v-2h2zm0-4H4v-2h2zm0-4H4V9h2zm0-4H4V5h2zm4 12H8v-2h2zm0-4H8v-2h2zm0-4H8V9h2zm0-4H8V5h2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8zm-2-8h-2v2h2zm0 4h-2v2h2z\"></path></svg>',1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-08 01:33:06',1,1,1,1),(15,'技能実習生','Trainee','/trainee','../assets/trainee.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(16,'特定技能実習生','Tokutei trainee','/trainee-tokutei','../assets/tokuteitrainee.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(17,'商談案件','Request project','/project-discus-case','../assets/requestproject.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(18,'求人案件','Hiring project','/project-hiring','../assets/hiringproject.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(19,'技能案件','Training project','/project-training','../assets/traineeproject.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(20,'特定技能案件','Tokutei training project','/project-training-intern','../assets/tokuteitraineeproject.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(21,'ドキュメント','Document','/et-document','../assets/document.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(22,'登録送出機関','Registered agency','/company-sending/index','../assets/agency.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(23,'日本語学校','Japanese school','/training-facility','../assets/japaneseschool.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(24,'訪問指導記録','Visiting record','/visit-guidance-record','../assets/visitingrecord.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(25,'請求書','Invoice','/invoice','../assets/invoice.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(26,'送出機関マスター','Agency master','/agencymaster','../assets/agencymaster.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(27,'職種マスター','Jobtype master','/jobtypemaster','../assets/jobtype.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(28,'国籍マスター','Nationality master','/nationalitymaster','../assets/nationality.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(29,'言語マスター','Language master','/languagemaster','../assets/language.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(30,'ユーザー','User','/user','../assets/user.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(31,'アイデンティティ','Identity','/identity','../assets/identity.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(32,'パーミッション','Permission','/access-permission','../assets/permission.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(33,'ドキュメントテンプレート','Document template','/documenttemplate','../assets/documenttemplate.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(34,'メールテンプレート','Mail template','/mailtemplate','../assets/mailtemplate.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(35,'変数','Variable','/variable','../assets/variable.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(36,'ファイル','File','/file','../assets/file.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(37,'ログインログ','Login log','/login-history','../assets/loginlog.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(38,'ダウンロードログ','Download log','/download-history','../assets/downloadlog.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(39,'利用者','Company','/company','../assets/company.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(40,'機能','Function','/function','../assets/function.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(41,'タスクスケジューラ','Scheduler','/scheduler','../assets/scheduler.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(42,'アクセス','Access','/access','../assets/access.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1),(43,'ファイルテンプレート','File template','/filetemplate','../assets/filetemplate.png',NULL,1,0,NULL,1,'2024-05-07 05:20:02',1,'2024-05-07 05:20:02',1,1,1,1);

--
-- Table structure for table `em_function_category`
--

CREATE TABLE `em_function_category` (
  `category_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `em_function_category`
--

INSERT INTO `em_function_category` VALUES (1,'App');

--
-- Table structure for table `em_function_identity`
--

CREATE TABLE `em_function_identity` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `identity_id` bigint NOT NULL,
  `function_id` bigint NOT NULL,
  `company_id` bigint unsigned DEFAULT NULL,
  `add` tinyint NOT NULL DEFAULT '0',
  `edit` tinyint NOT NULL DEFAULT '0',
  `delete` tinyint NOT NULL DEFAULT '0',
  `view` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_function_identity`
--

INSERT INTO `em_function_identity` VALUES (9,6,1,1,1,1,1,1,'2024-03-07 23:34:54','2024-03-07 23:34:54'),(10,6,2,1,0,1,1,1,'2024-03-07 23:34:54','2024-03-07 23:34:54'),(11,6,3,1,0,1,1,0,'2024-03-07 23:34:54','2024-03-07 23:34:54'),(12,6,4,1,0,0,0,0,'2024-03-07 23:34:54','2024-03-07 23:34:54'),(13,46,2,1,1,1,1,1,'2024-03-12 21:40:53','2024-03-12 21:40:53'),(14,46,3,1,0,0,0,0,'2024-03-12 21:40:53','2024-03-12 21:40:53'),(15,46,4,1,0,0,0,0,'2024-03-12 21:40:53','2024-03-12 21:40:53'),(16,46,7,1,0,0,0,0,'2024-03-12 21:40:53','2024-03-12 21:40:53'),(17,46,8,1,0,0,0,0,'2024-03-12 21:40:53','2024-03-12 21:40:53');

--
-- Table structure for table `em_holiday`
--

CREATE TABLE `em_holiday` (
  `start` date NOT NULL,
  `title` varchar(215) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `note` text COLLATE utf8mb3_unicode_ci,
  `country_code` varchar(2) COLLATE utf8mb3_unicode_ci DEFAULT 'JP',
  KEY `start` (`start`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `em_holiday`
--

INSERT INTO `em_holiday` VALUES ('2021-01-01','元日',NULL,'JP'),('2021-01-11','成人の日',NULL,'JP'),('2021-02-11','建国記念の日',NULL,'JP'),('2021-02-23','天皇誕生日',NULL,'JP'),('2021-03-20','春分の日',NULL,'JP'),('2021-04-29','昭和の日',NULL,'JP'),('2021-05-03','憲法記念日',NULL,'JP'),('2021-05-04','みどりの日',NULL,'JP'),('2021-05-05','こどもの日',NULL,'JP'),('2021-07-22','海の日',NULL,'JP'),('2021-07-23','スポーツの日',NULL,'JP'),('2021-08-08','山の日',NULL,'JP'),('2021-08-09','振替休日',NULL,'JP'),('2021-09-20','敬老の日',NULL,'JP'),('2021-09-23','秋分の日',NULL,'JP'),('2021-11-03','文化の日',NULL,'JP'),('2021-11-23','勤労感謝の日',NULL,'JP'),('2022-01-01','元日',NULL,'JP'),('2022-01-10','成人の日',NULL,'JP'),('2022-02-11','建国記念の日',NULL,'JP'),('2022-02-23','天皇誕生日',NULL,'JP'),('2022-03-21','春分の日',NULL,'JP'),('2022-04-29','昭和の日',NULL,'JP'),('2022-05-03','憲法記念日',NULL,'JP'),('2022-05-04','みどりの日',NULL,'JP'),('2022-05-05','こどもの日',NULL,'JP'),('2022-07-18','海の日',NULL,'JP'),('2022-08-11','山の日',NULL,'JP'),('2022-09-19','敬老の日',NULL,'JP'),('2022-09-23','秋分の日',NULL,'JP'),('2022-10-10','スポーツの日',NULL,'JP'),('2022-11-03','文化の日',NULL,'JP'),('2022-11-23','勤労感謝の日',NULL,'JP'),('2023-01-01','元日',NULL,'JP'),('2023-01-02','振替休日',NULL,'JP'),('2023-01-09','成人の日',NULL,'JP'),('2023-02-11','建国記念の日',NULL,'JP'),('2023-02-23','天皇誕生日',NULL,'JP'),('2023-03-21','春分の日',NULL,'JP'),('2023-04-29','昭和の日',NULL,'JP'),('2023-05-03','憲法記念日',NULL,'JP'),('2023-05-04','みどりの日',NULL,'JP'),('2023-05-05','こどもの日',NULL,'JP'),('2023-07-17','海の日',NULL,'JP'),('2023-08-11','山の日',NULL,'JP'),('2023-09-18','敬老の日',NULL,'JP'),('2023-09-23','秋分の日',NULL,'JP'),('2023-10-09','スポーツの日',NULL,'JP'),('2023-11-03','文化の日',NULL,'JP'),('2023-11-23','勤労感謝の日',NULL,'JP'),('2024-01-01','元日',NULL,'JP'),('2024-01-08','成人の日',NULL,'JP'),('2024-02-11','建国記念の日',NULL,'JP'),('2024-02-12','振替休日',NULL,'JP'),('2024-02-23','天皇誕生日',NULL,'JP'),('2024-03-20','春分の日',NULL,'JP'),('2024-04-29','昭和の日',NULL,'JP'),('2024-05-03','憲法記念日',NULL,'JP'),('2024-05-04','みどりの日',NULL,'JP'),('2024-05-05','こどもの日',NULL,'JP'),('2024-05-06','振替休日',NULL,'JP'),('2024-07-15','海の日',NULL,'JP'),('2024-08-11','山の日',NULL,'JP'),('2024-08-12','振替休日',NULL,'JP'),('2024-09-16','敬老の日',NULL,'JP'),('2024-09-22','秋分の日',NULL,'JP'),('2024-09-23','振替休日',NULL,'JP'),('2024-10-14','スポーツの日',NULL,'JP'),('2024-11-03','文化の日',NULL,'JP'),('2024-11-04','振替休日',NULL,'JP'),('2024-11-23','勤労感謝の日',NULL,'JP'),('2025-01-01','元日',NULL,'JP'),('2025-01-13','成人の日',NULL,'JP'),('2025-02-11','建国記念の日',NULL,'JP'),('2025-02-23','天皇誕生日',NULL,'JP'),('2025-02-24','振替休日',NULL,'JP'),('2025-03-20','春分の日',NULL,'JP'),('2025-04-29','昭和の日',NULL,'JP'),('2025-05-03','憲法記念日',NULL,'JP'),('2025-05-04','みどりの日',NULL,'JP'),('2025-05-05','こどもの日',NULL,'JP'),('2025-05-06','振替休日',NULL,'JP'),('2025-07-21','海の日',NULL,'JP'),('2025-08-11','山の日',NULL,'JP'),('2025-09-15','敬老の日',NULL,'JP'),('2025-09-23','秋分の日',NULL,'JP'),('2025-10-13','スポーツの日',NULL,'JP'),('2025-11-03','文化の日',NULL,'JP'),('2025-11-23','勤労感謝の日',NULL,'JP'),('2025-11-24','振替休日',NULL,'JP'),('2026-01-01','元日',NULL,'JP'),('2026-01-12','成人の日',NULL,'JP'),('2026-02-11','建国記念の日',NULL,'JP'),('2026-02-23','天皇誕生日',NULL,'JP'),('2026-03-20','春分の日',NULL,'JP'),('2026-04-29','昭和の日',NULL,'JP'),('2026-05-03','憲法記念日',NULL,'JP'),('2026-05-04','みどりの日',NULL,'JP'),('2026-05-05','こどもの日',NULL,'JP'),('2026-05-06','振替休日',NULL,'JP'),('2026-07-20','海の日',NULL,'JP'),('2026-08-11','山の日',NULL,'JP'),('2026-09-21','敬老の日',NULL,'JP'),('2026-09-22','国民の休日',NULL,'JP'),('2026-09-23','秋分の日',NULL,'JP'),('2026-10-12','スポーツの日',NULL,'JP'),('2026-11-03','文化の日',NULL,'JP'),('2026-11-23','勤労感謝の日',NULL,'JP'),('2027-01-01','元日',NULL,'JP'),('2027-01-11','成人の日',NULL,'JP'),('2027-02-11','建国記念の日',NULL,'JP'),('2027-02-23','天皇誕生日',NULL,'JP'),('2027-03-21','春分の日',NULL,'JP'),('2027-03-22','振替休日',NULL,'JP'),('2027-04-29','昭和の日',NULL,'JP'),('2027-05-03','憲法記念日',NULL,'JP'),('2027-05-04','みどりの日',NULL,'JP'),('2027-05-05','こどもの日',NULL,'JP'),('2027-07-19','海の日',NULL,'JP'),('2027-08-11','山の日',NULL,'JP'),('2027-09-20','敬老の日',NULL,'JP'),('2027-09-23','秋分の日',NULL,'JP'),('2027-10-11','スポーツの日',NULL,'JP'),('2027-11-03','文化の日',NULL,'JP'),('2027-11-23','勤労感謝の日',NULL,'JP'),('2028-01-01','元日',NULL,'JP'),('2028-01-10','成人の日',NULL,'JP'),('2028-02-11','建国記念の日',NULL,'JP'),('2028-02-23','天皇誕生日',NULL,'JP'),('2028-03-20','春分の日',NULL,'JP'),('2028-04-29','昭和の日',NULL,'JP'),('2028-05-03','憲法記念日',NULL,'JP'),('2028-05-04','みどりの日',NULL,'JP'),('2028-05-05','こどもの日',NULL,'JP'),('2028-07-17','海の日',NULL,'JP'),('2028-08-11','山の日',NULL,'JP'),('2028-09-18','敬老の日',NULL,'JP'),('2028-09-22','秋分の日',NULL,'JP'),('2028-10-09','スポーツの日',NULL,'JP'),('2028-11-03','文化の日',NULL,'JP'),('2028-11-23','勤労感謝の日',NULL,'JP'),('2029-01-01','元日',NULL,'JP'),('2029-01-08','成人の日',NULL,'JP'),('2029-02-11','建国記念の日',NULL,'JP'),('2029-02-12','振替休日',NULL,'JP'),('2029-02-23','天皇誕生日',NULL,'JP'),('2029-03-20','春分の日',NULL,'JP'),('2029-04-29','昭和の日',NULL,'JP'),('2029-04-30','振替休日',NULL,'JP'),('2029-05-03','憲法記念日',NULL,'JP'),('2029-05-04','みどりの日',NULL,'JP'),('2029-05-05','こどもの日',NULL,'JP'),('2029-07-16','海の日',NULL,'JP'),('2029-08-11','山の日',NULL,'JP'),('2029-09-17','敬老の日',NULL,'JP'),('2029-09-23','秋分の日',NULL,'JP'),('2029-09-24','振替休日',NULL,'JP'),('2029-10-08','スポーツの日',NULL,'JP'),('2029-11-03','文化の日',NULL,'JP'),('2029-11-23','勤労感謝の日',NULL,'JP'),('2030-01-01','元日',NULL,'JP'),('2030-01-14','成人の日',NULL,'JP'),('2030-02-11','建国記念の日',NULL,'JP'),('2030-02-23','天皇誕生日',NULL,'JP'),('2030-03-20','春分の日',NULL,'JP'),('2030-04-29','昭和の日',NULL,'JP'),('2030-05-03','憲法記念日',NULL,'JP'),('2030-05-04','みどりの日',NULL,'JP'),('2030-05-05','こどもの日',NULL,'JP'),('2030-05-06','振替休日',NULL,'JP'),('2030-07-15','海の日',NULL,'JP'),('2030-08-11','山の日',NULL,'JP'),('2030-08-12','振替休日',NULL,'JP'),('2030-09-16','敬老の日',NULL,'JP'),('2030-09-23','秋分の日',NULL,'JP'),('2030-10-14','スポーツの日',NULL,'JP'),('2030-11-03','文化の日',NULL,'JP'),('2030-11-04','振替休日',NULL,'JP'),('2030-11-23','勤労感謝の日',NULL,'JP'),('2031-01-01','元日',NULL,'JP'),('2031-01-13','成人の日',NULL,'JP'),('2031-02-11','建国記念の日',NULL,'JP'),('2031-02-23','天皇誕生日',NULL,'JP'),('2031-02-24','振替休日',NULL,'JP'),('2031-03-21','春分の日',NULL,'JP'),('2031-04-29','昭和の日',NULL,'JP'),('2031-05-03','憲法記念日',NULL,'JP'),('2031-05-04','みどりの日',NULL,'JP'),('2031-05-05','こどもの日',NULL,'JP'),('2031-05-06','振替休日',NULL,'JP'),('2031-07-21','海の日',NULL,'JP'),('2031-08-11','山の日',NULL,'JP'),('2031-09-15','敬老の日',NULL,'JP'),('2031-09-23','秋分の日',NULL,'JP'),('2031-10-13','スポーツの日',NULL,'JP'),('2031-11-03','文化の日',NULL,'JP'),('2031-11-23','勤労感謝の日',NULL,'JP'),('2031-11-24','振替休日',NULL,'JP'),('2032-01-01','元日',NULL,'JP'),('2032-01-12','成人の日',NULL,'JP'),('2032-02-11','建国記念の日',NULL,'JP'),('2032-02-23','天皇誕生日',NULL,'JP'),('2032-03-20','春分の日',NULL,'JP'),('2032-04-29','昭和の日',NULL,'JP'),('2032-05-03','憲法記念日',NULL,'JP'),('2032-05-04','みどりの日',NULL,'JP'),('2032-05-05','こどもの日',NULL,'JP'),('2032-07-19','海の日',NULL,'JP'),('2032-08-11','山の日',NULL,'JP'),('2032-09-20','敬老の日',NULL,'JP'),('2032-09-21','国民の休日',NULL,'JP'),('2032-09-22','秋分の日',NULL,'JP'),('2032-10-11','スポーツの日',NULL,'JP'),('2032-11-03','文化の日',NULL,'JP'),('2032-11-23','勤労感謝の日',NULL,'JP'),('2033-01-01','元日',NULL,'JP'),('2033-01-10','成人の日',NULL,'JP'),('2033-02-11','建国記念の日',NULL,'JP'),('2033-02-23','天皇誕生日',NULL,'JP'),('2033-03-20','春分の日',NULL,'JP'),('2033-03-21','振替休日',NULL,'JP'),('2033-04-29','昭和の日',NULL,'JP'),('2033-05-03','憲法記念日',NULL,'JP'),('2033-05-04','みどりの日',NULL,'JP'),('2033-05-05','こどもの日',NULL,'JP'),('2033-07-18','海の日',NULL,'JP'),('2033-08-11','山の日',NULL,'JP'),('2033-09-19','敬老の日',NULL,'JP'),('2033-09-23','秋分の日',NULL,'JP'),('2033-10-10','スポーツの日',NULL,'JP'),('2033-11-03','文化の日',NULL,'JP'),('2033-11-23','勤労感謝の日',NULL,'JP'),('2034-01-01','元日',NULL,'JP'),('2034-01-02','振替休日',NULL,'JP'),('2034-01-09','成人の日',NULL,'JP'),('2034-02-11','建国記念の日',NULL,'JP'),('2034-02-23','天皇誕生日',NULL,'JP'),('2034-03-20','春分の日',NULL,'JP'),('2034-04-29','昭和の日',NULL,'JP'),('2034-05-03','憲法記念日',NULL,'JP'),('2034-05-04','みどりの日',NULL,'JP'),('2034-05-05','こどもの日',NULL,'JP'),('2034-07-17','海の日',NULL,'JP'),('2034-08-11','山の日',NULL,'JP'),('2034-09-18','敬老の日',NULL,'JP'),('2034-09-23','秋分の日',NULL,'JP'),('2034-10-09','スポーツの日',NULL,'JP'),('2034-11-03','文化の日',NULL,'JP'),('2034-11-23','勤労感謝の日',NULL,'JP'),('2035-01-01','元日',NULL,'JP'),('2035-01-08','成人の日',NULL,'JP'),('2035-02-11','建国記念の日',NULL,'JP'),('2035-02-12','振替休日',NULL,'JP'),('2035-02-23','天皇誕生日',NULL,'JP'),('2035-03-21','春分の日',NULL,'JP'),('2035-04-29','昭和の日',NULL,'JP'),('2035-04-30','振替休日',NULL,'JP'),('2035-05-03','憲法記念日',NULL,'JP'),('2035-05-04','みどりの日',NULL,'JP'),('2035-05-05','こどもの日',NULL,'JP'),('2035-07-16','海の日',NULL,'JP'),('2035-08-11','山の日',NULL,'JP'),('2035-09-17','敬老の日',NULL,'JP'),('2035-09-23','秋分の日',NULL,'JP'),('2035-09-24','振替休日',NULL,'JP'),('2035-10-08','スポーツの日',NULL,'JP'),('2035-11-03','文化の日',NULL,'JP'),('2035-11-23','勤労感謝の日',NULL,'JP'),('2035-12-24','振替休日',NULL,'JP'),('2036-01-01','元日',NULL,'JP'),('2036-01-14','成人の日',NULL,'JP'),('2036-02-11','建国記念の日',NULL,'JP'),('2036-02-23','天皇誕生日',NULL,'JP'),('2036-03-20','春分の日',NULL,'JP'),('2036-04-29','昭和の日',NULL,'JP'),('2036-05-03','憲法記念日',NULL,'JP'),('2036-05-04','みどりの日',NULL,'JP'),('2036-05-05','こどもの日',NULL,'JP'),('2036-05-06','振替休日',NULL,'JP'),('2036-07-21','海の日',NULL,'JP'),('2036-08-11','山の日',NULL,'JP'),('2036-09-15','敬老の日',NULL,'JP'),('2036-09-22','秋分の日',NULL,'JP'),('2036-10-13','スポーツの日',NULL,'JP'),('2036-11-03','文化の日',NULL,'JP'),('2036-11-23','勤労感謝の日',NULL,'JP'),('2036-11-24','振替休日',NULL,'JP'),('2037-01-01','元日',NULL,'JP'),('2037-01-12','成人の日',NULL,'JP'),('2037-02-11','建国記念の日',NULL,'JP'),('2037-02-23','天皇誕生日',NULL,'JP'),('2037-03-20','春分の日',NULL,'JP'),('2037-04-29','昭和の日',NULL,'JP'),('2037-05-03','憲法記念日',NULL,'JP'),('2037-05-04','みどりの日',NULL,'JP'),('2037-05-05','こどもの日',NULL,'JP'),('2037-05-06','振替休日',NULL,'JP'),('2037-07-20','海の日',NULL,'JP'),('2037-08-11','山の日',NULL,'JP'),('2037-09-21','敬老の日',NULL,'JP'),('2037-09-22','国民の休日',NULL,'JP'),('2037-09-23','秋分の日',NULL,'JP'),('2037-10-12','スポーツの日',NULL,'JP'),('2037-11-03','文化の日',NULL,'JP'),('2037-11-23','勤労感謝の日',NULL,'JP'),('2038-01-01','元日',NULL,'JP'),('2038-01-11','成人の日',NULL,'JP'),('2038-02-11','建国記念の日',NULL,'JP'),('2038-02-23','天皇誕生日',NULL,'JP'),('2038-03-20','春分の日',NULL,'JP'),('2038-04-29','昭和の日',NULL,'JP'),('2038-05-03','憲法記念日',NULL,'JP'),('2038-05-04','みどりの日',NULL,'JP'),('2038-05-05','こどもの日',NULL,'JP'),('2038-07-19','海の日',NULL,'JP'),('2038-08-11','山の日',NULL,'JP'),('2038-09-20','敬老の日',NULL,'JP'),('2038-09-23','秋分の日',NULL,'JP'),('2038-10-11','スポーツの日',NULL,'JP'),('2038-11-03','文化の日',NULL,'JP'),('2038-11-23','勤労感謝の日',NULL,'JP'),('2039-01-01','元日',NULL,'JP'),('2039-01-10','成人の日',NULL,'JP'),('2039-02-11','建国記念の日',NULL,'JP'),('2039-02-23','天皇誕生日',NULL,'JP'),('2039-03-21','春分の日',NULL,'JP'),('2039-04-29','昭和の日',NULL,'JP'),('2039-05-03','憲法記念日',NULL,'JP'),('2039-05-04','みどりの日',NULL,'JP'),('2039-05-05','こどもの日',NULL,'JP'),('2039-07-18','海の日',NULL,'JP'),('2039-08-11','山の日',NULL,'JP'),('2039-09-19','敬老の日',NULL,'JP'),('2039-09-23','秋分の日',NULL,'JP'),('2039-10-10','スポーツの日',NULL,'JP'),('2039-11-03','文化の日',NULL,'JP'),('2039-11-23','勤労感謝の日',NULL,'JP'),('2040-01-01','元日',NULL,'JP'),('2040-01-02','振替休日',NULL,'JP'),('2040-01-09','成人の日',NULL,'JP'),('2040-02-11','建国記念の日',NULL,'JP'),('2040-02-23','天皇誕生日',NULL,'JP'),('2040-03-20','春分の日',NULL,'JP'),('2040-04-29','昭和の日',NULL,'JP'),('2040-04-30','振替休日',NULL,'JP'),('2040-05-03','憲法記念日',NULL,'JP'),('2040-05-04','みどりの日',NULL,'JP'),('2040-05-05','こどもの日',NULL,'JP'),('2040-07-16','海の日',NULL,'JP'),('2040-08-11','山の日',NULL,'JP'),('2040-09-17','敬老の日',NULL,'JP'),('2040-09-22','秋分の日',NULL,'JP'),('2040-10-08','スポーツの日',NULL,'JP'),('2040-11-03','文化の日',NULL,'JP'),('2040-11-23','勤労感謝の日',NULL,'JP'),('2040-12-24','振替休日',NULL,'JP'),('2041-01-01','元日',NULL,'JP'),('2041-01-14','成人の日',NULL,'JP'),('2041-02-11','建国記念の日',NULL,'JP'),('2041-02-23','天皇誕生日',NULL,'JP'),('2041-03-20','春分の日',NULL,'JP'),('2041-04-29','昭和の日',NULL,'JP'),('2041-05-03','憲法記念日',NULL,'JP'),('2041-05-04','みどりの日',NULL,'JP'),('2041-05-05','こどもの日',NULL,'JP'),('2041-05-06','振替休日',NULL,'JP'),('2041-07-15','海の日',NULL,'JP'),('2041-08-11','山の日',NULL,'JP'),('2041-08-12','振替休日',NULL,'JP'),('2041-09-16','敬老の日',NULL,'JP'),('2041-09-23','秋分の日',NULL,'JP'),('2041-10-14','スポーツの日',NULL,'JP'),('2041-11-03','文化の日',NULL,'JP'),('2041-11-04','振替休日',NULL,'JP'),('2041-11-23','勤労感謝の日',NULL,'JP'),('2042-01-01','元日',NULL,'JP'),('2042-01-13','成人の日',NULL,'JP'),('2042-02-11','建国記念の日',NULL,'JP'),('2042-02-23','天皇誕生日',NULL,'JP'),('2042-02-24','振替休日',NULL,'JP'),('2042-03-20','春分の日',NULL,'JP'),('2042-04-29','昭和の日',NULL,'JP'),('2042-05-03','憲法記念日',NULL,'JP'),('2042-05-04','みどりの日',NULL,'JP'),('2042-05-05','こどもの日',NULL,'JP'),('2042-05-06','振替休日',NULL,'JP'),('2042-07-21','海の日',NULL,'JP'),('2042-08-11','山の日',NULL,'JP'),('2042-09-15','敬老の日',NULL,'JP'),('2042-09-23','秋分の日',NULL,'JP'),('2042-10-13','スポーツの日',NULL,'JP'),('2042-11-03','文化の日',NULL,'JP'),('2042-11-23','勤労感謝の日',NULL,'JP'),('2042-11-24','振替休日',NULL,'JP'),('2043-01-01','元日',NULL,'JP'),('2043-01-12','成人の日',NULL,'JP'),('2043-02-11','建国記念の日',NULL,'JP'),('2043-02-23','天皇誕生日',NULL,'JP'),('2043-03-21','春分の日',NULL,'JP'),('2043-04-29','昭和の日',NULL,'JP'),('2043-05-03','憲法記念日',NULL,'JP'),('2043-05-04','みどりの日',NULL,'JP'),('2043-05-05','こどもの日',NULL,'JP'),('2043-05-06','振替休日',NULL,'JP'),('2043-07-20','海の日',NULL,'JP'),('2043-08-11','山の日',NULL,'JP'),('2043-09-21','敬老の日',NULL,'JP'),('2043-09-22','国民の休日',NULL,'JP'),('2043-09-23','秋分の日',NULL,'JP'),('2043-10-12','スポーツの日',NULL,'JP'),('2043-11-03','文化の日',NULL,'JP'),('2043-11-23','勤労感謝の日',NULL,'JP'),('2044-01-01','元日',NULL,'JP'),('2044-01-11','成人の日',NULL,'JP'),('2044-02-11','建国記念の日',NULL,'JP'),('2044-02-23','天皇誕生日',NULL,'JP'),('2044-03-20','春分の日',NULL,'JP'),('2044-03-21','振替休日',NULL,'JP'),('2044-04-29','昭和の日',NULL,'JP'),('2044-05-03','憲法記念日',NULL,'JP'),('2044-05-04','みどりの日',NULL,'JP'),('2044-05-05','こどもの日',NULL,'JP'),('2044-07-18','海の日',NULL,'JP'),('2044-08-11','山の日',NULL,'JP'),('2044-09-19','敬老の日',NULL,'JP'),('2044-09-22','秋分の日',NULL,'JP'),('2044-10-10','スポーツの日',NULL,'JP'),('2044-11-03','文化の日',NULL,'JP'),('2044-11-23','勤労感謝の日',NULL,'JP'),('2045-01-01','元日',NULL,'JP'),('2045-01-02','振替休日',NULL,'JP'),('2045-01-09','成人の日',NULL,'JP'),('2045-02-11','建国記念の日',NULL,'JP'),('2045-02-23','天皇誕生日',NULL,'JP'),('2045-03-20','春分の日',NULL,'JP'),('2045-04-29','昭和の日',NULL,'JP'),('2045-05-03','憲法記念日',NULL,'JP'),('2045-05-04','みどりの日',NULL,'JP'),('2045-05-05','こどもの日',NULL,'JP'),('2045-07-17','海の日',NULL,'JP'),('2045-08-11','山の日',NULL,'JP'),('2045-09-18','敬老の日',NULL,'JP'),('2045-09-22','秋分の日',NULL,'JP'),('2045-10-09','スポーツの日',NULL,'JP'),('2045-11-03','文化の日',NULL,'JP'),('2045-11-23','勤労感謝の日',NULL,'JP'),('2046-01-01','元日',NULL,'JP'),('2046-01-08','成人の日',NULL,'JP'),('2046-02-11','建国記念の日',NULL,'JP'),('2046-02-12','振替休日',NULL,'JP'),('2046-02-23','天皇誕生日',NULL,'JP'),('2046-03-20','春分の日',NULL,'JP'),('2046-04-29','昭和の日',NULL,'JP'),('2046-04-30','振替休日',NULL,'JP'),('2046-05-03','憲法記念日',NULL,'JP'),('2046-05-04','みどりの日',NULL,'JP'),('2046-05-05','こどもの日',NULL,'JP'),('2046-07-16','海の日',NULL,'JP'),('2046-08-11','山の日',NULL,'JP'),('2046-09-17','敬老の日',NULL,'JP'),('2046-09-23','秋分の日',NULL,'JP'),('2046-09-24','振替休日',NULL,'JP'),('2046-10-08','スポーツの日',NULL,'JP'),('2046-11-03','文化の日',NULL,'JP'),('2046-11-23','勤労感謝の日',NULL,'JP'),('2046-12-24','振替休日',NULL,'JP'),('2047-01-01','元日',NULL,'JP'),('2047-01-14','成人の日',NULL,'JP'),('2047-02-11','建国記念の日',NULL,'JP'),('2047-02-23','天皇誕生日',NULL,'JP'),('2047-03-21','春分の日',NULL,'JP'),('2047-04-29','昭和の日',NULL,'JP'),('2047-05-03','憲法記念日',NULL,'JP'),('2047-05-04','みどりの日',NULL,'JP'),('2047-05-05','こどもの日',NULL,'JP'),('2047-05-06','振替休日',NULL,'JP'),('2047-07-15','海の日',NULL,'JP'),('2047-08-11','山の日',NULL,'JP'),('2047-08-12','振替休日',NULL,'JP'),('2047-09-16','敬老の日',NULL,'JP'),('2047-09-23','秋分の日',NULL,'JP'),('2047-10-14','スポーツの日',NULL,'JP'),('2047-11-03','文化の日',NULL,'JP'),('2047-11-04','振替休日',NULL,'JP'),('2047-11-23','勤労感謝の日',NULL,'JP'),('2048-01-01','元日',NULL,'JP'),('2048-01-13','成人の日',NULL,'JP'),('2048-02-11','建国記念の日',NULL,'JP'),('2048-02-23','天皇誕生日',NULL,'JP'),('2048-02-24','振替休日',NULL,'JP'),('2048-03-20','春分の日',NULL,'JP'),('2048-04-29','昭和の日',NULL,'JP'),('2048-05-03','憲法記念日',NULL,'JP'),('2048-05-04','みどりの日',NULL,'JP'),('2048-05-05','こどもの日',NULL,'JP'),('2048-05-06','振替休日',NULL,'JP'),('2048-07-20','海の日',NULL,'JP'),('2048-08-11','山の日',NULL,'JP'),('2048-09-21','敬老の日',NULL,'JP'),('2048-09-22','秋分の日',NULL,'JP'),('2048-10-12','スポーツの日',NULL,'JP'),('2048-11-03','文化の日',NULL,'JP'),('2048-11-23','勤労感謝の日',NULL,'JP'),('2049-01-01','元日',NULL,'JP'),('2049-01-11','成人の日',NULL,'JP'),('2049-02-11','建国記念の日',NULL,'JP'),('2049-02-23','天皇誕生日',NULL,'JP'),('2049-03-20','春分の日',NULL,'JP'),('2049-04-29','昭和の日',NULL,'JP'),('2049-05-03','憲法記念日',NULL,'JP'),('2049-05-04','みどりの日',NULL,'JP'),('2049-05-05','こどもの日',NULL,'JP'),('2049-07-19','海の日',NULL,'JP'),('2049-08-11','山の日',NULL,'JP'),('2049-09-20','敬老の日',NULL,'JP'),('2049-09-21','国民の休日',NULL,'JP'),('2049-09-22','秋分の日',NULL,'JP'),('2049-10-11','スポーツの日',NULL,'JP'),('2049-11-03','文化の日',NULL,'JP'),('2049-11-23','勤労感謝の日',NULL,'JP'),('2050-01-01','元日',NULL,'JP'),('2050-01-10','成人の日',NULL,'JP'),('2050-02-11','建国記念の日',NULL,'JP'),('2050-02-23','天皇誕生日',NULL,'JP'),('2050-03-20','春分の日',NULL,'JP'),('2050-03-21','振替休日',NULL,'JP'),('2050-04-29','昭和の日',NULL,'JP'),('2050-05-03','憲法記念日',NULL,'JP'),('2050-05-04','みどりの日',NULL,'JP'),('2050-05-05','こどもの日',NULL,'JP'),('2050-07-18','海の日',NULL,'JP'),('2050-08-11','山の日',NULL,'JP'),('2050-09-19','敬老の日',NULL,'JP'),('2050-09-23','秋分の日',NULL,'JP'),('2050-10-10','スポーツの日',NULL,'JP'),('2050-11-03','文化の日',NULL,'JP'),('2050-11-23','勤労感謝の日',NULL,'JP'),('2022-01-03','年末年始休業',NULL,'JP'),('2022-01-04','年末年始休業',NULL,'JP'),('2021-12-30','年末年始休業',NULL,'JP'),('2021-12-31','年末年始休業',NULL,'JP');

--
-- Table structure for table `em_identity`
--

CREATE TABLE `em_identity` (
  `identity_id` bigint NOT NULL AUTO_INCREMENT,
  `name` varchar(128) COLLATE utf8mb4_general_ci NOT NULL,
  `is_alias` int NOT NULL,
  `description` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `note` text COLLATE utf8mb4_general_ci,
  `created_by_id` bigint NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`identity_id`),
  UNIQUE KEY `unique_company_id_name` (`company_id`,`name`)
) ENGINE=InnoDB AUTO_INCREMENT=65 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `em_identity`
--

INSERT INTO `em_identity` VALUES (39,'admin_9',1,NULL,NULL,1,'2024-03-05 17:44:52',NULL,'2024-03-05 17:44:52',9),(40,'Adminstrator',0,NULL,NULL,1,'2024-03-08 14:31:24',NULL,'2024-03-08 14:31:24',10),(41,'admin_10',1,NULL,NULL,1,'2024-03-08 14:31:24',NULL,'2024-03-08 14:31:24',10),(42,'Adminstrator',0,NULL,NULL,1,'2024-03-08 14:32:05',NULL,'2024-03-08 14:32:05',11),(43,'admin_11',1,NULL,NULL,1,'2024-03-08 14:32:05',NULL,'2024-03-08 14:32:05',11),(46,'longnh',1,NULL,NULL,1,'2024-03-09 20:26:28',NULL,'2024-03-09 20:26:28',1),(47,'Adminstrator',0,NULL,NULL,1,'2024-05-12 16:58:00',NULL,'2024-05-12 16:58:00',13),(48,'admin_13',1,NULL,NULL,1,'2024-05-12 16:58:00',NULL,'2024-05-12 16:58:00',13),(49,'Adminstrator',0,NULL,NULL,1,'2024-05-12 20:45:29',NULL,'2024-05-12 20:45:29',14),(50,'admin_14',1,NULL,NULL,1,'2024-05-12 20:45:29',NULL,'2024-05-12 20:45:29',14),(51,'Adminstrator',0,NULL,NULL,1,'2024-05-20 12:34:23',NULL,'2024-05-20 12:34:23',15),(52,'admin_15',1,NULL,NULL,1,'2024-05-20 12:34:23',NULL,'2024-05-20 12:34:23',15),(53,'Adminstrator',0,NULL,NULL,1,'2024-05-22 03:34:29',NULL,'2024-05-22 03:34:29',732),(54,'admin_732',1,NULL,NULL,1,'2024-05-22 03:34:29',NULL,'2024-05-22 03:34:29',732),(55,'Adminstrator',0,NULL,NULL,1,'2024-05-22 12:45:37',NULL,'2024-05-22 12:45:37',733),(56,'admin_733',1,NULL,NULL,1,'2024-05-22 12:45:37',NULL,'2024-05-22 12:45:37',733),(57,'Adminstrator',0,NULL,NULL,1,'2024-05-22 20:34:45',NULL,'2024-05-22 20:34:45',734),(58,'admin_734',1,NULL,NULL,1,'2024-05-22 20:34:45',NULL,'2024-05-22 20:34:45',734),(59,'Adminstrator',0,NULL,NULL,1,'2024-05-24 21:18:11',NULL,'2024-05-24 21:18:11',735),(60,'admin_735',1,NULL,NULL,1,'2024-05-24 21:18:11',NULL,'2024-05-24 21:18:11',735),(61,'Adminstrator',0,NULL,NULL,1,'2024-05-27 22:06:53',NULL,'2024-05-27 22:06:53',736),(62,'admin_736',1,NULL,NULL,1,'2024-05-27 22:06:53',NULL,'2024-05-27 22:06:53',736),(63,'Adminstrator',0,NULL,NULL,1,'2024-07-03 01:48:43',NULL,'2024-07-03 01:48:43',737),(64,'admin_737',1,NULL,NULL,1,'2024-07-03 01:48:43',NULL,'2024-07-03 01:48:43',737);

--
-- Table structure for table `em_identity_member`
--

CREATE TABLE `em_identity_member` (
  `member_id` bigint NOT NULL AUTO_INCREMENT,
  `parent_identity_id` bigint NOT NULL,
  `child_identity_id` bigint NOT NULL,
  `from_date` datetime DEFAULT NULL,
  `end_date` datetime DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`member_id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `em_identity_member`
--

INSERT INTO `em_identity_member` VALUES (1,3,1,'2024-02-24 00:00:00','2024-02-24 00:00:00',1,'2024-02-23 18:11:01',NULL,'2024-02-23 18:11:01',1),(2,3,4,'2024-02-24 00:00:00','2024-02-24 00:00:00',1,'2024-02-23 18:11:01',NULL,'2024-02-23 18:11:01',1),(3,3,5,'2024-02-24 00:00:00','2024-02-24 00:00:00',1,'2024-02-23 18:11:01',NULL,'2024-02-23 18:11:01',1),(4,40,41,NULL,NULL,1,'2024-03-08 14:31:24',NULL,'2024-03-08 14:31:24',1),(5,42,43,NULL,NULL,1,'2024-03-08 14:32:05',NULL,'2024-03-08 14:32:05',1),(6,47,48,NULL,NULL,1,'2024-05-12 16:58:00',NULL,'2024-05-12 16:58:00',1),(7,49,50,NULL,NULL,1,'2024-05-12 20:45:29',NULL,'2024-05-12 20:45:29',1),(8,51,52,NULL,NULL,1,'2024-05-20 12:34:23',NULL,'2024-05-20 12:34:23',1),(9,53,54,NULL,NULL,1,'2024-05-22 03:34:29',NULL,'2024-05-22 03:34:29',1),(10,55,56,NULL,NULL,1,'2024-05-22 12:45:37',NULL,'2024-05-22 12:45:37',1),(11,57,58,NULL,NULL,1,'2024-05-22 20:34:45',NULL,'2024-05-22 20:34:45',1),(12,59,60,NULL,NULL,1,'2024-05-24 21:18:11',NULL,'2024-05-24 21:18:11',1),(13,61,62,NULL,NULL,1,'2024-05-27 22:06:53',NULL,'2024-05-27 22:06:53',1),(14,63,64,NULL,NULL,1,'2024-07-03 01:48:43',NULL,'2024-07-03 01:48:43',1);

--
-- Table structure for table `em_job_type`
--

CREATE TABLE `em_job_type` (
  `job_type_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_job_type_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `test_related` tinyint NOT NULL DEFAULT '0',
  `up_to_3rd` tinyint NOT NULL DEFAULT '1',
  `company_id` bigint DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`job_type_id`)
) ENGINE=InnoDB AUTO_INCREMENT=256 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_job_type`
--

INSERT INTO `em_job_type` VALUES (1,'耕種農業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(2,'施設園芸','1',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(3,'畑作・野菜','1',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(4,'果 樹','1',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(5,'畜産農業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(6,'養 豚','5',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(7,'養 鶏','5',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(8,'酪 農','5',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(9,'漁船漁業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(10,'かつお一本釣り漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(11,'延縄漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(12,'いか釣り漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(13,'まき網漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(14,'ひき網漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(15,'刺し網漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(16,'定置網漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(17,'かに・えびかご漁業','9',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(18,'棒受網漁業','9',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(19,'養殖業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(20,'ほたてがい・まがき養殖','19',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(21,'さく井','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(22,'パーカッション式さく井工事','21',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(23,'ロータリー式さく井工事','21',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(24,'建築板金','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(25,'ダクト板金','24',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(26,'内外装板金','24',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(27,'冷凍空気調和機器施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(28,'冷凍空気調和機器施工','27',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(29,'建具製作','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(30,'木製建具手加工','29',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(31,'建築大工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(32,'大工工事','31',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(33,'型枠施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(34,'型枠工事','33',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(35,'鉄筋施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(36,'鉄筋組立て','35',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(37,'とび','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(38,'とび','37',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(39,'石材施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(40,'石材加工','39',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(41,'石張り','39',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(42,'タイル張り','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(43,'タイル張り','42',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(44,'かわらぶき','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(45,'かわらぶき','44',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(46,'左官','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(47,'左官','46',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(48,'配管','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(49,'建築配管','48',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(50,'プラント配管','48',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(51,'熱絶縁施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(52,'保温保冷工事','51',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(53,'内装仕上げ施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(54,'プラスチック系床仕上げ工事','53',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(55,'カーペット系床仕上げ工事','53',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(56,'鋼製下地工事','53',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(57,'ボード仕上げ工事','53',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(58,'カーテン工事','53',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(59,'サッシ施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(60,'ビル用サッシ施工','59',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(61,'防水施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(62,'シーリング防水工事','61',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(63,'コンクリート圧送施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(64,'コンクリート圧送工事','63',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(65,'ウェルポイント施工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(66,'ウェルポイント工事','65',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(67,'表装','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(68,'壁装','67',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(69,'建設機械施工','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(70,'押土・整地','69',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(71,'積込み','69',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(72,'掘削','69',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(73,'締固め','69',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(74,'築炉','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(75,'築炉','74',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(76,'缶詰巻締','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(77,'缶詰巻締','76',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(78,'食鳥処理加工業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(79,'食鳥処理加工','78',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(80,'加熱性水産加工 食品製造業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(81,'節類製造','80',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(82,'加熱乾製品製造','80',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(83,'調味加工品製造','80',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(84,'くん製品製造','80',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(85,'非加熱性水産加工 食品製造業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(86,'塩蔵品製造','85',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(87,'乾製品製造','85',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(88,'発酵食品製造','85',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(89,'調理加工品製造','85',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(90,'生食用加工品製造','85',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(91,'水産練り製品製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(92,'かまぼこ製品製造','91',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(93,'牛豚食肉処理加工業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(94,'牛豚部分肉製造','93',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(95,'ハム・ソーセージ・ベーコン製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(96,'ハム・ソーセージ・ベーコン製造','95',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(97,'パン製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(98,'パン製造','97',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(99,'そう菜製造業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(100,'そう菜加工','99',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(101,'農産物漬物製造業','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(102,'農産物漬物製造','101',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(103,'医療・福祉施設給食製造','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(104,'医療・福祉施設給食製造','103',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(105,'紡績運転','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(106,'前紡工程','105',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(107,'精紡工程','105',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(108,'巻糸工程','105',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(109,'合ねん糸工程','105',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(110,'織布運転','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(111,'準備工程','110',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(112,'製織工程','110',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(113,'仕上工程','110',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(114,'染 色','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(115,'糸浸染','114',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(116,'織物・ニット浸染','114',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(117,'ニット製品製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(118,'靴下製造','117',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(119,'丸編みニット製造','117',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(120,'たて編ニット生地製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(121,'たて編ニット生地製造','120',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(122,'婦人子供服製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(123,'婦人子供既製服縫製','122',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(124,'紳士服製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(125,'紳士既製服製造','124',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(126,'下着類製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(127,'下着類製造','126',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(128,'寝具製作','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(129,'寝具製作','128',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(130,'カーペット製造','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(131,'織じゅうたん製造','130',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(132,'タフテッドカーペット製造','130',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(133,'ニードルパンチカーペット製造','130',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(134,'帆布製品製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(135,'帆布製品製造','134',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(136,'布はく縫製','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(137,'ワイシャツ製造','136',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(138,'座席シート縫製','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(139,'自動車シート縫製','138',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(140,'鋳造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(141,'鋳鉄鋳物鋳造','140',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(142,'非鉄金属鋳物鋳造','140',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(143,'鍛造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(144,'ハンマ型鍛造','143',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(145,'プレス型鍛造','143',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(146,'ダイカスト','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(147,'ホットチャンバダイカスト','146',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(148,'コールドチャンバダイカスト','146',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(149,'機械加工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(150,'普通旋盤','149',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(151,'フライス盤','149',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(152,'数値制御旋盤','149',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(153,'マシニングセンタ','149',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(154,'金属プレス加工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(155,'金属プレス','154',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(156,'鉄工','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(157,'構造物鉄工','156',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(158,'工場板金','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(159,'機械板金','158',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(160,'めっき','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(161,'電気めっき','160',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(162,'溶融亜鉛めっき','160',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(163,'アルミニウム陽極酸化処理','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(164,'陽極酸化処理','163',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(165,'仕上げ','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(166,'治工具仕上げ','165',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(167,'金型仕上げ','165',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(168,'機械組立仕上げ','165',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(169,'機械検査','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(170,'機械検査','169',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(171,'機械保全','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(172,'機械系保全','171',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(173,'電子機器組立て','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(174,'電子機器組立て','173',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(175,'電気機器組立て','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(176,'回転電機組立て','175',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(177,'変圧器組立て','175',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(178,'配電盤・制御盤組立て','175',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(179,'開閉制御器具組立て','175',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(180,'回転電機巻線製作','175',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(181,'プリント配線板製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(182,'プリント配線板設計','181',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(183,'プリント配線板製造','181',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(184,'アルミニウム圧延・押出製品製造','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(185,'引抜加工','184',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(186,'仕上げ','184',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(187,'金属熱処理業','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(188,'全体熱処理','187',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(189,'表面熱処理（浸炭・浸炭窒化・窒化）','187',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(190,'部分熱処理（高周波熱処理・炎熱処理）','187',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(191,'家具製作','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(192,'家具手加工','191',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(193,'印刷','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(194,'オフセット印刷','193',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(195,'グラビア印刷','193',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(196,'製本','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(197,'製本','196',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(198,'プラスチック成形','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(199,'圧縮成形','198',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(200,'射出成形','198',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(201,'インフレーション成形','198',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(202,'ブロー成形','198',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(203,'強化プラスチック成形','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(204,'手積み積層成形','203',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(205,'塗装','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(206,'建築塗装','205',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(207,'金属塗装','205',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(208,'鋼橋塗装','205',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(209,'噴霧塗装','205',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(210,'溶接','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(211,'手溶接','210',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(212,'半自動溶接','210',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(213,'工業包装','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(214,'工業包装','213',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(215,'紙器・段ボール箱製造','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(216,'印刷箱打抜き','215',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(217,'印刷箱製箱','215',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(218,'貼箱製造','215',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(219,'段ボール箱製造','215',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(220,'陶磁器工業製品製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(221,'機械ろくろ成形','220',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(222,'圧力鋳込み成形','220',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(223,'パッド印刷','220',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(224,'自動車整備','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(225,'自動車整備','224',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(226,'ビルクリーニング','0',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(227,'ビルクリーニング','226',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(228,'介護','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(229,'介護','228',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(230,'リネンサプライ','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(231,'リネンサプライ仕上げ','230',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(232,'コンクリート製品製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(233,'コンクリート製品製造','232',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(234,'宿泊','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(235,'接客・衛生管理','234',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(236,'RPF製造','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(237,'RPF製造','236',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(238,'鉄道施設保守整備','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(239,'軌道保守整備','238',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(240,'ゴム製品製造','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(241,'成形加工','240',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(242,'押出し加工','240',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(243,'混練り圧延加工','240',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(244,'複合積層加工','240',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(245,'鉄道車両整備','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(246,'走行装置検修・解ぎ装','245',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(247,'空気装置検修・解ぎ装','245',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(248,'木材加工','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(249,'機械製材','248',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(250,'空港グランドハンドリング','0',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(251,'航空機地上支援','250',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(252,'航空貨物取扱','250',1,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(253,'客室清掃','250',0,1,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(254,'ボイラーメンテナンス','0',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29'),(255,'ボイラーメンテナンス','254',1,0,NULL,NULL,NULL,'2024-02-29 20:41:29','2024-02-29 20:41:29');

--
-- Table structure for table `em_language`
--

CREATE TABLE `em_language` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_count` int DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_language`
--

INSERT INTO `em_language` VALUES (1,'パシュトー語','2024-03-07 07:22:03',1,'2024-07-11 07:16:20',1,NULL),(2,'アルバニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(3,'アラビア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(4,'サモア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(5,'カタロニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(6,'ポルトガル語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(7,'英語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(9,'スペイン語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(10,'アルメニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(11,'オランダ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(12,'ドイツ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(13,'アゼルバイジャン語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(14,'ベンガル語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(15,'ベラルーシ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(16,'フランス語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(17,'ゾンカ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(18,'ボスニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(19,'マレー語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(20,'ブルガリア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(21,'キルンディ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(22,'クメール語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(23,'中国語（北京語）','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(24,'コモロ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(25,'クロアチア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(26,'ギリシャ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(27,'チェコ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(28,'デンマーク語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(29,'ティグリニャ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(30,'エストニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(31,'アムハラ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(32,'フィンランド語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(33,'ジョージア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(34,'グリーンランド語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(35,'イタリア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(36,'広東語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(37,'ハンガリー語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(38,'アイスランド語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(39,'ヒンディー語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(40,'インドネシア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(41,'ペルシア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(42,'アイルランド語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(43,'ヘブライ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(44,'日本語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(45,'カザフ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(46,'スワヒリ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(47,'韓国語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(48,'キルギス語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(49,'ラオ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(50,'ラトビア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(51,'ソト語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(52,'リトアニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(53,'ルクセンブルク語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(54,'マケドニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(55,'ディベヒ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(56,'マルタ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(57,'ルーマニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(58,'モンゴル語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(59,'ビルマ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(60,'ネパール語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(61,'ノルウェー語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(62,'ウルドゥー語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(63,'フィリピン語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(64,'ポーランド語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(65,'ロシア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(66,'セルビア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(67,'スロバキア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(68,'スロベニア語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(69,'ソマリ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(70,'シンハラ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(71,'スウェーデン語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(72,'タジク語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(73,'タイ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(74,'トンガ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(75,'トルコ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(76,'トルクメン語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(77,'ウクライナ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(78,'ウズベク語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(79,'ビスラマ語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL),(80,'ベトナム語','2024-03-07 07:22:03',NULL,'2024-03-07 07:22:03',NULL,NULL);

--
-- Table structure for table `em_location`
--

CREATE TABLE `em_location` (
  `code` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `group` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `em_location`
--

INSERT INTO `em_location` VALUES ('01','北海道','北海道'),('02','東北','青森県'),('03','東北','岩手県'),('04','東北','宮城県'),('05','東北','秋田県'),('06','東北','山形県'),('07','東北','福島県'),('08','関東','茨城県'),('09','関東','栃木県'),('10','関東','群馬県'),('11','関東','埼玉県'),('12','関東','千葉県'),('13','関東','東京都'),('14','関東','神奈川県'),('15','中部','新潟県'),('16','中部','富山県'),('17','中部','石川県'),('18','中部','福井県'),('19','中部','山梨県'),('20','中部','長野県'),('21','中部','岐阜県'),('22','中部','静岡県'),('23','中部','愛知県'),('24','近畿','三重県'),('25','近畿','滋賀県'),('26','近畿','京都府'),('27','近畿','大阪府'),('28','近畿','兵庫県'),('29','近畿','奈良県'),('30','近畿','和歌山県'),('31','中国','鳥取県'),('32','中国','島根県'),('33','中国','岡山県'),('34','中国','広島県'),('35','中国','山口県'),('36','四国','徳島県'),('37','四国','香川県'),('38','四国','愛媛県'),('39','四国','高知県'),('40','九州・沖縄','福岡県'),('41','九州・沖縄','佐賀県'),('42','九州・沖縄','長崎県'),('43','九州・沖縄','熊本県'),('44','九州・沖縄','大分県'),('45','九州・沖縄','宮崎県'),('46','九州・沖縄','鹿児島県'),('47','九州・沖縄','沖縄県');

--
-- Table structure for table `em_mail_template`
--

CREATE TABLE `em_mail_template` (
  `template_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_from` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_to` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_cc` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject` varchar(1024) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `body` longtext COLLATE utf8mb4_unicode_ci,
  `note` text COLLATE utf8mb4_unicode_ci,
  `created_by_id` bigint DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` tinyint DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  PRIMARY KEY (`template_id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_mail_template`
--

INSERT INTO `em_mail_template` VALUES (2,'type99','SYS_NEW_ACCOUNT','system@erpcpanel.com',NULL,NULL,'[ErpCPanel] ログインIDのパスワードをリセットする','<p>この度は、erpcpanel.comの監理団体事業管理システムサービスを<br>お申込みいただき、誠にありがとうございます。</p><p>お申込みいただきましたサービスの設定が完了致しました。<br>erpcpanel.comのNaviからコントロールパネルにログインし、<br>初期セットアップをご手配ください。</p><p>▼ログインページ<br>&nbsp;https://[login_url]</p><p>会員ID...........[user_name]<br>初期パスワード........[password]</p><p>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>■お問い合わせ■<br>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>・ヘルプ &nbsp; &nbsp; &nbsp; &nbsp;https://erpcpanel.com/<br>・カスタマーサポート &nbsp;https://erpcpanel.com/contact/<br>・メール &nbsp; &nbsp; &nbsp; &nbsp;info@erpcpanel.com<br>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</p><p>株式会社AlphaCep<br>〒273-0111 千葉県鎌ケ谷市北中沢1-18-22スカラ３F<br>TEL 0474-022-022 &nbsp; &nbsp;FAX 0474-022-984<br>Mail info@alphacep.co.jp<br>HP https://alphacep.co.jp</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>',NULL,1,1,1,'2024-02-27 16:59:22','2024-03-10 17:29:44',NULL,NULL),(3,'type01','PROJECT_CONTRACT_FORM','system@erpcpanel.com','[tantou_email]','[customer_cc]','雇用条件入力をお願いします(求人依頼番号:[project_id]）','<p>[customer_name]</p><p>[tantou_name]さま</p><p>&nbsp;</p><p>いつもお世話になっております。</p><p>雇用条件入力をお願いします。</p><p>[form_link]</p><p>&nbsp;</p><p>&nbsp;</p><p>以上</p>',NULL,1,1,1,'2024-03-05 18:15:50','2024-03-05 18:18:30',NULL,NULL),(4,'type99','SYS_RESET_PASSWORD','system@erpcpanel.com',NULL,NULL,'[ErpCPanel] ログインIDのパスワードをリセットする','<p>この度は、erpcpanel.comの監理団体事業管理システムサービスを<br>ご利用ただき、誠にありがとうございます。</p><p>[user_name] の erpcpanelアカウント パスワードを リセットするには、次のリ<br>ンクをクリックしてください。</p><p>[reset_password_url]</p><p>このリンクをクリックしても機能しない場合は、URL をコピーして新しいブラウザ&nbsp;<br>ウィンドウに貼り付けてください。<br><br>このメールに心当たりがない場合、他の方がパスワードをリセットする際に誤ってお<br>客様のユーザー名を入力した可能性があります。リクエストした覚えがない場<br>合は、何も行わずにこのメールを破棄してください。<br><br>よろしくお願いいたします。</p><p>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>■お問い合わせ■<br>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br>・ヘルプ &nbsp; &nbsp; &nbsp; &nbsp;https://erpcpanel.com/<br>・カスタマーサポート &nbsp;https://erpcpanel.com/contact/<br>・メール &nbsp; &nbsp; &nbsp; &nbsp;info@erpcpanel.com<br>━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━</p><p>株式会社AlphaCep<br>〒273-0111 千葉県鎌ケ谷市北中沢1-18-22スカラ３F<br>TEL 0474-022-022 &nbsp; &nbsp;FAX 0474-022-984<br>Mail info@alphacep.co.jp<br>HP https://alphacep.co.jp</p>',NULL,1,1,1,'2024-03-10 17:30:47','2024-03-10 17:33:23',NULL,NULL);

--
-- Table structure for table `em_nationality`
--

CREATE TABLE `em_nationality` (
  `nationality_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `country_name_en` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_lang_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `updated_count` int DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  PRIMARY KEY (`nationality_id`)
) ENGINE=InnoDB AUTO_INCREMENT=113 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_nationality`
--

INSERT INTO `em_nationality` VALUES (1,'Afghanistan','アフガニスタン','アフガニスタン',1,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(2,'Albania','アルバニア','アルバニア',2,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(3,'Algeria','アルジェリア','アルジェリア',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(4,'Argentina','アルゼンチン','アルゼンチン',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(5,'Australia','オーストラリア','オーストラリア',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(6,'Austria','オーストリア','オーストリア',12,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(7,'Bangladesh','バングラデシュ','バングラデシュ',14,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(8,'Belgium','ベルギー','ベルギー',11,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(9,'Bolivia','ボリビア','ボリビア',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(10,'Botswana','ボツワナ','ボツワナ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(11,'Brazil','ブラジル','ブラジル',6,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(12,'Bulgaria','ブルガリア','ブルガリア',20,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(13,'Cambodia','カンボジア','カンボジア',22,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(14,'Cameroon','カメルーン','カメルーン',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(15,'Canada','カナダ','カナダ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(16,'Chile','チリ','チリ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(17,'China','中国','中国',23,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(18,'Colombia','コロンビア','コロンビア',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(19,'Costa Rica','コスタリカ','コスタリカ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(20,'Croatia','クロアチア','クロアチア',25,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(21,'Cuba','キューバ','キューバ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(22,'CzechRepublic','チェコ','チェコ共和国',27,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(23,'Denmark','デンマーク','デンマーク',28,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(24,'DominicanRepublic','ドミニカ','ドミニカ共和国',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(25,'Ecuador','エクアドル','エクアドル',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(26,'Egypt','エジプト','エジプト',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(27,'El Salvador','エルサルバドル','エルサルバドル',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(28,'England','イングランド','イングランド',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(29,'Estonia','エストニア','エストニア',30,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(30,'Ethiopia','エチオピア','エチオピア',31,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(31,'Fiji','フィジー','フィジー',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(32,'Finland','フィンランド','フィンランド',32,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(33,'France','フランス','フランス',16,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(34,'Germany','ドイツ','ドイツ',12,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(35,'Ghana','ガーナ','ガーナ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(36,'Greece','ギリシャ','ギリシャ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(37,'Guatemala','グアテマラ','グアテマラ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(38,'Haiti','ハイチ','ハイチ',16,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(39,'Honduras','ホンジュラス','ホンジュラス',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(40,'Hungary','ハンガリー','ハンガリー',37,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(41,'Iceland','アイスランド','アイスランド',38,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(42,'India','インド','インド',39,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(43,'Indonesia','インドネシア','インドネシア',40,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(44,'Iran','イラン','イラン',41,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(45,'Iraq','イラク','イラク',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(46,'Ireland','アイルランド','アイルランド',42,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(47,'Israel','イスラエル','イスラエル',43,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(48,'Italy','イタリア','イタリア',35,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(49,'Jamaica','ジャマイカ','ジャマイカ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(50,'Japan','日本','日本',44,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(51,'Jordan','ヨルダン','ヨルダン',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(52,'Kenya','ケニア','ケニア',46,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(53,'Kuwait','クウェート','クウェート',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(54,'Laos','ラオス','ラオス',49,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(55,'Latvia','ラトビア','ラトビア',50,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(56,'Lebanon','レバノン','レバノン',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(57,'Libya','リビア','リビア',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(58,'Lithuania','リトアニア','リトアニア',52,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(59,'Madagascar','マダガスカル','マダガスカル',16,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(60,'Malaysia','マレーシア','マレーシア',19,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(61,'Mali','マリ','マリ',16,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(62,'Malta','マルタ','マルタ',56,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(63,'Mexico','メキシコ','メキシコ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(64,'Mongolia','モンゴル','モンゴル',58,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(65,'Morocco','モロッコ','モロッコ',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(66,'Mozambique','モザンビーク','モザンビーク',6,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(67,'Namibia','ナミビア','ナミビア',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(68,'Nepal','ネパール','ネパール',60,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(69,'Netherlands','オランダ','オランダ',11,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(70,'New Zealand','ニュージーランド','ニュージーランド',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(71,'Nicaragua','ニカラグア','ニカラグア',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(72,'Nigeria','ナイジェリア','ナイジェリア',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(73,'Norway','ノルウェー','ノルウェー',61,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(74,'Pakistan','パキスタン','パキスタン',62,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(75,'Panama','パナマ','パナマ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(76,'Paraguay','パラグアイ','パラグアイ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(77,'Peru','ペルー','ペルー',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(78,'Philippines','フィリピン','フィリピン',63,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(79,'Poland','ポーランド','ポーランド',64,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(80,'Portugal','ポルトガル','ポルトガル',6,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(81,'Romania','ルーマニア','ルーマニア',57,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(82,'Russia','ロシア','ロシア',65,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(83,'Saudi Arabia','サウジアラビア','サウジアラビア',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(84,'Scotland','スコットランド','スコットランド',12,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(85,'Senegal','セネガル','セネガル',16,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(86,'Serbia','セルビア','セルビア',66,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(87,'Singapore','シンガポール','シンガポール',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(88,'Slovakia','スロバキア','スロバキア',67,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(89,'South Africa','南アフリカ','南アフリカ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(90,'South Korea','韓国','韓国',47,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(91,'Spain','スペイン','スペイン',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(92,'Sri Lanka','スリランカ','スリランカ',70,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(93,'Sudan','スーダン','スーダン',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(94,'Sweden','スウェーデン','スウェーデン',71,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(95,'Switzerland','スイス','スイス',12,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(96,'Syria','シリア','シリア',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(97,'Taiwan','台湾','台湾',23,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(98,'Tajikistan','タジキスタン','タジキスタン',72,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(99,'Thailand','タイ','タイ',73,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(100,'Tonga','トンガ','トンガ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(101,'Tunisia','チュニジア','チュニジア',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(102,'Turkey','トルコ','トルコ',75,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(103,'Ukraine','ウクライナ','ウクライナ',77,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(104,'United Arab Emirates','アラブ首長国連邦','アラブ首長国連邦',3,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(105,'The United Kingdom','イギリス','イギリス',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(106,'The United States','アメリカ合衆国','アメリカ合衆国',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(107,'Uruguay','ウルグアイ','ウルグアイ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(108,'Venezuela','ベネズエラ','ベネズエラ',9,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(109,'Vietnam','ベトナム','ベトナム',80,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(110,'Wales','ウェールズ','ウェールズ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(111,'Zambia','ザンビア','ザンビア',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL),(112,'Zimbabwe','ジンバブエ','ジンバブエ',7,'2024-03-18 01:37:54',NULL,'2024-07-09 11:20:19',NULL,NULL);

--
-- Table structure for table `em_permission`
--

CREATE TABLE `em_permission` (
  `permission_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `note` longtext COLLATE utf8mb4_unicode_ci,
  `permission_key` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`permission_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_permission`
--

INSERT INTO `em_permission` VALUES (1,'access','access1','access1','2024-03-14 17:51:31','2024-03-14 17:51:31'),(2,'perm12','a2','perm12','2024-05-12 16:51:10','2024-05-12 16:51:16');

--
-- Table structure for table `em_sending_agency`
--

CREATE TABLE `em_sending_agency` (
  `sending_agency_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `representative_name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `representative_name_kana` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postcode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fax` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`sending_agency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_sending_agency`
--

INSERT INTO `em_sending_agency` VALUES (2,'agency 1','agency 1','office 1','321','agency 1','1231231231','21321321','agency@gmail.com',2,1,'2023-12-20 18:04:02',1,'2023-12-20 18:04:02'),(3,'agency  2','agency2','office 1','321','agency 1','1231231231','21321321','agency2@gmail.com',2,1,'2023-12-20 18:04:13',1,'2023-12-20 18:04:13'),(4,'agency_name_1','agency_name_1',NULL,NULL,NULL,'22222',NULL,'agency_name_1@gmail.com',10,113,'2024-03-11 15:30:44',113,'2024-03-11 15:30:44'),(5,'agency_name_2','agency_name_2',NULL,NULL,NULL,'2222222',NULL,'agency_name_2@gmail.com',10,113,'2024-03-11 15:30:59',113,'2024-03-11 15:30:59'),(6,'agency_name_3','agency_name_3',NULL,NULL,NULL,'22222222',NULL,'agency_name_3@gmail.com',10,113,'2024-03-11 15:31:52',113,'2024-03-11 15:31:52'),(7,'agency_name_4','agency_name_4',NULL,NULL,NULL,'22222222',NULL,'agency_name_4@gmail.com',10,113,'2024-03-11 15:32:39',113,'2024-03-11 15:32:39'),(8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,'2024-04-11 01:35:13',NULL,'2024-04-11 01:35:13'),(9,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,'2024-04-11 01:35:13',NULL,'2024-04-11 01:35:13'),(10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,'2024-04-11 01:35:13',NULL,'2024-04-11 01:35:13'),(11,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,'2024-04-11 01:35:13',NULL,'2024-04-11 01:35:13'),(12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,'2024-04-11 01:35:13',NULL,'2024-04-11 01:35:13');

--
-- Table structure for table `em_sending_agency_trainee`
--

CREATE TABLE `em_sending_agency_trainee` (
  `sending_agency_trainee_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `sending_agency_id` bigint NOT NULL,
  `trainee_id` bigint NOT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` int NOT NULL,
  PRIMARY KEY (`sending_agency_trainee_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_sending_agency_trainee`
--


--
-- Table structure for table `em_stay_facility`
--

CREATE TABLE `em_stay_facility` (
  `stay_facility_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `stay_facility_form_div` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `stay_facility_form_detail` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contributor_div` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contributor_name` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postcode` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_area` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_number` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_density` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_charge_detail` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_note` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_count` int DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`stay_facility_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_stay_facility`
--

INSERT INTO `em_stay_facility` VALUES (1,'stay 12','02','stay 12','01','stay 12','1231231231','stay 12','stay 1','stay 12','stay 1','stay 12','stay 1','stay 12','stay 1',1,'2023-12-29 13:50:07',1,'2023-12-29 13:55:46',1,1),(2,'stay2','02','stay2','02','stay2','stay2','stay2stay2','stay2','stay2','stay2','stay2','stay2','stay2','stay2',1,'2023-12-29 13:51:55',NULL,'2023-12-29 13:51:55',NULL,1);

--
-- Table structure for table `em_trainee_passport`
--

CREATE TABLE `em_trainee_passport` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `status` int DEFAULT NULL,
  `trainee_id` bigint DEFAULT NULL,
  `file_id` int DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `issue_date` date DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_trainee_passport`
--


--
-- Table structure for table `em_trainee_visitreport`
--

CREATE TABLE `em_trainee_visitreport` (
  `trainee_visitreport_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `trainee_id` bigint DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `month_number` int DEFAULT NULL,
  `date` date DEFAULT NULL,
  `plan_progress_1` int DEFAULT NULL,
  `plan_progress_2` int DEFAULT NULL,
  `plan_progress_3` int DEFAULT NULL,
  `progress_1` int DEFAULT NULL,
  `progress_2` int DEFAULT NULL,
  `progress_3` int DEFAULT NULL,
  `life_status_1` int DEFAULT NULL,
  `life_status_2` int DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`trainee_visitreport_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_trainee_visitreport`
--

INSERT INTO `em_trainee_visitreport` VALUES (1,3,NULL,'2024-04-09 08:03:28',NULL,'2024-04-09 08:03:28',1,123123,'2024-04-09',1,2,2,3,3,3,2,2,'123');

--
-- Table structure for table `em_trainee_zairyucard`
--

CREATE TABLE `em_trainee_zairyucard` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `status` int DEFAULT NULL,
  `trainee_id` bigint DEFAULT NULL,
  `file_id` int DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `residence_type` int DEFAULT NULL,
  `expiration_period` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expiration_date` date DEFAULT NULL,
  `permit_date` date DEFAULT NULL,
  `issue_date` date DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_trainee_zairyucard`
--

INSERT INTO `em_trainee_zairyucard` VALUES (1,1,1,1304,'A11111333',1,'3','2024-07-20','2024-07-25','2024-08-07',NULL,NULL,'2024-07-20 02:29:48',NULL,'2024-07-20 02:29:48',1);

--
-- Table structure for table `em_training_facility`
--

CREATE TABLE `em_training_facility` (
  `training_facility_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postcode` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address1` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `food_expense_payment` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `food_expense_payment_detail` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `food_expense_trainee_charge` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `food_expense_trainee_charge_detail` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `food_expense_comment` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_cost_payment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_cost_payment_detail` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_cost_trainee_charge` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_cost_trainee_charge_detail` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_form` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_form_detail` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_tel` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_postcode` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_address1` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_address2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_area` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_person` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_place_room_area` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `phone` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(254) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_on` date DEFAULT NULL,
  `status` tinyint DEFAULT NULL,
  PRIMARY KEY (`training_facility_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `em_training_facility`
--

INSERT INTO `em_training_facility` VALUES (1,'test12123123','test13','test14','test15','test16','0','test17','0','test12','test13','0','test14','0','test15','99','test12','test14','test13','test15','test16','test18','test17','test19','test111',1,'2023-12-20 16:48:06',1,'2024-02-23 13:50:15',1,NULL,NULL,NULL,NULL),(2,'facility1','facility1','facility1','facility1','facility1','1','facility1','1','facility1','facility1','1','facility1','1','facility1','01',NULL,'facility1','facility1','facility1','facility1','facility1','facility1','facility1','facility1',1,'2023-12-20 18:05:05',1,'2023-12-20 18:05:05',1,NULL,NULL,NULL,NULL);

--
-- Table structure for table `et_audit_report`
--

CREATE TABLE `et_audit_report` (
  `audit_report_id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint DEFAULT NULL,
  `customer_office_id` bigint DEFAULT NULL,
  `audit_date` date DEFAULT NULL,
  `last_audit_date` date DEFAULT NULL,
  `next_audit_date` date DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_count` int DEFAULT NULL,
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`audit_report_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_audit_report`
--

INSERT INTO `et_audit_report` VALUES (1,1,1,'2023-12-30','2023-12-30','2023-12-21',1,'2023-12-24 12:13:42',1,'2023-12-24 12:24:21',2,1),(2,5,7,'2023-12-28','2024-01-03','2023-12-25',1,'2023-12-29 17:38:06',1,'2023-12-29 17:42:59',1,1),(3,4,6,'2023-12-29','2023-12-31','2023-12-30',1,'2023-12-29 17:44:41',NULL,'2023-12-29 17:44:41',NULL,1);

--
-- Table structure for table `et_bookmark`
--

CREATE TABLE `et_bookmark` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sub_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
  `company_id` int NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_bookmark`
--


--
-- Table structure for table `et_candidate_curriculumvitae`
--

CREATE TABLE `et_candidate_curriculumvitae` (
  `candidate_curriculumvitae_id` bigint NOT NULL AUTO_INCREMENT,
  `candidate_id` bigint NOT NULL,
  `academic_level` int DEFAULT NULL,
  `created_by_id` bigint NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `edu_level_from1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `edu_level_to1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `edu_level_note1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_worked_2go` int DEFAULT NULL,
  `worked_2go_date_from` date DEFAULT NULL,
  `worked_2go_date_to` date DEFAULT NULL,
  `work_history_from1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_history_to1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_company_name1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_job_name1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_worked_construct` int DEFAULT NULL,
  `worked_construct_date_from` date DEFAULT NULL,
  `worked_construct_date_to` date DEFAULT NULL,
  `jobtype_name1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `jobtype_experience_year1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `jobtype_note_year1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `jobtype_name2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `jobtype_experience_year2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `jobtype_note_year2` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `lang_level_japanese` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `lang_level_english` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `lang_level_other` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_experience_place` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_expericene_year` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `visit_japan_history` int DEFAULT NULL,
  `visit_japan_history_fromdate` date DEFAULT NULL,
  `visit_japan_history_todate` date DEFAULT NULL,
  `visit_japan_history_visaname` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `ginojishuse` int DEFAULT NULL,
  `ginojishusei_other` int DEFAULT NULL,
  `work_as_ginojishusei` int DEFAULT NULL,
  `work_as_ginojishusei_fromdate` date DEFAULT NULL,
  `work_as_ginojishusei_todate` date DEFAULT NULL,
  `work_as_ginojishusei_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_visa_failed` int DEFAULT NULL,
  `visa_failed_reason` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `visit_japan_other` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_work_as_nurse` int DEFAULT NULL,
  `work_as_nurse_fromdate` date DEFAULT NULL,
  `work_as_nurse_todate` date DEFAULT NULL,
  `is_inputform` int DEFAULT NULL,
  `inputform_id` bigint DEFAULT NULL,
  PRIMARY KEY (`candidate_curriculumvitae_id`)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `et_candidate_curriculumvitae`
--

INSERT INTO `et_candidate_curriculumvitae` VALUES (5,11,NULL,1,'2024-03-20 07:55:57','2024-03-20 09:02:51',1,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,12),(6,23,NULL,1,'2024-03-20 07:58:47','2024-03-20 07:58:47',NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(7,38,NULL,1,'2024-03-20 07:59:45','2024-03-20 07:59:45',NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(8,38,NULL,1,'2024-03-20 08:01:26','2024-04-18 00:04:40',1,2,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,1,24),(9,39,NULL,1,'2024-03-20 08:02:03','2024-03-20 08:02:03',NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(10,40,NULL,1,'2024-03-20 08:04:18','2024-03-20 08:04:18',NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(13,15,NULL,1,'2024-03-20 14:28:42','2024-03-20 14:28:49',NULL,2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL),(14,15,NULL,1,'2024-03-20 14:32:51','2024-03-20 14:32:51',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,15,NULL,1,'2024-03-20 14:32:58','2024-03-20 14:32:58',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(16,17,NULL,1,'2024-03-20 14:33:25','2024-03-20 17:11:08',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,25),(17,15,NULL,1,'2024-03-20 14:55:45','2024-03-20 15:00:05',NULL,1,'1231231','ádasda',NULL,NULL,NULL,NULL,'ádasdasd','ádasd','ádasd','ádasd',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,NULL),(18,15,NULL,1,'2024-03-20 14:55:52','2024-03-20 14:59:19',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,19),(19,15,NULL,1,'2024-03-20 14:59:19','2024-03-20 14:59:19',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(20,17,NULL,1,'2024-03-20 15:01:48','2024-03-20 15:01:48',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(21,17,NULL,1,'2024-03-20 15:04:15','2024-03-20 15:04:15',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(22,15,NULL,1,'2024-03-20 16:31:43','2024-03-20 17:17:07',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,27),(23,16,NULL,1,'2024-03-20 16:51:01','2024-03-20 16:51:01',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(24,38,NULL,1,'2024-03-20 16:54:21','2024-03-20 16:54:21',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(25,17,NULL,1,'2024-03-20 17:11:08','2024-03-20 17:11:18',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,26),(26,17,NULL,1,'2024-03-20 17:11:18','2024-03-20 17:11:18',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(27,15,NULL,1,'2024-03-20 17:17:07','2024-03-20 17:17:07',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(28,23,NULL,1,'2024-03-24 01:26:48','2024-03-24 01:26:48',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(30,36,NULL,1,'2024-04-16 05:19:57','2024-04-16 05:19:57',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(31,38,NULL,1,'2024-05-04 10:31:56','2024-05-04 10:31:56',NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

--
-- Table structure for table `et_candidate_curriculumvitae_edu_lever`
--

CREATE TABLE `et_candidate_curriculumvitae_edu_lever` (
  `id` int NOT NULL AUTO_INCREMENT,
  `project_candidate_curriculumvitae_id` int DEFAULT NULL,
  `edu_level_from1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `edu_level_to1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `edu_level_note1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `et_candidate_curriculumvitae_edu_lever`
--

INSERT INTO `et_candidate_curriculumvitae_edu_lever` VALUES (1,14,'test','0','3','2024-04-18 00:20:58','2024-04-18 00:57:09'),(3,8,'zcxzc','zxczxc','zxczxc','2024-04-18 09:04:15','2024-04-18 09:04:40'),(4,8,'zxczxc','xczc','zczcx','2024-04-18 09:04:15','2024-04-18 09:04:40'),(5,8,'zxcz','zxcxzc','zxczxc','2024-04-18 09:04:40','2024-04-18 09:04:40');

--
-- Table structure for table `et_candidate_curriculumvitae_work`
--

CREATE TABLE `et_candidate_curriculumvitae_work` (
  `id` int NOT NULL AUTO_INCREMENT,
  `project_candidate_curriculumvitae_id` int NOT NULL,
  `work_history_from1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_history_to1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_company_name1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `work_job_name1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `et_candidate_curriculumvitae_work`
--

INSERT INTO `et_candidate_curriculumvitae_work` VALUES (4,8,'xzczxc','zxczxc','xczxc','xczxc','2024-04-18 09:04:15','2024-04-18 09:04:40'),(5,8,'zxczc','zxczx','zxczxc','zxczc','2024-04-18 09:04:15','2024-04-18 09:04:40'),(6,8,'xzczxc','zxc','zxc','zxczx','2024-04-18 09:04:15','2024-04-18 09:04:40');

--
-- Table structure for table `et_comment`
--

CREATE TABLE `et_comment` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `status` int DEFAULT NULL,
  `date` date DEFAULT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` text COLLATE utf8mb4_unicode_ci,
  `table_record_id` int DEFAULT NULL,
  `table_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  `company_id` bigint NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_comment`
--

INSERT INTO `et_comment` VALUES (1,NULL,'2024-04-24','rasdasd','asdasdasd',71,'et_project','2024-04-23 23:11:17',1,'2024-04-23 23:11:17',NULL,0,1);

--
-- Table structure for table `et_doc_agreement_certificate`
--

CREATE TABLE `et_doc_agreement_certificate` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `school_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_mail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_mail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contract_date` date DEFAULT NULL,
  `edu_month_count` int DEFAULT NULL,
  `edu_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `jobtype_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `work_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `implementer_type` json DEFAULT NULL COMMENT '1: 教育機関   2:実習実施者   3:管理団体    4:外国の送出機関',
  `content_category` json DEFAULT NULL,
  `content_category_note` varchar(255) DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `worker_type` int DEFAULT NULL,
  `worker_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` int DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_agreement_certificate`
--

INSERT INTO `et_doc_agreement_certificate` VALUES (1,'123','TRAN PHU HA DONG HA NOI','0867634618','sda@gmail.com','Dang Tiep','center_address','center_tel','center_mail','2024-06-20',10,'edu_content','code_name','code_name','code_name','code_name','2','4','ádasd','2024-06-12',1,'worker_name ádasd','director_name',NULL,NULL,NULL,NULL,1,1,6);

--
-- Table structure for table `et_doc_application_cancel`
--

CREATE TABLE `et_doc_application_cancel` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `request_date` date DEFAULT NULL,
  `check_1` int DEFAULT NULL,
  `check_2` int DEFAULT NULL,
  `cancel_reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_application_cancel`
--

INSERT INTO `et_doc_application_cancel` VALUES (1,'2024-07-02','test1','tesst','2024-07-14',0,1,'cancel_reason',NULL,NULL,NULL,1,1,6),(2,'2024-07-10','company_name','company_name','2024-07-17',1,0,'cancel_reason',NULL,NULL,NULL,NULL,1,0);

--
-- Table structure for table `et_doc_apply_trainee_list`
--

CREATE TABLE `et_doc_apply_trainee_list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_apply_trainee_list`
--

INSERT INTO `et_doc_apply_trainee_list` VALUES (1,'customer',NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_apply_trainee_list_namelist`
--

CREATE TABLE `et_doc_apply_trainee_list_namelist` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `apply_trainee_list_id` bigint NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nationality` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `sex` int DEFAULT NULL COMMENT '0: 男, 1:女',
  `trainning_type` int DEFAULT NULL COMMENT '1: 第１号企業単独型技能実習;  \r\n2:第２号企業単独型技能実習;  3: 第３号企業単独型技能実習;  4:第１号団体監理型技能実習;  5:第２号団体監理型技能実習;  6:第３号団体監理型技能実習',
  `updated_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_apply_trainee_list_namelist`
--

INSERT INTO `et_doc_apply_trainee_list_namelist` VALUES (1,1,'trainee1','nation1','2024-06-17',1,4,'2024-06-24 06:14:19','2024-06-24 06:14:19'),(2,1,'trainee2','nation2','2024-06-25',0,3,'2024-06-24 06:14:19','2024-06-24 06:14:19'),(3,1,'trainee3','natio3','2024-06-04',1,2,'2024-06-24 06:17:01','2024-06-24 06:17:01'),(4,1,'4','4',NULL,0,1,'2024-06-25 21:43:18','2024-06-25 21:43:18'),(5,1,'5','5',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(6,1,'6','6',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(7,1,'7','7',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(8,1,'8','8',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(9,1,'9','9',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(10,1,'11','11',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(11,1,'12','12',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(12,1,'13','13',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(13,1,'14','14',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(14,1,'15','15',NULL,1,1,'2024-06-26 02:43:16','2024-06-26 02:43:16'),(31,1,'15','15',NULL,1,1,'2024-06-26 04:02:55','2024-06-26 04:02:55'),(32,1,'16','16',NULL,1,1,'2024-06-26 04:02:55','2024-06-26 04:02:55'),(33,1,'17','17',NULL,1,1,'2024-06-26 04:02:55','2024-06-26 04:02:55'),(34,1,'18','18',NULL,1,1,'2024-06-26 04:02:55','2024-06-26 04:02:55');

--
-- Table structure for table `et_doc_audit_implementation_overview`
--

CREATE TABLE `et_doc_audit_implementation_overview` (
  `id` int NOT NULL AUTO_INCREMENT,
  `type_1_1` tinyint(1) DEFAULT NULL,
  `type_content_1_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_1_2` tinyint(1) DEFAULT NULL,
  `type_content_1_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_1_3` tinyint(1) DEFAULT NULL,
  `type_content_1_3` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_1_4` tinyint(1) DEFAULT NULL,
  `type_content_1_4` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_1_5` tinyint(1) DEFAULT NULL,
  `type_content_1_5` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_1_6` tinyint(1) DEFAULT NULL,
  `type_content_1_6` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_1` tinyint(1) DEFAULT NULL,
  `type_content_2_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_2` tinyint(1) DEFAULT NULL,
  `type_content_2_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_3` tinyint(1) DEFAULT NULL,
  `type_content_2_3` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_4` tinyint(1) DEFAULT NULL,
  `type_content_2_4` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_5` tinyint(1) DEFAULT NULL,
  `type_content_2_5` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_6` tinyint(1) DEFAULT NULL,
  `type_content_2_6` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_7` tinyint(1) DEFAULT NULL,
  `type_content_2_7` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_8` tinyint(1) DEFAULT NULL,
  `type_content_2_8` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_9` tinyint(1) DEFAULT NULL,
  `type_content_2_9` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_10` tinyint(1) DEFAULT NULL,
  `type_content_2_10` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_11` tinyint(1) DEFAULT NULL,
  `type_content_2_11` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_12` tinyint(1) DEFAULT NULL,
  `type_content_2_12` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_13` tinyint(1) DEFAULT NULL,
  `type_content_2_13` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_14` tinyint(1) DEFAULT NULL,
  `type_content_2_14` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_15` tinyint(1) DEFAULT NULL,
  `type_content_2_15` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_16` tinyint(1) DEFAULT NULL,
  `type_content_2_16` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_17` tinyint(1) DEFAULT NULL,
  `type_content_2_17` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_18` tinyint(1) DEFAULT NULL,
  `type_content_2_18` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_19` tinyint(1) DEFAULT NULL,
  `type_content_2_19` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_20` tinyint(1) DEFAULT NULL,
  `type_content_2_20` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_21` tinyint(1) DEFAULT NULL,
  `type_content_2_21` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_2_22` tinyint(1) DEFAULT NULL,
  `type_content_2_22` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_1` tinyint(1) DEFAULT NULL,
  `type_content_3_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_2` tinyint(1) DEFAULT NULL,
  `type_content_3_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_3` tinyint(1) DEFAULT NULL,
  `type_content_3_3` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_4` tinyint(1) DEFAULT NULL,
  `type_content_3_4` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_5` tinyint(1) DEFAULT NULL,
  `type_content_3_5` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_6` tinyint(1) DEFAULT NULL,
  `type_content_3_6` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_7` tinyint(1) DEFAULT NULL,
  `type_content_3_7` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_8` tinyint(1) DEFAULT NULL,
  `type_content_3_8` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_9` tinyint(1) DEFAULT NULL,
  `type_content_3_9` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_10` tinyint(1) DEFAULT NULL,
  `type_content_3_10` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_11` tinyint(1) DEFAULT NULL,
  `type_content_3_11` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_12` tinyint(1) DEFAULT NULL,
  `type_content_3_12` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_13` tinyint(1) DEFAULT NULL,
  `type_content_3_13` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_14` tinyint(1) DEFAULT NULL,
  `type_content_3_14` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_15` tinyint(1) DEFAULT NULL,
  `type_content_3_15` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_16` tinyint(1) DEFAULT NULL,
  `type_content_3_16` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_17` tinyint(1) DEFAULT NULL,
  `type_content_3_17` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_3_18` tinyint(1) DEFAULT NULL,
  `type_content_3_18` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_1` tinyint(1) DEFAULT NULL,
  `type_content_4_1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_2` tinyint(1) DEFAULT NULL,
  `type_content_4_2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_3` tinyint(1) DEFAULT NULL,
  `type_content_4_3` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_4` tinyint(1) DEFAULT NULL,
  `type_content_4_4` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_5` tinyint(1) DEFAULT NULL,
  `type_content_4_5` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_6` tinyint(1) DEFAULT NULL,
  `type_content_4_6` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_7` tinyint(1) DEFAULT NULL,
  `type_content_4_7` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_8` tinyint(1) DEFAULT NULL,
  `type_content_4_8` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_9` tinyint(1) DEFAULT NULL,
  `type_content_4_9` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_10` tinyint(1) DEFAULT NULL,
  `type_content_4_10` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_11` tinyint(1) DEFAULT NULL,
  `type_content_4_11` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_12` tinyint(1) DEFAULT NULL,
  `type_content_4_12` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_13` tinyint(1) DEFAULT NULL,
  `type_content_4_13` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_14` tinyint(1) DEFAULT NULL,
  `type_content_4_14` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_15` tinyint(1) DEFAULT NULL,
  `type_content_4_15` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type_4_16` tinyint(1) DEFAULT NULL,
  `type_content_4_16` text COLLATE utf8mb4_unicode_ci,
  `type_4_17` tinyint(1) DEFAULT NULL,
  `type_content_4_17` text COLLATE utf8mb4_unicode_ci,
  `type_4_18` tinyint(1) DEFAULT NULL,
  `type_content_4_18` text COLLATE utf8mb4_unicode_ci,
  `type_4_19` tinyint(1) DEFAULT NULL,
  `type_content_4_19` text COLLATE utf8mb4_unicode_ci,
  `type_4_20` tinyint(1) DEFAULT NULL,
  `type_content_4_20` text COLLATE utf8mb4_unicode_ci,
  `type_4_21` tinyint(1) DEFAULT NULL,
  `type_content_4_21` text COLLATE utf8mb4_unicode_ci,
  `type_4_22` tinyint(1) DEFAULT NULL,
  `type_content_4_22` text COLLATE utf8mb4_unicode_ci,
  `type_5_1` tinyint(1) DEFAULT NULL,
  `type_content_5_1` text COLLATE utf8mb4_unicode_ci,
  `type_5_2` tinyint(1) DEFAULT NULL,
  `type_content_5_2` text COLLATE utf8mb4_unicode_ci,
  `type_5_3` tinyint(1) DEFAULT NULL,
  `type_content_5_3` text COLLATE utf8mb4_unicode_ci,
  `content_6` text COLLATE utf8mb4_unicode_ci,
  `content_7` text COLLATE utf8mb4_unicode_ci,
  `sign_date` date DEFAULT NULL,
  `sign_name` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_audit_implementation_overview`
--

INSERT INTO `et_doc_audit_implementation_overview` VALUES (1,1,'type_content_1_1',2,'type_content_1_2',2,'type_content_1_3',2,'type_content_1_4',1,'type_content_1_5',1,'type_content_1_6',1,'type_content_2_1',2,'type_content_2_2',1,'type_content_2_3',1,'type_content_2_4',1,'type_content_2_5',1,'type_content_2_6',1,'type_content_2_7',1,'type_content_2_8',2,'type_content_2_9',2,'type_content_2_10',1,'type_content_2_11',1,'type_content_2_12',1,'type_content_2_13',1,'type_content_2_14',1,'type_content_2_15',1,'type_content_2_16',1,'type_content_2_17',1,'type_content_2_18',1,'type_content_2_19',1,'type_content_2_20',1,'type_content_2_21',1,'type_content_2_22',1,'type_content_3_1',1,'type_content_3_2',1,'type_content_3_3',1,'type_content_3_4',1,'type_content_3_5',1,'type_content_3_6',1,'type_content_3_7',1,'type_content_3_8',1,'type_content_3_9',1,'type_content_3_10',1,'type_content_3_11',1,'type_content_3_12',1,'type_content_3_13',1,'type_content_3_14',1,'type_content_3_15',1,'type_content_3_16',1,'type_content_3_17',NULL,NULL,1,'type_content_4_1',1,'type_content_4_2',1,'type_content_4_3',1,'type_content_4_4',1,'type_content_4_5',1,'type_content_4_6',1,'type_content_4_7',1,'type_content_4_8',1,'type_content_4_9',1,'type_content_4_10',1,'type_content_4_11',1,'type_content_4_12',1,'type_content_4_13',1,'type_content_4_14',1,'type_content_4_15',1,'type_content_4_16',1,'type_content_4_17',1,'type_content_4_18',1,'type_content_4_19',1,'type_content_4_20',1,'type_content_4_21',NULL,NULL,1,'type_content_5_1',1,'type_content_5_2',NULL,NULL,'content_6','content_7','2024-07-31','sign_name',NULL,NULL,NULL,NULL,NULL,0),(2,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,NULL,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,NULL,NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(3,1,'1',1,'213',1,'4',1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,NULL,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,1,NULL,NULL,NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_cert_application_fee`
--

CREATE TABLE `et_doc_cert_application_fee` (
  `id` int NOT NULL AUTO_INCREMENT,
  `created_date` date DEFAULT NULL,
  `money` int DEFAULT NULL,
  `check_1` int DEFAULT NULL,
  `check_2` int DEFAULT NULL,
  `check_3` int DEFAULT NULL,
  `check_4` int DEFAULT NULL,
  `nationality` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_cert_application_fee`
--

INSERT INTO `et_doc_cert_application_fee` VALUES (1,NULL,1,1,1,1,1,'nationality','name','sign_name','sign_creator_name',NULL,NULL,NULL,NULL,NULL,0),(2,'2024-07-19',100000,1,1,0,0,'nationality','name','sign_name','sign_creator_name',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_certificate_filelist`
--

CREATE TABLE `et_doc_certificate_filelist` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` int DEFAULT NULL,
  `trainee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_name` int DEFAULT NULL,
  `support_test_type` int DEFAULT NULL,
  `support_test_date` date DEFAULT NULL,
  `number_1` int DEFAULT NULL,
  `number_2` int DEFAULT NULL,
  `number_3` int DEFAULT NULL,
  `number_4` int DEFAULT NULL,
  `number_5` int DEFAULT NULL,
  `number_6` int DEFAULT NULL,
  `number_7` int DEFAULT NULL,
  `number_8` int DEFAULT NULL,
  `number_9` int DEFAULT NULL,
  `number_10` int DEFAULT NULL,
  `number_11` int DEFAULT NULL,
  `number_12` int DEFAULT NULL,
  `number_13` int DEFAULT NULL,
  `number_14` int DEFAULT NULL,
  `number_15` int DEFAULT NULL,
  `number_16` int DEFAULT NULL,
  `number_17` int DEFAULT NULL,
  `number_18` int DEFAULT NULL,
  `number_19` int DEFAULT NULL,
  `number_20` int DEFAULT NULL,
  `number_21` int DEFAULT NULL,
  `number_22` int DEFAULT NULL,
  `number_23` int DEFAULT NULL,
  `number_24` int DEFAULT NULL,
  `number_25` int DEFAULT NULL,
  `number_26` int DEFAULT NULL,
  `number_27` int DEFAULT NULL,
  `number_28` int DEFAULT NULL,
  `number_29` int DEFAULT NULL,
  `number_30` int DEFAULT NULL,
  `number_31` int DEFAULT NULL,
  `number_32` int DEFAULT NULL,
  `number_33` int DEFAULT NULL,
  `number_34` int DEFAULT NULL,
  `number_35` int DEFAULT NULL,
  `number_36` int DEFAULT NULL,
  `number_37` int DEFAULT NULL,
  `number_38` int DEFAULT NULL,
  `number_39` int DEFAULT NULL,
  `number_40` int DEFAULT NULL,
  `number_41` int DEFAULT NULL,
  `number_42` int DEFAULT NULL,
  `number_43` int DEFAULT NULL,
  `number_44` int DEFAULT NULL,
  `number_45` int DEFAULT NULL,
  `number_46` int DEFAULT NULL,
  `number_47` int DEFAULT NULL,
  `number_48` int DEFAULT NULL,
  `number_49` int DEFAULT NULL,
  `number_50` int DEFAULT NULL,
  `number_51` int DEFAULT NULL,
  `number_52` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_certificate_filelist`
--


--
-- Table structure for table `et_doc_certificate_residence`
--

CREATE TABLE `et_doc_certificate_residence` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `nationality` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sex` tinyint(1) DEFAULT NULL,
  `place_of_birth` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `marital_status` tinyint(1) DEFAULT NULL,
  `occupation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `home_town` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_japan` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cellular_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `passport_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `passport_date_expiration` date DEFAULT NULL,
  `chk_professor` tinyint(1) DEFAULT NULL,
  `chk_Instructor` tinyint(1) DEFAULT NULL,
  `chk_Artist` tinyint(1) DEFAULT NULL,
  `chk_Cultural` tinyint(1) DEFAULT NULL,
  `chk_Religious` tinyint(1) DEFAULT NULL,
  `chk_Journalist` tinyint(1) DEFAULT NULL,
  `chk_Transferee` tinyint(1) DEFAULT NULL,
  `chk_Researcher_Transferee` tinyint(1) DEFAULT NULL,
  `chk_Business` tinyint(1) DEFAULT NULL,
  `chk_Researcher` tinyint(1) DEFAULT NULL,
  `chk_Engineer` tinyint(1) DEFAULT NULL,
  `chk_Nursing` tinyint(1) DEFAULT NULL,
  `chk_Skilled_Labor` tinyint(1) DEFAULT NULL,
  `chk_Designated_IT` tinyint(1) DEFAULT NULL,
  `chk_Designated_Graduate` tinyint(1) DEFAULT NULL,
  `chk_Specified_1` tinyint(1) DEFAULT NULL,
  `chk_Specified_2` tinyint(1) DEFAULT NULL,
  `chk_Entertainer` tinyint(1) DEFAULT NULL,
  `chk_Student` tinyint(1) DEFAULT NULL,
  `chk_Trainee` tinyint(1) DEFAULT NULL,
  `chk_Technical_1` tinyint(1) DEFAULT NULL,
  `chk_Technical_2` tinyint DEFAULT NULL,
  `chk_Technical_3` tinyint(1) DEFAULT NULL,
  `chk_Dependent` tinyint(1) DEFAULT NULL,
  `chk_Dependent_family` tinyint(1) DEFAULT NULL,
  `chk_Dependent_epa` tinyint(1) DEFAULT NULL,
  `chk_Dependent_university` tinyint(1) DEFAULT NULL,
  `chk_Spouse_japanese` tinyint(1) DEFAULT NULL,
  `chk_Spouse_permanent` tinyint(1) DEFAULT NULL,
  `chk_long_term` tinyint(1) DEFAULT NULL,
  `chk_highly_skilled` tinyint(1) DEFAULT NULL,
  `chk_Highly_professional` tinyint(1) DEFAULT NULL,
  `chk_Highly_professional_2` tinyint DEFAULT NULL,
  `chk_others` tinyint DEFAULT NULL,
  `date_entry` date DEFAULT NULL,
  `port_entry` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `intended_stay` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `accompanying _persons` tinyint(1) DEFAULT NULL,
  `intended_visa` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `past_japan_entry` tinyint(1) DEFAULT NULL,
  `past_japan_entry_times` int DEFAULT NULL,
  `past_japan_entry_date_from` date DEFAULT NULL,
  `past_japan_entry_dateto` date DEFAULT NULL,
  `past_eligibility` tinyint(1) DEFAULT NULL,
  `past_eligibility_times` int DEFAULT NULL,
  `past_eligibility_ng_times` int DEFAULT NULL,
  `criminal_record` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `criminal_record_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `departure_order` tinyint(1) DEFAULT NULL,
  `departure_order_times` int DEFAULT NULL,
  `departure_order_date` date DEFAULT NULL,
  `implementing_organization_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `implementing_organization_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `implementing_organization_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applicant_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `relationship_applicant` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applicant_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applicant_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applicant_cellular_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `agent_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `agent_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `agent_organization` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `agent_tel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_accreditation_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_accreditation_date` date DEFAULT NULL,
  `trainee_chk_1` tinyint(1) DEFAULT NULL,
  `trainee_chk_2` tinyint(1) DEFAULT NULL,
  `trainee_chk_3` tinyint(1) DEFAULT NULL,
  `trainee_chk_4` tinyint(1) DEFAULT NULL,
  `trainee_chk_5` tinyint(1) DEFAULT NULL,
  `trainee_chk_6` tinyint(1) DEFAULT NULL,
  `trainee_occupation_chk_1` tinyint(1) DEFAULT NULL,
  `trainee_occupation_chk_1_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_occupation_chk_2` tinyint(1) DEFAULT NULL,
  `trainee_occupation_chk_2_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_from_date` date DEFAULT NULL,
  `training_from_to` date DEFAULT NULL,
  `return_from_date` date DEFAULT NULL,
  `return_from_to` date DEFAULT NULL,
  `company_place_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_employment insurance` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_business_type_1` tinyint(1) DEFAULT NULL,
  `company_business_type_1_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_business_type_multi` tinyint(1) DEFAULT NULL,
  `company_business_type_multi_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_business_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_business_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_staff_number` int DEFAULT NULL,
  `notification_number_acceptance` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notification_number_acceptance_date` date DEFAULT NULL,
  `organization_supervising_name2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_business_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_employment_insurance` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_business_type_1` tinyint(1) DEFAULT NULL,
  `organization_supervising_business_type_1_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_business_type_multi` tinyint(1) DEFAULT NULL,
  `organization_supervising_business_type_multi_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_address2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_tel2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_type_1` tinyint(1) DEFAULT NULL,
  `organization_supervising_type_2` tinyint(1) DEFAULT NULL,
  `organization_supervising_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organization_supervising_license_date` date DEFAULT NULL,
  `organization_supervising_license_date_from` date DEFAULT NULL,
  `organization_supervising_license_date_to` date DEFAULT NULL,
  `sign_organization_supervising_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_organization_supervising_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `company_id` bigint NOT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_certificate_residence`
--


--
-- Table structure for table `et_doc_certification_plan_management`
--

CREATE TABLE `et_doc_certification_plan_management` (
  `id` int NOT NULL AUTO_INCREMENT,
  `year` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `month` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_1_1` tinyint(1) DEFAULT NULL,
  `check_1_2_a` tinyint(1) DEFAULT NULL,
  `check_1_2_b` tinyint(1) DEFAULT NULL,
  `check_1_2_c` tinyint(1) DEFAULT NULL,
  `check_1_3` tinyint(1) DEFAULT NULL,
  `check_1_4` tinyint(1) DEFAULT NULL,
  `check_1_5` tinyint(1) DEFAULT NULL,
  `check_1_6` tinyint(1) DEFAULT NULL,
  `check_2_1` tinyint(1) DEFAULT NULL,
  `check_2_2` tinyint(1) DEFAULT NULL,
  `check_2_3` tinyint(1) DEFAULT NULL,
  `check_2_3_1` tinyint(1) DEFAULT NULL,
  `check_2_3_2` tinyint(1) DEFAULT NULL,
  `check_2_3_3` tinyint(1) DEFAULT NULL,
  `check_2_3_4` tinyint(1) DEFAULT NULL,
  `check_2_3_4_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_supervisor_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_certification_plan_management`
--

INSERT INTO `et_doc_certification_plan_management` VALUES (1,'2024','01',2,2,2,1,2,2,2,2,2,2,1,1,1,1,1,'check_2_3_4_content','certification_plan_management note','2024-07-09','sign_name','sign_supervisor_name',NULL,NULL,NULL,1,1,2);

--
-- Table structure for table `et_doc_customer_brief`
--

CREATE TABLE `et_doc_customer_brief` (
  `id` int NOT NULL AUTO_INCREMENT,
  `training_plan_check` int DEFAULT NULL,
  `training_implement_receipt_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `labor_insurance_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name_furigana` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `employee_number` varchar(255) DEFAULT NULL,
  `trainee_number_1` int DEFAULT NULL,
  `trainee_number_2` int DEFAULT NULL,
  `trainee_number_3` int DEFAULT NULL,
  `number_1st` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_1st_old` int DEFAULT NULL,
  `number_from1_2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_from1_2_old` int DEFAULT NULL,
  `number_from2_3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number_from2_3_old` int DEFAULT NULL,
  `number_disappear` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_customer_brief`
--

INSERT INTO `et_doc_customer_brief` VALUES (1,NULL,'training_implement_receipt_number','labor_insurance_number','name_furigana','name','employee_number',NULL,NULL,NULL,'number_1st',10,'number_2st',15,'number_3st',18,'number_disappear','note \r\nnote 1 \r\ntest \r\ntest3\r\ntest 4',NULL,NULL,NULL,NULL,NULL,0),(2,NULL,'123456789','AA-11-BB22-C-2222','きこう　かぶしきがいしゃ','機構　株式会社','120',NULL,NULL,NULL,'1',10,'2',2,'3',3,'2','test',NULL,NULL,NULL,NULL,NULL,0),(3,NULL,'1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_director_pledge`
--

CREATE TABLE `et_doc_director_pledge` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_director_pledge`
--

INSERT INTO `et_doc_director_pledge` VALUES (1,'2024-06-03','test1','test2',NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_director_pledge_listname`
--

CREATE TABLE `et_doc_director_pledge_listname` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `director_pledge_id` int DEFAULT NULL,
  `applicant_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_director_pledge_listname`
--


--
-- Table structure for table `et_doc_edu_brief`
--

CREATE TABLE `et_doc_edu_brief` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `center_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_mail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `establishment_date` date DEFAULT NULL,
  `center_type` int DEFAULT NULL COMMENT '1: 大学, 2: 高校, 3: 職業訓練校, 4: その他',
  `center_university_dep_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `center_type_other` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `edu_content` varchar(6000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `jobtype_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_center_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` int DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_edu_brief`
--

INSERT INTO `et_doc_edu_brief` VALUES (2,'123','director_name','center address','0123456789','test2gmail.com','2024-06-03',1,'test name','center other','edu content 123','job content','2024-06-03','test','test',NULL,NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_expenses_paid_trainee`
--

CREATE TABLE `et_doc_expenses_paid_trainee` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `name_romaji` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sending_agency_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sending_agency_receipt_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_sending_agency_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_sending_agency_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_sending_agency_receipt_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trainee_sign_date` date DEFAULT NULL,
  `trainee_sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_expenses_paid_trainee`
--

INSERT INTO `et_doc_expenses_paid_trainee` VALUES (1,'name_romaji','name','12322345678','345123','customer_name','company_name','2024-07-15','sign_sending_agency_name','12334567','123456','2024-07-25','trainee_sign_name',NULL,NULL,NULL,NULL,1,1);

--
-- Table structure for table `et_doc_explanation_during_training`
--

CREATE TABLE `et_doc_explanation_during_training` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name_romaji` varchar(255) DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_paid_yesno` tinyint(1) DEFAULT NULL,
  `learning_paid_money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_paid_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_paid_yesno` tinyint(1) DEFAULT NULL,
  `meal_paid_yes_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_trainer_paid_yesno` tinyint(1) DEFAULT NULL,
  `meal_trainer_paid_yes_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_paid_yesno` tinyint(1) DEFAULT NULL,
  `house_paid_yes_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_trainer_paid_yesno` tinyint(1) DEFAULT NULL,
  `house_trainer_paid_yes_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_type` tinyint(1) DEFAULT NULL,
  `house_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_size` float DEFAULT NULL,
  `house_number` int DEFAULT NULL,
  `house_oneperson_size` float DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `date` date DEFAULT NULL,
  `description_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description_relationship` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_explanation_during_training`
--

INSERT INTO `et_doc_explanation_during_training` VALUES (1,NULL,'name',NULL,'learning_paid_money','learning_paid_note',1,'meal_paid_yes_note',1,'meal_trainer_paid_yes_note','meal_note',1,'house_paid_yes_note',0,'house_trainer_paid_yes_note',1,'house_name','house_address',1000,3,100,'note trainee_declaration trainee_declaration trainee_declaration trainee_declaration trainee_declaration','other_note','2024-07-09','description_name','description_relationship','sign_name',NULL,'2024-01-03',NULL,NULL,NULL,1,0),(2,NULL,'name',NULL,'1000','learning_paid_note',1,'meal_paid_yes_note',0,'explanation_during_training.meal_trainer_paid_yes_note','meal_note',1,'house_paid_yes_note',1,'house_trainer_paid_yes_note',1,'house_name','house_address',100,10,100,'test','other_note','2024-07-16','description_name','description_relationship','sign_name',NULL,NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_explanation_fees_trainee`
--

CREATE TABLE `et_doc_explanation_fees_trainee` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `job_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `salary_month` int DEFAULT NULL,
  `salary_time` int DEFAULT NULL,
  `salary_month_1st` int DEFAULT NULL,
  `salary_time_1st` int DEFAULT NULL,
  `salary_month_2rd` int DEFAULT NULL,
  `salary_time_2rd` int DEFAULT NULL,
  `other_note` text COLLATE utf8mb4_unicode_ci,
  `other_trainee_yesno` tinyint(1) DEFAULT NULL,
  `japanese_job_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `japanese_yearold` int DEFAULT NULL,
  `japanese_experience_year` float DEFAULT NULL,
  `japanese_salary_month` int DEFAULT NULL,
  `japanese_salary_time` int DEFAULT NULL,
  `same_salary_japanese` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `salary_rule_yesno` tinyint(1) DEFAULT NULL,
  `salary_rule_yes_month_money` int DEFAULT NULL,
  `salary_rule_no_time_money` int DEFAULT NULL,
  `japanese_other` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_level_job_yesno` int DEFAULT NULL,
  `same_level_japanese_jobname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_level_japanese_yearold` int DEFAULT NULL,
  `same_level_japanese_experience` float DEFAULT NULL,
  `same_level_japanese_month_money` int DEFAULT NULL,
  `same_level_japanese_time_money` int DEFAULT NULL,
  `same_level_japanese_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_level_japanese_salary_yesno` tinyint(1) DEFAULT NULL,
  `same_level_japanese_salary_yes_month_money` int DEFAULT NULL,
  `same_level_japanese_salary_yes_time_money` int DEFAULT NULL,
  `same_level_japanese_salary_other` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_level_no_salary_yesno` tinyint(1) DEFAULT NULL,
  `same_level_no_salary_jobname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_level_no_salary_yearold` int DEFAULT NULL,
  `same_level_no_salary_experience` float DEFAULT NULL,
  `same_level_no_salary_month_money` int DEFAULT NULL,
  `same_level_no_salary_time_money` int DEFAULT NULL,
  `same_level_no_salary_reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `same_levele_no_salary_rule_yesno` tinyint(1) DEFAULT NULL,
  `same_levele_no_salary_rule_yes_month_money` int DEFAULT NULL,
  `same_levele_no_salary_rule_yes_time_money` int DEFAULT NULL,
  `same_levele_no_salary_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_allowance_yesno` tinyint(1) DEFAULT NULL,
  `learning_allowance_yes_money` int DEFAULT NULL,
  `learning_allowance_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_allowance_yesno` tinyint(1) DEFAULT NULL,
  `meal_allowance_yes_money` int DEFAULT NULL,
  `meal_allowance_trainee_self_yesno` tinyint(1) DEFAULT NULL,
  `meal_allowance_trainee_self_yes_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_allowance_trainee_self_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_allowance_yesno` tinyint(1) DEFAULT NULL,
  `learning_house_allowance_yes_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_allowance_trainee_self_yesno` tinyint(1) DEFAULT NULL,
  `learning_house_allowance_trainee_self_yes_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_type` tinyint(1) DEFAULT NULL,
  `learning_house_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_postcode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_tel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `learning_house_size` float DEFAULT NULL,
  `learning_house_person_number` int DEFAULT NULL,
  `learning_house_oneperson_size` float DEFAULT NULL,
  `learning_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check1` tinyint(1) DEFAULT NULL,
  `house_check2` tinyint(1) DEFAULT NULL,
  `house_check3` tinyint(1) DEFAULT NULL,
  `house_check4` tinyint(1) DEFAULT NULL,
  `house_check5` tinyint(1) DEFAULT NULL,
  `house_check6` tinyint(1) DEFAULT NULL,
  `house_check7` tinyint(1) DEFAULT NULL,
  `house_check8` tinyint(1) DEFAULT NULL,
  `house_check9` tinyint(1) DEFAULT NULL,
  `house_check1_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check2_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check3_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check4_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check5_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check6_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check7_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check8_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_check9_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_customer_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `salary_month_money` int DEFAULT NULL,
  `meal_month_money` int DEFAULT NULL,
  `meal_month_money_yesno` tinyint(1) DEFAULT NULL,
  `meal_month_money_furniture_note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `meal_money_description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `house_money` int DEFAULT NULL,
  `house_type` tinyint(1) DEFAULT NULL,
  `house_money_description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_money_trainee_regular_1_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_money_trainee_regular_1_money` int DEFAULT NULL,
  `other_money_trainee_regular_2_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_money_trainee_regular_2_money` int DEFAULT NULL,
  `other_money_trainee_regular_3_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_money_trainee_regular_3_money` int DEFAULT NULL,
  `other_money_trainee_regular_wifi` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_money_trainee_regular_money` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  `other_money_trainee_yesno` int DEFAULT NULL,
  `water_electric_collect_yesno` int DEFAULT NULL,
  `water_electric_money` int DEFAULT NULL,
  `other_money` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_explanation_fees_trainee`
--

INSERT INTO `et_doc_explanation_fees_trainee` VALUES (2,'customer_name','job_name',1000,800,1111,500,2222,600,'salary_month_1st',1,'salary_month_1st',8,5,1000,900,'same_salary_japanese',1,1000,200,'japanese_other',0,'same_level_japanese_jobname',1,5,200,300,'same_level_japanese_reason',0,100,150,'same_level_japanese_salary_other',0,'same_level_no_salary_jobname',18,180,250,240,'same_level_no_salary_reason',1,300,360,'same_levele_no_salary_note',0,800,'learning_allowance_note',0,900,0,'meal_allowance_trainee_self_yes_note','meal_allowance_trainee_self_note',0,'learning_house_allowance_yes_note',1,'learning_house_allowance_trainee_self_yes_note',1,'learning_house_name','learning_house_address','learning_house_postcode','learning_house_tel',300,100,10,'learning_note',1,0,1,0,0,1,0,1,0,'house_check1_note','house_check2_note','house_check3_note','house_check4_note','house_check5_note','house_check6_note','house_check7_note','house_check8_note','house_check9_note','sign_customer_name','sign_name',10000,280,1,'meal_month_money_furniture_note','meal_money_description',270,1,'house_money_description','other_money_trainee_regular_1_name',100,'other_money_trainee_regular_2_name',110,'other_money_trainee_regular_3_name',120,'other_money_trainee_regular_wifi','200',NULL,NULL,NULL,NULL,NULL,0,0,1,320,160);

--
-- Table structure for table `et_doc_ext_audit_report`
--

CREATE TABLE `et_doc_ext_audit_report` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `customer_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_date` date DEFAULT NULL,
  `audit_creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_creator_support1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_creator_support2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `report_audit_type` tinyint(1) DEFAULT NULL,
  `payslip_audit_type` tinyint(1) DEFAULT NULL,
  `audit_result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_evaluate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_1_type` tinyint(1) DEFAULT NULL,
  `audit_result_1_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_2_type` tinyint(1) DEFAULT NULL,
  `audit_result_2_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_3_type` tinyint(1) DEFAULT NULL,
  `audit_result_3_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_4_type` tinyint(1) DEFAULT NULL,
  `audit_result_4_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_5_type` tinyint(1) DEFAULT NULL,
  `audit_result_5_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_6_type` tinyint(1) DEFAULT NULL,
  `audit_result_6_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_7_type` tinyint(1) DEFAULT NULL,
  `audit_result_7_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_8_type` tinyint(1) DEFAULT NULL,
  `audit_result_8_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_9_type` tinyint(1) DEFAULT NULL,
  `audit_result_9_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_10_type` tinyint DEFAULT NULL,
  `audit_result_10_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_11_type` tinyint DEFAULT NULL,
  `audit_result_11_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_12_type` tinyint DEFAULT NULL,
  `audit_result_12_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_13_type` tinyint DEFAULT NULL,
  `audit_result_13_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_14_type` tinyint DEFAULT NULL,
  `audit_result_14_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_15_type` tinyint DEFAULT NULL,
  `audit_result_15_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_16_type` tinyint DEFAULT NULL,
  `audit_result_16_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_17_type` tinyint DEFAULT NULL,
  `audit_result_17_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_18_type` tinyint DEFAULT NULL,
  `audit_result_18_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_19_type` tinyint(1) DEFAULT NULL,
  `audit_result_19_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_20_type` tinyint(1) DEFAULT NULL,
  `audit_result_20_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_21_type` tinyint(1) DEFAULT NULL,
  `audit_result_21_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_22_type` tinyint(1) DEFAULT NULL,
  `audit_result_22_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_23_type` tinyint(1) DEFAULT NULL,
  `audit_result_23_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_24_type` tinyint(1) DEFAULT NULL,
  `audit_result_24_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_25_type` tinyint(1) DEFAULT NULL,
  `audit_result_25_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_26_type` tinyint(1) DEFAULT NULL,
  `audit_result_26_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_27_type` tinyint(1) DEFAULT NULL,
  `audit_result_27_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_28_type` int DEFAULT NULL,
  `audit_result_28_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_29_type` tinyint(1) DEFAULT NULL,
  `audit_result_29_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_30_type` tinyint(1) DEFAULT NULL,
  `audit_result_30_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_31_type` tinyint(1) DEFAULT NULL,
  `audit_result_31_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_32_type` tinyint(1) DEFAULT NULL,
  `audit_result_32_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_33_type` tinyint(1) DEFAULT NULL,
  `audit_result_33_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_34_type` tinyint(1) DEFAULT NULL,
  `audit_result_34_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_35_type` tinyint(1) DEFAULT NULL,
  `audit_result_35_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note_1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `note_2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_audit_report`
--

INSERT INTO `et_doc_ext_audit_report` VALUES (1,'2024-07-22','customer_director_name','creator_name','customer_name','customer_postcode','customer_address','0123456789','customer_ceo_name','branch_name','branch_postcode','branch_address','branch_tel','branch_ceo_name','2024-07-24','audit_creator_name','audit_creator_support1','audit_creator_support2',0,0,'audit_result','audit_evaluate','audit_note',0,'note1',1,'note2',0,'note3',0,'audit_result_4_note',1,'note5',0,'note6',NULL,'note7',0,'note8',0,'note9',1,'note10',1,'note11',0,'note12',0,'note13',0,'note14',1,'note15',0,'note16',0,'note17',1,'note18',0,'note19',0,'audit_result_20_type',0,'note21',1,'audit_result_22',0,'note23',0,'note24',1,'note25',0,'note26',0,'note27',1,'note28',1,'note29',1,'note30',1,'note31',1,'note32',0,'note33',1,'note34',0,'note35','note1','note2',NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_ext_audit_report_accompany`
--

CREATE TABLE `et_doc_ext_audit_report_accompany` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `customer_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_date` date DEFAULT NULL,
  `audit_creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_creator_support1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_creator_support2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_branch_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_branch_trainning_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `home_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_type_5` tinyint(1) DEFAULT NULL,
  `check_type_6` tinyint(1) DEFAULT NULL,
  `check_type_7` tinyint(1) DEFAULT NULL,
  `check_type_8` tinyint(1) DEFAULT NULL,
  `check_type_9` tinyint(1) DEFAULT NULL,
  `evaluate_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_audit_report_accompany`
--

INSERT INTO `et_doc_ext_audit_report_accompany` VALUES (1,'2024-07-18','customer_director_name','creator_name','customer_name','321 ― 2341','customer_address','321 ― 3213 ― 2132','customer_ceo_name','branch_name','321 ― 3213','branch_address','213 ― 2132 ― 1321','branch_ceo_name','2024-07-18','audit_creator_name','audit_creator_support1','audit_creator_support2','company_name','321 ― 3213','company_address','231 ― 2132 ― 1321','company_branch_address','company_branch_trainning_address','home_address',2,2,1,2,2,'evaluate_content','note',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_ext_auditor_brief`
--

CREATE TABLE `et_doc_ext_auditor_brief` (
  `id` int NOT NULL AUTO_INCREMENT,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_name_furigana` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_leader_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_leader_furigana` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_leader_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_name_furigang` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_national` varchar(255) DEFAULT NULL,
  `person_title` varchar(255) DEFAULT NULL,
  `person_certificate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_experience_cv` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `training_semina_cv` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `applicant_relationship` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_auditor_brief`
--

INSERT INTO `et_doc_ext_auditor_brief` VALUES (1,'company_name','company_name_furigana','company_postcode','company_address','company_tel','company_leader_name','company_leader_furigana','company_leader_title','person_name','person_name_furigang','person_postcode','person_address','person_tel','person_national','person_title','person_certificate','training_experience_cv','training_semina_cv','applicant_relationship','2024-07-02','sign_name','test123',NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_ext_auditor_pledge`
--

CREATE TABLE `et_doc_ext_auditor_pledge` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_auditor_pledge`
--

INSERT INTO `et_doc_ext_auditor_pledge` VALUES (1,'2024-07-25','sign_name','customer_name',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_ext_officer_confirm`
--

CREATE TABLE `et_doc_ext_officer_confirm` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `customer_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `customer_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `branch_ceo_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_date` date DEFAULT NULL,
  `audit_creator_support1` tinyint(1) DEFAULT NULL,
  `audit_creator_support2` tinyint(1) DEFAULT NULL,
  `audit_evaluate` date DEFAULT NULL,
  `audit_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_1_type` tinyint(1) DEFAULT NULL,
  `audit_result_1_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_2_type` tinyint(1) DEFAULT NULL,
  `audit_result_2_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_3_type` tinyint(1) DEFAULT NULL,
  `audit_result_3_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_4_type` tinyint(1) DEFAULT NULL,
  `audit_result_4_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_5_type` tinyint(1) DEFAULT NULL,
  `audit_result_5_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_6_type` tinyint(1) DEFAULT NULL,
  `audit_result_6_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_7_type` tinyint(1) DEFAULT NULL,
  `audit_result_7_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_8_type` tinyint(1) DEFAULT NULL,
  `audit_result_8_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_9_type` tinyint(1) DEFAULT NULL,
  `audit_result_9_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_10_type` tinyint DEFAULT NULL,
  `audit_result_10_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_11_type` tinyint DEFAULT NULL,
  `audit_result_11_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_12_type` tinyint DEFAULT NULL,
  `audit_result_12_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_13_type` tinyint DEFAULT NULL,
  `audit_result_13_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_14_type` tinyint DEFAULT NULL,
  `audit_result_14_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_15_type` tinyint DEFAULT NULL,
  `audit_result_15_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_16_type` tinyint DEFAULT NULL,
  `audit_result_16_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_17_type` tinyint DEFAULT NULL,
  `audit_result_17_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_18_type` tinyint DEFAULT NULL,
  `audit_result_18_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_19_type` tinyint(1) DEFAULT NULL,
  `audit_result_19_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_20_type` tinyint(1) DEFAULT NULL,
  `audit_result_20_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_21_type` tinyint(1) DEFAULT NULL,
  `audit_result_21_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_22_type` tinyint(1) DEFAULT NULL,
  `audit_result_22_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_23_type` tinyint(1) DEFAULT NULL,
  `audit_result_23_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_24_type` tinyint(1) DEFAULT NULL,
  `audit_result_24_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_25_type` tinyint(1) DEFAULT NULL,
  `audit_result_25_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_26_type` tinyint(1) DEFAULT NULL,
  `audit_result_26_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_27_type` tinyint(1) DEFAULT NULL,
  `audit_result_27_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_28_type` int DEFAULT NULL,
  `audit_result_28_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_29_type` tinyint(1) DEFAULT NULL,
  `audit_result_29_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_30_type` tinyint(1) DEFAULT NULL,
  `audit_result_30_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_31_type` tinyint(1) DEFAULT NULL,
  `audit_result_31_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_32_type` tinyint(1) DEFAULT NULL,
  `audit_result_32_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_33_type` tinyint(1) DEFAULT NULL,
  `audit_result_33_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_34_type` tinyint(1) DEFAULT NULL,
  `audit_result_34_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `audit_result_35_type` tinyint(1) DEFAULT NULL,
  `audit_result_35_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note_1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `note_2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_officer_confirm`
--


--
-- Table structure for table `et_doc_ext_officer_pledge`
--

CREATE TABLE `et_doc_ext_officer_pledge` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_ext_officer_pledge`
--

INSERT INTO `et_doc_ext_officer_pledge` VALUES (1,'2024-07-09','sign_name','director_name',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_file`
--

CREATE TABLE `et_doc_file` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `file_name` varchar(500) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `fileable_type` varchar(255) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `item_id` bigint unsigned DEFAULT NULL,
  `url` varchar(500) COLLATE utf8mb3_unicode_ci DEFAULT NULL,
  `file_id` bigint unsigned DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `et_doc_file`
--

INSERT INTO `et_doc_file` VALUES (1,'1','App\\Models\\MInvoice',1,'1',1),(2,'2','App\\Models\\MInvoice',1,'1',2),(3,NULL,'App\\Models\\MInvoice',2,NULL,2);

--
-- Table structure for table `et_doc_foreign_institution_certificate`
--

CREATE TABLE `et_doc_foreign_institution_certificate` (
  `id` int NOT NULL AUTO_INCREMENT,
  `check_trainging_1` tinyint(1) DEFAULT NULL,
  `check_trainging_2` tinyint(1) DEFAULT NULL,
  `check_trainging_3` tinyint(1) DEFAULT NULL,
  `check_training_3_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_finish_1` tinyint(1) DEFAULT NULL,
  `check_finish_1_company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_finish_1_dep_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_finish_1_job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_finish_2` tinyint(1) DEFAULT NULL,
  `check_finish_3` tinyint(1) DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_foreign_institution_certificate`
--

INSERT INTO `et_doc_foreign_institution_certificate` VALUES (1,1,0,1,'note',1,'check_finish_1_company_name','check_finish_1_company_name','check_finish_1_job_name',1,1,'2024-07-19','sign_company_name','sign_name',NULL,NULL,NULL,1,1,3);

--
-- Table structure for table `et_doc_handlinginfo_agreement`
--

CREATE TABLE `et_doc_handlinginfo_agreement` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_handlinginfo_agreement`
--

INSERT INTO `et_doc_handlinginfo_agreement` VALUES (1,'2024-06-21','NGUYEN thi anh nguyet',NULL,NULL,NULL,NULL,1,1,3);

--
-- Table structure for table `et_doc_intention_agreement`
--

CREATE TABLE `et_doc_intention_agreement` (
  `id` int NOT NULL AUTO_INCREMENT,
  `deadline_date` date DEFAULT NULL,
  `returncountry_date` date DEFAULT NULL,
  `reason_otherlang` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reason_jp` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `person_type` int DEFAULT NULL COMMENT '1:監理団体,  2:実習実施者',
  `person_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_intention_agreement`
--

INSERT INTO `et_doc_intention_agreement` VALUES (1,'2024-06-20','2024-06-21','dsa','dsa',2,'dsa','2024-06-22','dsadsa','dsa',NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_kumiai_change_info_application`
--

CREATE TABLE `et_doc_kumiai_change_info_application` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permission_date` date DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_name_furigana` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `condition_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `condition_type_3_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_type_jobtype` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_type_content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_type_2_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  `reason_type_jobtype_id` bigint DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_kumiai_change_info_application`
--

INSERT INTO `et_doc_kumiai_change_info_application` VALUES (1,'2024-07-08','name','321321','2024-07-09','customer_name','customer_name_furigana','321 ― 3213','customer_address','321 ― 3213 ― 2132','3','condition_type_3_note','1','果 樹','耕種農業','test','note',NULL,NULL,NULL,NULL,NULL,0,4);

--
-- Table structure for table `et_doc_kumiai_expense_management`
--

CREATE TABLE `et_doc_kumiai_expense_management` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date_from` date DEFAULT NULL,
  `date_to` date DEFAULT NULL,
  `shoukai_1_bank_in` int DEFAULT NULL,
  `shoukai_1_bank_out` int DEFAULT NULL,
  `shoukai_2_bank_in` int DEFAULT NULL,
  `shoukai_2_bank_out` int DEFAULT NULL,
  `shoukai_3_bank_in` int DEFAULT NULL,
  `shoukai_3_bank_out` int DEFAULT NULL,
  `shoukai_4_bank_in` int DEFAULT NULL,
  `shoukai_4_bank_out` int DEFAULT NULL,
  `semina_1_bank_in` int DEFAULT NULL,
  `semina_1_bank_out` int DEFAULT NULL,
  `semina_2_bank_in` int DEFAULT NULL,
  `semina_2_bank_out` int DEFAULT NULL,
  `semina_3_bank_in` int DEFAULT NULL,
  `semina_3_bank_out` int DEFAULT NULL,
  `semina_4_bank_in` int DEFAULT NULL,
  `semina_4_bank_out` int DEFAULT NULL,
  `auth_1_bank_in` int DEFAULT NULL,
  `auth_1_bank_out` int DEFAULT NULL,
  `auth_2_bank_in` int DEFAULT NULL,
  `auth_2_bank_out` int DEFAULT NULL,
  `auth_3_bank_in` int DEFAULT NULL,
  `auth_3_bank_out` int DEFAULT NULL,
  `other_1_bank_in` int DEFAULT NULL,
  `other_1_bank_out` int DEFAULT NULL,
  `other_2_bank_in` int DEFAULT NULL,
  `other_2_bank_out` int DEFAULT NULL,
  `other_3_bank_in` int DEFAULT NULL,
  `other_3_bank_out` int DEFAULT NULL,
  `other_4_bank_in` int DEFAULT NULL,
  `other_4_bank_out` int DEFAULT NULL,
  `other_5_bank_in` int DEFAULT NULL,
  `other_5_bank_out` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_kumiai_expense_management`
--

INSERT INTO `et_doc_kumiai_expense_management` VALUES (1,'2024-07-17','2024-07-17',1,1,2,2,3,3,4,4,1,1,2,2,3,3,4,4,1,1,2,2,3,NULL,11,11,12,2,3,3,244,4,5,5,NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_kumiai_jobtype_scope`
--

CREATE TABLE `et_doc_kumiai_jobtype_scope` (
  `id` int NOT NULL AUTO_INCREMENT,
  `check_1_1_1` tinyint(1) DEFAULT NULL,
  `check_1_1_2` tinyint(1) DEFAULT NULL,
  `check_1_1_3` tinyint(1) DEFAULT NULL,
  `check_1_2_1` tinyint(1) DEFAULT NULL,
  `check_1_2_2` tinyint(1) DEFAULT NULL,
  `check_1_2_3` tinyint(1) DEFAULT NULL,
  `check_2_1_1` tinyint(1) DEFAULT NULL,
  `check_2_1_2` tinyint DEFAULT NULL,
  `check_2_1_3` tinyint DEFAULT NULL,
  `check_2_1_4` tinyint DEFAULT NULL,
  `check_2_1_5` tinyint DEFAULT NULL,
  `check_2_1_6` tinyint DEFAULT NULL,
  `check_2_1_7` tinyint DEFAULT NULL,
  `check_2_1_8` tinyint DEFAULT NULL,
  `check_2_1_9` tinyint DEFAULT NULL,
  `check_2_2_1` tinyint DEFAULT NULL,
  `check_3_1_1` tinyint DEFAULT NULL,
  `check_3_1_2` tinyint DEFAULT NULL,
  `check_3_2_1` tinyint DEFAULT NULL,
  `check_3_2_2` tinyint DEFAULT NULL,
  `check_3_3_1` tinyint DEFAULT NULL,
  `check_3_4_1` tinyint DEFAULT NULL,
  `check_3_5_1` tinyint DEFAULT NULL,
  `check_3_6_1` tinyint DEFAULT NULL,
  `check_3_7_1` tinyint DEFAULT NULL,
  `check_3_8_1` tinyint DEFAULT NULL,
  `check_3_9_1` tinyint DEFAULT NULL,
  `check_3_9_2` tinyint(1) DEFAULT NULL,
  `check_3_10_1` tinyint(1) DEFAULT NULL,
  `check_3_11_1` tinyint(1) DEFAULT NULL,
  `check_3_12_1` tinyint(1) DEFAULT NULL,
  `check_3_13_1` tinyint(1) DEFAULT NULL,
  `check_3_13_2` tinyint(1) DEFAULT NULL,
  `check_3_14_1` tinyint(1) DEFAULT NULL,
  `check_3_15_1` tinyint(1) DEFAULT NULL,
  `check_3_15_2` tinyint(1) DEFAULT NULL,
  `check_3_15_3` tinyint(1) DEFAULT NULL,
  `check_3_15_4` tinyint(1) DEFAULT NULL,
  `check_3_15_5` tinyint(1) DEFAULT NULL,
  `check_3_16_1` tinyint(1) DEFAULT NULL,
  `check_3_17_1` tinyint(1) DEFAULT NULL,
  `check_3_18_1` tinyint(1) DEFAULT NULL,
  `check_3_19_1` tinyint(1) DEFAULT NULL,
  `check_3_20_1` tinyint(1) DEFAULT NULL,
  `check_3_21_1` tinyint(1) DEFAULT NULL,
  `check_3_21_2` tinyint(1) DEFAULT NULL,
  `check_3_21_3` tinyint(1) DEFAULT NULL,
  `check_3_21_4` tinyint(1) DEFAULT NULL,
  `check_3_22_1` tinyint(1) DEFAULT NULL,
  `check_4_1_1` tinyint(1) DEFAULT NULL,
  `check_4_2_1` tinyint(1) DEFAULT NULL,
  `check_4_3_1` tinyint(1) DEFAULT NULL,
  `check_4_3_2` tinyint(1) DEFAULT NULL,
  `check_4_3_3` tinyint(1) DEFAULT NULL,
  `check_4_3_4` tinyint(1) DEFAULT NULL,
  `check_4_4_1` tinyint(1) DEFAULT NULL,
  `check_4_4_2` tinyint(1) DEFAULT NULL,
  `check_4_4_3` tinyint(1) DEFAULT NULL,
  `check_4_4_4` tinyint(1) DEFAULT NULL,
  `check_4_4_5` tinyint(1) DEFAULT NULL,
  `check_4_5_1` tinyint(1) DEFAULT NULL,
  `check_4_6_1` tinyint(1) DEFAULT NULL,
  `check_4_7_1` tinyint(1) DEFAULT NULL,
  `check_4_8_1` tinyint(1) DEFAULT NULL,
  `check_4_9_1` tinyint(1) DEFAULT NULL,
  `check_4_10_1` tinyint(1) DEFAULT NULL,
  `check_4_11_1` tinyint(1) DEFAULT NULL,
  `check_5_1_1` tinyint(1) DEFAULT NULL,
  `check_5_1_2` tinyint(1) DEFAULT NULL,
  `check_5_1_3` tinyint(1) DEFAULT NULL,
  `check_5_1_4` tinyint(1) DEFAULT NULL,
  `check_5_2_1` tinyint(1) DEFAULT NULL,
  `check_5_2_2` tinyint(1) DEFAULT NULL,
  `check_5_2_3` tinyint(1) DEFAULT NULL,
  `check_5_3_1` tinyint(1) DEFAULT NULL,
  `check_5_3_2` tinyint(1) DEFAULT NULL,
  `check_5_4_1` tinyint(1) DEFAULT NULL,
  `check_5_4_2` tinyint(1) DEFAULT NULL,
  `check_5_5_1` tinyint(1) DEFAULT NULL,
  `check_5_6_1` tinyint(1) DEFAULT NULL,
  `check_5_7_1` tinyint(1) DEFAULT NULL,
  `check_5_8_1` tinyint(1) DEFAULT NULL,
  `check_5_9_1` tinyint(1) DEFAULT NULL,
  `check_5_10_1` tinyint(1) DEFAULT NULL,
  `check_5_10_2` tinyint(1) DEFAULT NULL,
  `check_5_10_3` tinyint(1) DEFAULT NULL,
  `check_5_11_1` tinyint(1) DEFAULT NULL,
  `check_5_12_1` tinyint(1) DEFAULT NULL,
  `check_5_13_1` tinyint(1) DEFAULT NULL,
  `check_6_1_1` tinyint(1) DEFAULT NULL,
  `check_6_1_2` tinyint(1) DEFAULT NULL,
  `check_6_2_1` tinyint(1) DEFAULT NULL,
  `check_6_2_2` tinyint(1) DEFAULT NULL,
  `check_6_3_1` tinyint(1) DEFAULT NULL,
  `check_6_3_2` tinyint(1) DEFAULT NULL,
  `check_6_4_1` tinyint(1) DEFAULT NULL,
  `check_6_4_2` tinyint(1) DEFAULT NULL,
  `check_6_4_3` tinyint(1) DEFAULT NULL,
  `check_6_4_4` tinyint(1) DEFAULT NULL,
  `check_6_5_1` tinyint(1) DEFAULT NULL,
  `check_6_6_1` tinyint(1) DEFAULT NULL,
  `check_6_7_1` tinyint(1) DEFAULT NULL,
  `check_6_8_1` tinyint(1) DEFAULT NULL,
  `check_6_8_2` tinyint(1) DEFAULT NULL,
  `check_6_9_1` tinyint(1) DEFAULT NULL,
  `check_6_10_1` tinyint(1) DEFAULT NULL,
  `check_6_10_2` tinyint(1) DEFAULT NULL,
  `check_6_10_3` tinyint(1) DEFAULT NULL,
  `check_6_11_1` tinyint(1) DEFAULT NULL,
  `check_6_12_1` tinyint(1) DEFAULT NULL,
  `check_6_13_1` tinyint(1) DEFAULT NULL,
  `check_6_14_1` tinyint(1) DEFAULT NULL,
  `check_6_14_2` tinyint(1) DEFAULT NULL,
  `check_6_14_3` tinyint(1) DEFAULT NULL,
  `check_6_14_4` tinyint(1) DEFAULT NULL,
  `check_6_14_5` tinyint(1) DEFAULT NULL,
  `check_6_15_1` tinyint(1) DEFAULT NULL,
  `check_6_15_2` tinyint(1) DEFAULT NULL,
  `check_6_16_1` tinyint(1) DEFAULT NULL,
  `check_6_16_2` tinyint(1) DEFAULT NULL,
  `check_6_17_1` tinyint(1) DEFAULT NULL,
  `check_6_17_2` tinyint(1) DEFAULT NULL,
  `check_6_17_3` tinyint(1) DEFAULT NULL,
  `check_7_1_1` tinyint(1) DEFAULT NULL,
  `check_7_2_1` tinyint(1) DEFAULT NULL,
  `check_7_2_2` tinyint(1) DEFAULT NULL,
  `check_7_3_1` tinyint(1) DEFAULT NULL,
  `check_7_4_1` tinyint(1) DEFAULT NULL,
  `check_7_4_2` tinyint(1) DEFAULT NULL,
  `check_7_4_3` tinyint(1) DEFAULT NULL,
  `check_7_4_4` tinyint(1) DEFAULT NULL,
  `check_7_5_1` tinyint(1) DEFAULT NULL,
  `check_7_6_1` tinyint(1) DEFAULT NULL,
  `check_7_6_2` tinyint(1) DEFAULT NULL,
  `check_7_6_3` tinyint(1) DEFAULT NULL,
  `check_7_6_4` tinyint(1) DEFAULT NULL,
  `check_7_7_1` tinyint(1) DEFAULT NULL,
  `check_7_7_2` tinyint(1) DEFAULT NULL,
  `check_7_8_1` tinyint(1) DEFAULT NULL,
  `check_7_9_1` tinyint(1) DEFAULT NULL,
  `check_7_9_2` tinyint(1) DEFAULT NULL,
  `check_7_9_3` tinyint(1) DEFAULT NULL,
  `check_7_9_4` tinyint(1) DEFAULT NULL,
  `check_7_10_1` tinyint(1) DEFAULT NULL,
  `check_7_10_2` tinyint(1) DEFAULT NULL,
  `check_7_10_3` tinyint(1) DEFAULT NULL,
  `check_7_11_1` tinyint(1) DEFAULT NULL,
  `check_7_12_1` tinyint(1) DEFAULT NULL,
  `check_7_13_1` tinyint(1) DEFAULT NULL,
  `check_7_14_1` tinyint(1) DEFAULT NULL,
  `check_7_15_1` tinyint(1) DEFAULT NULL,
  `check_7_16_1` tinyint(1) DEFAULT NULL,
  `check_7_17_1` tinyint(1) DEFAULT NULL,
  `check_7_18_1` tinyint(1) DEFAULT NULL,
  `check_7_19_1` tinyint(1) DEFAULT NULL,
  `check_7_19_2` tinyint(1) DEFAULT NULL,
  `check_7_19_3` tinyint(1) DEFAULT NULL,
  `check_7_19_4` tinyint(1) DEFAULT NULL,
  `check_7_20_1` tinyint(1) DEFAULT NULL,
  `check_7_20_2` tinyint(1) DEFAULT NULL,
  `check_7_21_1` tinyint(1) DEFAULT NULL,
  `check_99_1_1` tinyint(1) DEFAULT NULL,
  `check_99_1_2` tinyint(1) DEFAULT NULL,
  `check_99_1_3` tinyint(1) DEFAULT NULL,
  `check_99_2_1` tinyint(1) DEFAULT NULL,
  `check_9_9` tinyint(1) DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_customer_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_director_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_kumiai_jobtype_scope`
--

INSERT INTO `et_doc_kumiai_jobtype_scope` VALUES (1,1,2,2,1,1,2,1,1,2,2,1,2,1,2,1,2,1,1,2,1,1,2,2,1,2,2,2,2,2,1,2,1,2,1,2,1,2,1,2,2,1,1,2,1,2,1,2,1,2,2,2,2,2,2,2,1,2,1,2,2,2,2,1,2,1,2,2,2,2,1,2,1,2,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,1,2,2,2,2,1,2,2,2,1,2,2,1,2,2,2,2,1,'2024-07-11','sign_customer_name','sign_director_name',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_kumiai_sendingagency_pledge`
--

CREATE TABLE `et_doc_kumiai_sendingagency_pledge` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_kumiai_sendingagency_pledge`
--

INSERT INTO `et_doc_kumiai_sendingagency_pledge` VALUES (1,'Nguyen Duc Tap','2024-07-07','NGUYEN DUC TAP','NGUYEN TAP',NULL,NULL,NULL,NULL,1,0);

--
-- Table structure for table `et_doc_minister_statement_reasons`
--

CREATE TABLE `et_doc_minister_statement_reasons` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `check_1` int DEFAULT NULL,
  `check_1_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `check_2` int DEFAULT NULL,
  `check_2_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `check_3` tinyint(1) DEFAULT NULL,
  `check_3_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_minister_statement_reasons`
--

INSERT INTO `et_doc_minister_statement_reasons` VALUES (1,'name',1,'これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわを\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。',0,'これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。',0,'これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_multiple_job_reasons`
--

CREATE TABLE `et_doc_multiple_job_reasons` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `main_job_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `main_job_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `main_job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `second_job_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `second_job_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `second_job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `third_job_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `third_job_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `third_job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reason_3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  `main_job_type_id` bigint DEFAULT NULL,
  `second_job_type_id` bigint DEFAULT NULL,
  `third_job_type_id` bigint DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_multiple_job_reasons`
--

INSERT INTO `et_doc_multiple_job_reasons` VALUES (1,'name','2','耕種農業','施設園芸','4','耕種農業','果 樹','20','養殖業','ほたてがい・まがき養殖','これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。 これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。\r\nこれはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。','これはテスト用のランダムな日本語の文字列です。意味は特にありませんが、文字数を確認するために使用できます。あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん。',NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL);

--
-- Table structure for table `et_doc_otherwork_reason`
--

CREATE TABLE `et_doc_otherwork_reason` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` date DEFAULT NULL,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `customer_director` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason_required_work` tinyint(1) NOT NULL DEFAULT '0',
  `reason_required_work_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reason_performance_work` tinyint(1) NOT NULL DEFAULT '0',
  `reason_performance_work_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `reason_otherwork` tinyint(1) NOT NULL DEFAULT '0',
  `reason_otherwork_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_otherwork_reason`
--

INSERT INTO `et_doc_otherwork_reason` VALUES (1,'2024-06-21','customer_name 123','customer_director 123123',1,'ádasdaasd asdasdasd ádasd',1,'ádasdasdasd ádasd',1,'ádasda',NULL,NULL,NULL,NULL,1,1,2);

--
-- Table structure for table `et_doc_payment_certificate`
--

CREATE TABLE `et_doc_payment_certificate` (
  `id` int NOT NULL AUTO_INCREMENT,
  `month` varchar(255) DEFAULT NULL,
  `from_date` date DEFAULT NULL,
  `to_date` date DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sex` tinyint(1) DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `nationality` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zairyu_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `money` int DEFAULT NULL,
  `cash_money` int DEFAULT NULL,
  `pay_date` date DEFAULT NULL,
  `sign_date1` date DEFAULT NULL,
  `sign_company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_company_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_company_payer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date2` date DEFAULT NULL,
  `trainee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_payment_certificate`
--

INSERT INTO `et_doc_payment_certificate` VALUES (1,'2024-07','2024-07-01','2024-07-31','name',1,'2024-07-08','nationality','zairyu_number',1000,10000,'2024-07-22','2024-07-25','sign_company_name','sign_company_director_name','sign_company_payer_name','2024-07-25','trainee_name',NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_power_attorney`
--

CREATE TABLE `et_doc_power_attorney` (
  `id` int NOT NULL AUTO_INCREMENT,
  `person_1_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_1_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_1_tell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_1_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_1_leader_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content_2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content_3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `person_2_postcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_2_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_2_tell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_2_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `person_2_leader_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_power_attorney`
--

INSERT INTO `et_doc_power_attorney` VALUES (1,'12345','tesst','0123456789','name','person_1_leader_name','afasdf asdfa','test','content 3','2024-07-02','12345678','123456789','test','name 111','leader 111',NULL,NULL,NULL,1,1,15),(2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1,1);

--
-- Table structure for table `et_doc_pre_entry_training_scheduler`
--

CREATE TABLE `et_doc_pre_entry_training_scheduler` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_creator_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_pre_entry_training_scheduler`
--

INSERT INTO `et_doc_pre_entry_training_scheduler` VALUES (1,'2024-07-05','NGUYEN DUC TAP','NGUYEN VAN A','CUSTOME NAME',NULL,NULL,NULL,NULL,1,0),(2,'2024-07-09','sign_name','sign_creator_name','sign_customer_name',NULL,NULL,NULL,1,1,2);

--
-- Table structure for table `et_doc_pregnancy_declaration`
--

CREATE TABLE `et_doc_pregnancy_declaration` (
  `id` int NOT NULL AUTO_INCREMENT,
  `check_1` int DEFAULT NULL,
  `check_2` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `detail_check_1` int DEFAULT NULL,
  `detail_check_2` int DEFAULT NULL,
  `detail_check_3` int DEFAULT NULL,
  `detail_check_4` int DEFAULT NULL,
  `detail_check_5` int DEFAULT NULL,
  `detail_check_6` tinyint(1) DEFAULT NULL,
  `detail_check_7` int DEFAULT NULL,
  `date_to` date DEFAULT NULL,
  `return_country_date` date DEFAULT NULL,
  `return_check_1` int DEFAULT NULL,
  `return_month` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `return_check_2` tinyint(1) DEFAULT NULL,
  `return_check_3` tinyint(1) DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_submit_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  `note` text,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_pregnancy_declaration`
--

INSERT INTO `et_doc_pregnancy_declaration` VALUES (1,1,0,'name test',1,0,0,1,1,1,1,'2024-07-04','2024-07-04',1,'2024-06',1,0,'2024-07-10','sign_name','sign_submit_name',NULL,NULL,NULL,NULL,NULL,0,'note');

--
-- Table structure for table `et_doc_prepare_institution_pledge`
--

CREATE TABLE `et_doc_prepare_institution_pledge` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `establistment_date` date DEFAULT NULL,
  `trainee_relationship_type` int DEFAULT NULL COMMENT '1: 入国前講習の実施に関与する者, 2: その他',
  `trainee_relationship_type_other` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_director_name` varchar(255) DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_prepare_institution_pledge`
--

INSERT INTO `et_doc_prepare_institution_pledge` VALUES (1,'test name','director_name','prepare_institution_pledge address','0123456789','test2gmail.com','2024-06-03',1,'trainee relationship type other','job','2024-06-03','sign_name','sign_director_name',NULL,NULL,NULL,NULL,1,1,2),(2,'longnh','dsa','abcsda','1234123412','admin@gmail.com','2024-06-29',1,'dsadsadsadsa','1','2024-06-26','sign name','dsadsa',NULL,NULL,NULL,NULL,1,1,3);

--
-- Table structure for table `et_doc_recomend_trainee`
--

CREATE TABLE `et_doc_recomend_trainee` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `sending_agency_id` int DEFAULT NULL,
  `company_id` int DEFAULT NULL,
  `customer_id` int DEFAULT NULL,
  `start_month` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `job_type_id` int DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `coulcity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `coulcity_staff_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_recomend_trainee`
--

INSERT INTO `et_doc_recomend_trainee` VALUES (1,NULL,1,2,'2024-07',3,'2024-06-21','test ád','Nguyen Duc Tap',NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_recomend_trainee_listname`
--

CREATE TABLE `et_doc_recomend_trainee_listname` (
  `id` bigint NOT NULL AUTO_INCREMENT,
  `recomend_trainee_id` bigint NOT NULL,
  `trainee_id` bigint NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_recomend_trainee_listname`
--

INSERT INTO `et_doc_recomend_trainee_listname` VALUES (3,1,4,'2024-06-27 20:14:14','2024-06-27 20:14:14'),(4,1,18,'2024-06-27 20:14:14','2024-06-27 20:14:14'),(5,1,11,'2024-06-27 20:14:14','2024-06-27 20:14:14'),(6,1,18,'2024-06-27 20:14:14','2024-06-27 20:14:14'),(7,1,74,'2024-06-27 20:14:14','2024-06-27 20:14:14');

--
-- Table structure for table `et_doc_returncountry_declaration`
--

CREATE TABLE `et_doc_returncountry_declaration` (
  `id` int NOT NULL AUTO_INCREMENT,
  `reason_type` int DEFAULT NULL COMMENT '1:帰国便都合, 2:技能実習期間の末日が休日である, 3:その他',
  `reason_other_note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deadline_date` date DEFAULT NULL,
  `return_date` date DEFAULT NULL,
  `person_type` int DEFAULT NULL COMMENT ' 1: 監理団体  2:実習実施者',
  `person_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_date` date DEFAULT NULL,
  `sign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_returncountry_declaration`
--

INSERT INTO `et_doc_returncountry_declaration` VALUES (1,2,NULL,'2024-06-19','2024-06-21',1,'dsa222','2024-06-27','dsa',NULL,NULL,NULL,NULL,NULL,NULL,0);

--
-- Table structure for table `et_doc_sending_agency_expenses`
--

CREATE TABLE `et_doc_sending_agency_expenses` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sign_date` date DEFAULT NULL,
  `sign_sending_agency_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign_director_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_sending_agency_expenses`
--

INSERT INTO `et_doc_sending_agency_expenses` VALUES (1,'2024-07-02','sign_sending_agency_name','sign_director_name',NULL,NULL,NULL,1,1,6);

--
-- Table structure for table `et_doc_sending_agency_expenses_detail`
--

CREATE TABLE `et_doc_sending_agency_expenses_detail` (
  `id` int NOT NULL AUTO_INCREMENT,
  `sending_agency_expenses_id` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `period_date` date DEFAULT NULL,
  `money` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `money_yen` int DEFAULT NULL,
  `pay_method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_sending_agency_expenses_detail`
--

INSERT INTO `et_doc_sending_agency_expenses_detail` VALUES (1,1,'NAME','2024-07-09','205700',205700,'online'),(2,1,'name 2','2024-07-10','100000',100000,''),(3,1,'test 3',NULL,'30000',400000,'');

--
-- Table structure for table `et_doc_sending_agency_oath`
--

CREATE TABLE `et_doc_sending_agency_oath` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `sending_agency_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sending_agency_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sending_agency_number_ref` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint DEFAULT NULL,
  `updated_at` int DEFAULT NULL,
  `updated_by_id` bigint DEFAULT NULL,
  `company_id` bigint DEFAULT NULL,
  `updated_count` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `et_doc_sending_agency_oath`
--

INSERT INTO `et_doc_sending_agency_oath` VALUES (1,'12345','test1','2024-06-03','testdsyhtft','12345','sending_agency_number_ref','test',NULL,NULL,NULL,NULL,NULL,1,0);

--
-- Table structure for table `et_doc_sending_agency_oath_listname`
--

CREATE TABLE `et_doc_sending_agency_oath_listname` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `sending_agency_oath_id` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `et_doc_sending_agency_oath_listname`
--

INSERT INTO `et_doc_sending_agency_oath_listname` VALUES (103,1,'ddd','オーストラリア人',NULL,NULL,NULL),(104,1,'tap tast','チリ人',NULL,NULL,NULL),(105,1,'abc','中国人',NULL,NULL,NULL),(106,1,'abc','バングラデシュ人',NULL,NULL,NULL),(107,1,'test 1','',NULL,NULL,NULL),(108,1,'2','',NULL,NULL,NULL),(109,1,'test3','',NULL,NULL,NULL),(110,1,'test 4','',NULL,NULL,NULL);

--
