-- MySQL 8.4.6 数据库初始化脚本
-- 创建应用所需的数据库

-- 创建主数据库
CREATE DATABASE IF NOT EXISTS `JiSheIoTProDB` 
CHARACTER SET utf8mb4 
COLLATE utf8mb4_0900_ai_ci;
 
-- 使用主数据库
USE JiSheIoTProDB;

-- MySQL dump 10.13  Distrib 8.4.6, for Linux (x86_64)
--
-- Host: localhost    Database: JiSheIoTProDB
-- ------------------------------------------------------
-- Server version	8.4.6

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `AbpAuditLogActions`
--

DROP TABLE IF EXISTS `AbpAuditLogActions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpAuditLogActions` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `AuditLogId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ServiceName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `MethodName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Parameters` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ExecutionTime` datetime(6) NOT NULL,
  `ExecutionDuration` int NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpAuditLogActions_AuditLogId` (`AuditLogId`),
  KEY `IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_Execution~` (`TenantId`,`ServiceName`,`MethodName`,`ExecutionTime`),
  CONSTRAINT `FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId` FOREIGN KEY (`AuditLogId`) REFERENCES `AbpAuditLogs` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpAuditLogActions`
--

LOCK TABLES `AbpAuditLogActions` WRITE;
/*!40000 ALTER TABLE `AbpAuditLogActions` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpAuditLogActions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpAuditLogs`
--

DROP TABLE IF EXISTS `AbpAuditLogs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpAuditLogs` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ApplicationName` varchar(96) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `UserName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `TenantName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ImpersonatorUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ImpersonatorUserName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ImpersonatorTenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ImpersonatorTenantName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ExecutionTime` datetime(6) NOT NULL,
  `ExecutionDuration` int NOT NULL,
  `ClientIpAddress` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ClientName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ClientId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `CorrelationId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `BrowserInfo` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `HttpMethod` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Url` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Exceptions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `Comments` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `HttpStatusCode` int DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpAuditLogs_TenantId_ExecutionTime` (`TenantId`,`ExecutionTime`),
  KEY `IX_AbpAuditLogs_TenantId_UserId_ExecutionTime` (`TenantId`,`UserId`,`ExecutionTime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpAuditLogs`
--

LOCK TABLES `AbpAuditLogs` WRITE;
/*!40000 ALTER TABLE `AbpAuditLogs` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpAuditLogs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpBackgroundJobs`
--

DROP TABLE IF EXISTS `AbpBackgroundJobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpBackgroundJobs` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ApplicationName` varchar(96) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `JobName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `JobArgs` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `TryCount` smallint NOT NULL DEFAULT '0',
  `CreationTime` datetime(6) NOT NULL,
  `NextTryTime` datetime(6) NOT NULL,
  `LastTryTime` datetime(6) DEFAULT NULL,
  `IsAbandoned` tinyint(1) NOT NULL DEFAULT '0',
  `Priority` tinyint unsigned NOT NULL DEFAULT '15',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpBackgroundJobs_IsAbandoned_NextTryTime` (`IsAbandoned`,`NextTryTime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpBackgroundJobs`
--

LOCK TABLES `AbpBackgroundJobs` WRITE;
/*!40000 ALTER TABLE `AbpBackgroundJobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpBackgroundJobs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpClaimTypes`
--

DROP TABLE IF EXISTS `AbpClaimTypes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpClaimTypes` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Required` tinyint(1) NOT NULL,
  `IsStatic` tinyint(1) NOT NULL,
  `Regex` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `RegexDescription` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Description` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ValueType` int NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpClaimTypes`
--

LOCK TABLES `AbpClaimTypes` WRITE;
/*!40000 ALTER TABLE `AbpClaimTypes` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpClaimTypes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpDataDictionaries`
--

DROP TABLE IF EXISTS `AbpDataDictionaries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpDataDictionaries` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DisplayText` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Description` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='数据字典';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpDataDictionaries`
--

LOCK TABLES `AbpDataDictionaries` WRITE;
/*!40000 ALTER TABLE `AbpDataDictionaries` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpDataDictionaries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpDataDictionaryDetails`
--

DROP TABLE IF EXISTS `AbpDataDictionaryDetails`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpDataDictionaryDetails` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `DataDictionaryId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Code` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `Order` int NOT NULL,
  `DisplayText` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `Description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `IsEnabled` tinyint(1) NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpDataDictionaryDetails_DataDictionaryId` (`DataDictionaryId`),
  CONSTRAINT `FK_AbpDataDictionaryDetails_AbpDataDictionaries_DataDictionaryId` FOREIGN KEY (`DataDictionaryId`) REFERENCES `AbpDataDictionaries` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='数据字典详情';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpDataDictionaryDetails`
--

LOCK TABLES `AbpDataDictionaryDetails` WRITE;
/*!40000 ALTER TABLE `AbpDataDictionaryDetails` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpDataDictionaryDetails` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpEntityChanges`
--

DROP TABLE IF EXISTS `AbpEntityChanges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpEntityChanges` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `AuditLogId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ChangeTime` datetime(6) NOT NULL,
  `ChangeType` tinyint unsigned NOT NULL,
  `EntityTenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `EntityId` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `EntityTypeFullName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpEntityChanges_AuditLogId` (`AuditLogId`),
  KEY `IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId` (`TenantId`,`EntityTypeFullName`,`EntityId`),
  CONSTRAINT `FK_AbpEntityChanges_AbpAuditLogs_AuditLogId` FOREIGN KEY (`AuditLogId`) REFERENCES `AbpAuditLogs` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpEntityChanges`
--

LOCK TABLES `AbpEntityChanges` WRITE;
/*!40000 ALTER TABLE `AbpEntityChanges` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpEntityChanges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpEntityPropertyChanges`
--

DROP TABLE IF EXISTS `AbpEntityPropertyChanges`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpEntityPropertyChanges` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `EntityChangeId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `NewValue` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `OriginalValue` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `PropertyName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `PropertyTypeFullName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpEntityPropertyChanges_EntityChangeId` (`EntityChangeId`),
  CONSTRAINT `FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId` FOREIGN KEY (`EntityChangeId`) REFERENCES `AbpEntityChanges` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpEntityPropertyChanges`
--

LOCK TABLES `AbpEntityPropertyChanges` WRITE;
/*!40000 ALTER TABLE `AbpEntityPropertyChanges` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpEntityPropertyChanges` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpFeatureGroups`
--

DROP TABLE IF EXISTS `AbpFeatureGroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpFeatureGroups` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DisplayName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpFeatureGroups_Name` (`Name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpFeatureGroups`
--

LOCK TABLES `AbpFeatureGroups` WRITE;
/*!40000 ALTER TABLE `AbpFeatureGroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpFeatureGroups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpFeatureValues`
--

DROP TABLE IF EXISTS `AbpFeatureValues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpFeatureValues` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Value` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProviderName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ProviderKey` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpFeatureValues_Name_ProviderName_ProviderKey` (`Name`,`ProviderName`,`ProviderKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpFeatureValues`
--

LOCK TABLES `AbpFeatureValues` WRITE;
/*!40000 ALTER TABLE `AbpFeatureValues` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpFeatureValues` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpFeatures`
--

DROP TABLE IF EXISTS `AbpFeatures`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpFeatures` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `GroupName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ParentName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `DisplayName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Description` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `DefaultValue` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `IsVisibleToClients` tinyint(1) NOT NULL,
  `IsAvailableToHost` tinyint(1) NOT NULL,
  `AllowedProviders` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ValueType` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpFeatures_Name` (`Name`),
  KEY `IX_AbpFeatures_GroupName` (`GroupName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpFeatures`
--

LOCK TABLES `AbpFeatures` WRITE;
/*!40000 ALTER TABLE `AbpFeatures` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpFeatures` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpFileObjects`
--

DROP TABLE IF EXISTS `AbpFileObjects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpFileObjects` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `FileName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '文件名称',
  `FileSize` bigint NOT NULL COMMENT '文件大小',
  `ContentType` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '文件名称',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpFileObjects_FileName` (`FileName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='文件管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpFileObjects`
--

LOCK TABLES `AbpFileObjects` WRITE;
/*!40000 ALTER TABLE `AbpFileObjects` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpFileObjects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpLanguageTexts`
--

DROP TABLE IF EXISTS `AbpLanguageTexts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpLanguageTexts` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `CultureName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '语言名称',
  `ResourceName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '资源名称',
  `Name` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
  `Value` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '值',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpLanguageTexts_TenantId_ResourceName_CultureName` (`TenantId`,`ResourceName`,`CultureName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='语言文本管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpLanguageTexts`
--

LOCK TABLES `AbpLanguageTexts` WRITE;
/*!40000 ALTER TABLE `AbpLanguageTexts` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpLanguageTexts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpLanguages`
--

DROP TABLE IF EXISTS `AbpLanguages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpLanguages` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `CultureName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '语言名称',
  `UiCultureName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'Ui语言名称',
  `DisplayName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '显示名称',
  `FlagIcon` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '图标',
  `IsEnabled` tinyint(1) NOT NULL,
  `IsDefault` tinyint(1) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpLanguages_CultureName` (`CultureName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='语言管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpLanguages`
--

LOCK TABLES `AbpLanguages` WRITE;
/*!40000 ALTER TABLE `AbpLanguages` DISABLE KEYS */;
INSERT INTO `AbpLanguages` VALUES ('3a1bd225-797d-3b5e-f2de-6ab1acd93937',NULL,'ar','ar','العربية','',1,0,'{}','f04cc3ce10b3417a9c7910d3520aa688','2025-08-19 09:36:39.320202',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7998-7ac3-d92e-862aea81fb60',NULL,'cs','cs','Čeština','',1,0,'{}','cbe22534e7834c83b13f5fa533094e47','2025-08-19 09:36:39.320712',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7999-1169-eb85-7627928db179',NULL,'en-GB','en-GB','English (UK)','',1,0,'{}','877ece26a5e042f4a43c63ab810e34e1','2025-08-19 09:36:39.321577',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7999-3b75-037b-d42f48dfd669',NULL,'hu','hu','Magyar','',1,0,'{}','3749099d403d4be8945f75ca09527b89','2025-08-19 09:36:39.321933',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7999-6d83-cdad-8d41babe2d38',NULL,'fr','fr','Français','',1,0,'{}','50adacafe5294c379b29b921a499f882','2025-08-19 09:36:39.321754',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7999-8f64-4125-189d703605a2',NULL,'pt-BR','pt-BR','Português','',1,0,'{}','5beeef04518e4da09aff507a2d0094d9','2025-08-19 09:36:39.322130',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-7999-bf88-5de5-e779e23f821b',NULL,'en','en','English','',1,0,'{}','ee0b4d97831c4f3a906f6c770ceb5566','2025-08-19 09:36:39.321251',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-04f2-7c35-f016bb6aef63',NULL,'de-DE','de-DE','Deutsch','',1,0,'{}','334ba8d73f4941119d15cadd8f137a97','2025-08-19 09:36:39.322878',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-438e-25c0-af60d8cde0e5',NULL,'ru','ru','Русский','',1,0,'{}','0628bd6e341747e7b04d8b4a555da8b1','2025-08-19 09:36:39.322279',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-9676-400b-f3455a511e4c',NULL,'tr','tr','Türkçe','',1,0,'{}','60928d6166fa4acc89b75e37438e4187','2025-08-19 09:36:39.322401',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-a05f-d76e-0a90aad25117',NULL,'es','es','Español','',1,0,'{}','61014dee95f442b39a1ec5e1de62fe85','2025-08-19 09:36:39.323006',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-a7b2-61ee-45d2c88d3a84',NULL,'zh-Hans','zh-Hans','简体中文','',1,1,'{}','50c0a2e999984a83b247de0619a2ebec','2025-08-19 09:36:39.322522',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-799a-e5fc-9c21-e8c9da6cc664',NULL,'zh-Hant','zh-Hant','繁體中文','',1,0,'{}','ab2eb6b179344e13b258734fbfaccf30','2025-08-19 09:36:39.322732',NULL,NULL,NULL,0,NULL,NULL);
/*!40000 ALTER TABLE `AbpLanguages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpLinkUsers`
--

DROP TABLE IF EXISTS `AbpLinkUsers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpLinkUsers` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `SourceUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `SourceTenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `TargetUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TargetTenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Target~` (`SourceUserId`,`SourceTenantId`,`TargetUserId`,`TargetTenantId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpLinkUsers`
--

LOCK TABLES `AbpLinkUsers` WRITE;
/*!40000 ALTER TABLE `AbpLinkUsers` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpLinkUsers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpNotificationSubscriptions`
--

DROP TABLE IF EXISTS `AbpNotificationSubscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpNotificationSubscriptions` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `NotificationId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ReceiveUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ReceiveUserName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Read` tinyint(1) NOT NULL,
  `ReadTime` datetime(6) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpNotificationSubscriptions_NotificationId` (`NotificationId`),
  KEY `IX_AbpNotificationSubscriptions_ReceiveUserId` (`ReceiveUserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='消息订阅者';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpNotificationSubscriptions`
--

LOCK TABLES `AbpNotificationSubscriptions` WRITE;
/*!40000 ALTER TABLE `AbpNotificationSubscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpNotificationSubscriptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpNotifications`
--

DROP TABLE IF EXISTS `AbpNotifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpNotifications` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Title` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Content` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `MessageType` int NOT NULL,
  `MessageLevel` int NOT NULL,
  `SenderUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `SenderUserName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ReceiveUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ReceiveUserName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Read` tinyint(1) NOT NULL,
  `ReadTime` datetime(6) DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='消息通知管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpNotifications`
--

LOCK TABLES `AbpNotifications` WRITE;
/*!40000 ALTER TABLE `AbpNotifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpNotifications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpOrganizationUnitRoles`
--

DROP TABLE IF EXISTS `AbpOrganizationUnitRoles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpOrganizationUnitRoles` (
  `RoleId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `OrganizationUnitId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  PRIMARY KEY (`OrganizationUnitId`,`RoleId`),
  KEY `IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId` (`RoleId`,`OrganizationUnitId`),
  CONSTRAINT `FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationUn~` FOREIGN KEY (`OrganizationUnitId`) REFERENCES `AbpOrganizationUnits` (`Id`) ON DELETE CASCADE,
  CONSTRAINT `FK_AbpOrganizationUnitRoles_AbpRoles_RoleId` FOREIGN KEY (`RoleId`) REFERENCES `AbpRoles` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpOrganizationUnitRoles`
--

LOCK TABLES `AbpOrganizationUnitRoles` WRITE;
/*!40000 ALTER TABLE `AbpOrganizationUnitRoles` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpOrganizationUnitRoles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpOrganizationUnits`
--

DROP TABLE IF EXISTS `AbpOrganizationUnits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpOrganizationUnits` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ParentId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Code` varchar(95) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DisplayName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `EntityVersion` int NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpOrganizationUnits_Code` (`Code`),
  KEY `IX_AbpOrganizationUnits_ParentId` (`ParentId`),
  CONSTRAINT `FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId` FOREIGN KEY (`ParentId`) REFERENCES `AbpOrganizationUnits` (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpOrganizationUnits`
--

LOCK TABLES `AbpOrganizationUnits` WRITE;
/*!40000 ALTER TABLE `AbpOrganizationUnits` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpOrganizationUnits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpPermissionGrants`
--

DROP TABLE IF EXISTS `AbpPermissionGrants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpPermissionGrants` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProviderName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProviderKey` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey` (`TenantId`,`Name`,`ProviderName`,`ProviderKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpPermissionGrants`
--

LOCK TABLES `AbpPermissionGrants` WRITE;
/*!40000 ALTER TABLE `AbpPermissionGrants` DISABLE KEYS */;
INSERT INTO `AbpPermissionGrants` VALUES ('3a1bd225-76e6-77d0-1420-b325d9cfbb20',NULL,'AbpIdentity.AuditLog','R','admin'),('3a1bd225-76e6-9150-ac86-573d3711b810',NULL,'AbpIdentity.DataDictionaryManagement','R','admin'),('3a1bd225-76e6-5cb8-fda6-bc3ac6528643',NULL,'AbpIdentity.DataDictionaryManagement.Create','R','admin'),('3a1bd225-76e6-fd41-5996-2bfcd9fda10d',NULL,'AbpIdentity.DataDictionaryManagement.Delete','R','admin'),('3a1bd225-76e6-ee6e-ec1c-98bde57d76d0',NULL,'AbpIdentity.DataDictionaryManagement.Update','R','admin'),('3a1bd225-76e6-c970-32de-5a9cef4d8658',NULL,'AbpIdentity.DynamicMenuManagement','R','admin'),('3a1bd225-76e6-e0a2-9ff1-6542de933985',NULL,'AbpIdentity.DynamicMenuManagement.Create','R','admin'),('3a1bd225-76e6-b49a-3c17-498e90fbdfd2',NULL,'AbpIdentity.DynamicMenuManagement.Delete','R','admin'),('3a1bd225-76e6-5788-5b73-10af24a8f6ca',NULL,'AbpIdentity.DynamicMenuManagement.Update','R','admin'),('3a1bd225-76e6-42e9-0324-66df32b58f40',NULL,'AbpIdentity.FeatureManagement','R','admin'),('3a1bd225-76e6-897a-9f89-f115f4ab89fa',NULL,'AbpIdentity.IdentitySecurityLogs','R','admin'),('3a1bd225-76e6-3ef6-fdce-2867226e0ac1',NULL,'AbpIdentity.Languages','R','admin'),('3a1bd225-76e6-1c21-cb52-83dd52263b90',NULL,'AbpIdentity.Languages.ChangeDefault','R','admin'),('3a1bd225-76e6-0a43-04c9-6d53587abb3d',NULL,'AbpIdentity.Languages.Create','R','admin'),('3a1bd225-76e6-be1f-f1a7-50f789650a0b',NULL,'AbpIdentity.Languages.Delete','R','admin'),('3a1bd225-76e6-8a34-dd51-9d51a3dbfcb9',NULL,'AbpIdentity.Languages.Update','R','admin'),('3a1bd225-76e6-db11-43b7-cf29f5394f89',NULL,'AbpIdentity.LanguageTexts','R','admin'),('3a1bd225-76e6-6128-55ac-6494d51fc6ec',NULL,'AbpIdentity.LanguageTexts.Create','R','admin'),('3a1bd225-76e6-47ff-27bb-1a188a8aa818',NULL,'AbpIdentity.LanguageTexts.Update','R','admin'),('3a1bd225-76e6-0be0-0f21-c24521b42c29',NULL,'AbpIdentity.NotificationManagement','R','admin'),('3a1bd225-76e6-ffe5-4295-f29dd0391aa0',NULL,'AbpIdentity.NotificationSubscriptionManagement','R','admin'),('3a1bd225-76e6-7669-df22-64ec3000fafb',NULL,'AbpIdentity.OrganizationUnitManagement','R','admin'),('3a1bd225-76e6-1b9d-cc57-f660518fe7e4',NULL,'AbpIdentity.OrganizationUnitManagement.Create','R','admin'),('3a1bd225-76e6-eb3b-b8c9-5d55330d1989',NULL,'AbpIdentity.OrganizationUnitManagement.Delete','R','admin'),('3a1bd225-76e6-3be5-033d-717f8183c420',NULL,'AbpIdentity.OrganizationUnitManagement.Update','R','admin'),('3a1bd225-76e6-42ce-87bd-a494cbedcf29',NULL,'AbpIdentity.Roles','R','admin'),('3a1bd225-76e6-1632-d1a7-bc985446b493',NULL,'AbpIdentity.Roles.Create','R','admin'),('3a1bd225-76e6-2319-99ba-709e1c68814c',NULL,'AbpIdentity.Roles.Delete','R','admin'),('3a1bd225-76e6-cc53-1358-57f95f852708',NULL,'AbpIdentity.Roles.ManagePermissions','R','admin'),('3a1bd225-76e6-6b4a-86e0-33c12b63a33c',NULL,'AbpIdentity.Roles.Update','R','admin'),('3a1bd225-76e6-726b-f54b-44d481a6e2a8',NULL,'AbpIdentity.Setting','R','admin'),('3a1bd225-76e6-eba3-d3bc-b3fefac7878a',NULL,'AbpIdentity.Users','R','admin'),('3a1bd225-76e6-db33-1a1a-72121b46f879',NULL,'AbpIdentity.Users.Create','R','admin'),('3a1bd225-76e6-091d-b868-39076790897f',NULL,'AbpIdentity.Users.Delete','R','admin'),('3a1bd225-76e6-eceb-0657-da2873c28253',NULL,'AbpIdentity.Users.Enable','R','admin'),('3a1bd225-76e6-eb05-ef64-20b7a4980e3a',NULL,'AbpIdentity.Users.Export','R','admin'),('3a1bd225-76e6-f441-591c-8537bea59fa2',NULL,'AbpIdentity.Users.ManagePermissions','R','admin'),('3a1bd225-76e6-f874-5c4a-858da63527be',NULL,'AbpIdentity.Users.ResetPassword','R','admin'),('3a1bd225-76e6-28a8-bce2-653242c8f496',NULL,'AbpIdentity.Users.ResetTwoFactor','R','admin'),('3a1bd225-76e6-ba5a-06f2-6565ce207c98',NULL,'AbpIdentity.Users.Update','R','admin'),('3a1bd225-76e6-cd2a-fb95-d718739b398e',NULL,'AbpIdentity.Users.Update.ManageRoles','R','admin'),('3a1bd225-76e6-6b99-c24c-d9b2a988221e',NULL,'AbpTemplateManagement.Template','R','admin'),('3a1bd225-76e6-0902-3b80-c276b2ca96de',NULL,'AbpTemplateManagement.Template.Create','R','admin'),('3a1bd225-76e6-1ca2-6c98-be6e37fc03ba',NULL,'AbpTemplateManagement.Template.Delete','R','admin'),('3a1bd225-76e6-bc23-d025-ed3621da5b02',NULL,'AbpTemplateManagement.Template.Export','R','admin'),('3a1bd225-76e6-4c19-fd44-bc0bc581e65a',NULL,'AbpTemplateManagement.Template.Update','R','admin'),('3a1bd225-76e6-048e-44e1-13f5f168ca43',NULL,'AbpTenantManagement.Tenants','R','admin'),('3a1bd225-76e6-92cc-5dca-45f020a00358',NULL,'AbpTenantManagement.Tenants.Create','R','admin'),('3a1bd225-76e6-81d7-dc6e-33cbb40da032',NULL,'AbpTenantManagement.Tenants.Delete','R','admin'),('3a1bd225-76e6-95cc-71d3-364f42f8f9fd',NULL,'AbpTenantManagement.Tenants.ManageConnectionStrings','R','admin'),('3a1bd225-76e6-f534-d925-d8adad0e7135',NULL,'AbpTenantManagement.Tenants.ManageFeatures','R','admin'),('3a1bd225-76e6-4204-db34-7a3d2e778879',NULL,'AbpTenantManagement.Tenants.Update','R','admin'),('3a1bd225-76e6-7857-be69-538da22b4f15',NULL,'CTWingManagement.Account','R','admin'),('3a1bd225-76e6-0b35-f36d-aba63dcd2e6a',NULL,'CTWingManagement.Account.Create','R','admin'),('3a1bd225-76e6-4e10-fa16-a12de133dff9',NULL,'CTWingManagement.PrivateProduct','R','admin'),('3a1bd225-76e6-1a28-50ca-f9b3bd1ff7e0',NULL,'CTWingManagement.PrivateProduct.Create','R','admin'),('3a1bd225-76e6-6ac6-5295-f3ba55b18b3b',NULL,'DeviceManagement.DeviceInfo','R','admin'),('3a1bd225-76e6-ed67-c9ee-c9f0a4201706',NULL,'DeviceManagement.DeviceInfo.ArchivesDown','R','admin'),('3a1bd225-76e6-eb9e-850a-0b82a4080cbb',NULL,'DeviceManagement.DeviceInfo.Create','R','admin'),('3a1bd225-76e6-5520-146f-2fca3f6fe51b',NULL,'DeviceManagement.DeviceInfo.Delete','R','admin'),('3a1bd225-76e6-4e65-e084-eb51c979ef9b',NULL,'DeviceManagement.DeviceInfo.Update','R','admin'),('3a1bd225-76e6-036b-7f36-aa1877825d58',NULL,'FeatureManagement.ManageHostFeatures','R','admin'),('3a1bd225-76e6-b441-76a2-354379ca929b',NULL,'FileManagement.File','R','admin'),('3a1bd225-76e6-2bea-e759-58ebebcc854b',NULL,'FileManagement.File.Delete','R','admin'),('3a1bd225-76e6-b212-2e53-91e503ebdb5d',NULL,'FileManagement.File.Download','R','admin'),('3a1bd225-76e6-3d5b-7be4-cb4853d75197',NULL,'FileManagement.File.Upload','R','admin'),('3a1bd225-76e6-0706-48a6-0a6ab98b3f5c',NULL,'IoTDBManagement.CTWingLog','R','admin'),('3a1bd225-76e6-ec33-0797-8bd9d89d301e',NULL,'IoTDBManagement.DeviceData','R','admin'),('3a1bd225-76e6-9906-8a6b-cd487dc8b2e2',NULL,'IoTDBManagement.OneNETLog','R','admin'),('3a1bd225-76e6-ad16-916e-17b645bb9f17',NULL,'IoTDBManagement.TelemetryLog','R','admin'),('3a1bd225-76e6-ee6f-c571-2943a3b0f33f',NULL,'OneNETManagement.Account','R','admin'),('3a1bd225-76e6-fb82-6a46-e35ad15b134f',NULL,'OneNETManagement.Account.Create','R','admin'),('3a1bd225-76e6-37f5-b987-1880e6009683',NULL,'OneNETManagement.PrivateProduct','R','admin'),('3a1bd225-76e6-2ebc-04fd-8e81ea5d03f3',NULL,'OneNETManagement.PrivateProduct.Create','R','admin'),('3a1bd225-76e6-2d24-70b4-a549399e7fe3',NULL,'SettingManagement.Emailing','R','admin'),('3a1bd225-76e6-a71e-ba81-7644f13f19bf',NULL,'SettingManagement.Emailing.Test','R','admin'),('3a1bd225-76e6-4e9c-2929-87997c01bd94',NULL,'SettingManagement.TimeZone','R','admin');
/*!40000 ALTER TABLE `AbpPermissionGrants` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpPermissionGroups`
--

DROP TABLE IF EXISTS `AbpPermissionGroups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpPermissionGroups` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DisplayName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpPermissionGroups_Name` (`Name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpPermissionGroups`
--

LOCK TABLES `AbpPermissionGroups` WRITE;
/*!40000 ALTER TABLE `AbpPermissionGroups` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpPermissionGroups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpPermissions`
--

DROP TABLE IF EXISTS `AbpPermissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpPermissions` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `GroupName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ParentName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `DisplayName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `IsEnabled` tinyint(1) NOT NULL,
  `MultiTenancySide` tinyint unsigned NOT NULL,
  `Providers` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `StateCheckers` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpPermissions_Name` (`Name`),
  KEY `IX_AbpPermissions_GroupName` (`GroupName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpPermissions`
--

LOCK TABLES `AbpPermissions` WRITE;
/*!40000 ALTER TABLE `AbpPermissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpPermissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpRoleClaims`
--

DROP TABLE IF EXISTS `AbpRoleClaims`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpRoleClaims` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `RoleId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ClaimType` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ClaimValue` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpRoleClaims_RoleId` (`RoleId`),
  CONSTRAINT `FK_AbpRoleClaims_AbpRoles_RoleId` FOREIGN KEY (`RoleId`) REFERENCES `AbpRoles` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpRoleClaims`
--

LOCK TABLES `AbpRoleClaims` WRITE;
/*!40000 ALTER TABLE `AbpRoleClaims` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpRoleClaims` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpRoles`
--

DROP TABLE IF EXISTS `AbpRoles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpRoles` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Name` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `NormalizedName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `IsDefault` tinyint(1) NOT NULL,
  `IsStatic` tinyint(1) NOT NULL,
  `IsPublic` tinyint(1) NOT NULL,
  `EntityVersion` int NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpRoles_NormalizedName` (`NormalizedName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpRoles`
--

LOCK TABLES `AbpRoles` WRITE;
/*!40000 ALTER TABLE `AbpRoles` DISABLE KEYS */;
INSERT INTO `AbpRoles` VALUES ('3a1bd225-72eb-ce9e-b11e-995e69dbfa3f',NULL,'admin','ADMIN',1,1,1,3,'2025-08-19 09:36:37.658095','{}','c571444e0cc04e11a06041d25ffc021d');
/*!40000 ALTER TABLE `AbpRoles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpSecurityLogs`
--

DROP TABLE IF EXISTS `AbpSecurityLogs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpSecurityLogs` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ApplicationName` varchar(96) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Identity` varchar(96) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Action` varchar(96) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `UserName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `TenantName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ClientId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `CorrelationId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ClientIpAddress` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `BrowserInfo` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpSecurityLogs_TenantId_Action` (`TenantId`,`Action`),
  KEY `IX_AbpSecurityLogs_TenantId_ApplicationName` (`TenantId`,`ApplicationName`),
  KEY `IX_AbpSecurityLogs_TenantId_Identity` (`TenantId`,`Identity`),
  KEY `IX_AbpSecurityLogs_TenantId_UserId` (`TenantId`,`UserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpSecurityLogs`
--

LOCK TABLES `AbpSecurityLogs` WRITE;
/*!40000 ALTER TABLE `AbpSecurityLogs` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpSecurityLogs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpSessions`
--

DROP TABLE IF EXISTS `AbpSessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpSessions` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `SessionId` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Device` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DeviceInfo` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `ClientId` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `IpAddresses` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `SignedIn` datetime(6) NOT NULL,
  `LastAccessed` datetime(6) DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpSessions_Device` (`Device`),
  KEY `IX_AbpSessions_SessionId` (`SessionId`),
  KEY `IX_AbpSessions_TenantId_UserId` (`TenantId`,`UserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpSessions`
--

LOCK TABLES `AbpSessions` WRITE;
/*!40000 ALTER TABLE `AbpSessions` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpSessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpSettingDefinitions`
--

DROP TABLE IF EXISTS `AbpSettingDefinitions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpSettingDefinitions` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `DisplayName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Description` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `DefaultValue` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `IsVisibleToClients` tinyint(1) NOT NULL,
  `Providers` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `IsInherited` tinyint(1) NOT NULL,
  `IsEncrypted` tinyint(1) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpSettingDefinitions_Name` (`Name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpSettingDefinitions`
--

LOCK TABLES `AbpSettingDefinitions` WRITE;
/*!40000 ALTER TABLE `AbpSettingDefinitions` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpSettingDefinitions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpSettings`
--

DROP TABLE IF EXISTS `AbpSettings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpSettings` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Value` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProviderName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `ProviderKey` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_AbpSettings_Name_ProviderName_ProviderKey` (`Name`,`ProviderName`,`ProviderKey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpSettings`
--

LOCK TABLES `AbpSettings` WRITE;
/*!40000 ALTER TABLE `AbpSettings` DISABLE KEYS */;
INSERT INTO `AbpSettings` VALUES ('3a1bd225-7715-6d2b-c5fc-71d65cf30413','Abp.Localization.DefaultLanguage','zh-Hans','G',NULL);
/*!40000 ALTER TABLE `AbpSettings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpTenantConnectionStrings`
--

DROP TABLE IF EXISTS `AbpTenantConnectionStrings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpTenantConnectionStrings` (
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Value` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`TenantId`,`Name`),
  CONSTRAINT `FK_AbpTenantConnectionStrings_AbpTenants_TenantId` FOREIGN KEY (`TenantId`) REFERENCES `AbpTenants` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpTenantConnectionStrings`
--

LOCK TABLES `AbpTenantConnectionStrings` WRITE;
/*!40000 ALTER TABLE `AbpTenantConnectionStrings` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpTenantConnectionStrings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpTenants`
--

DROP TABLE IF EXISTS `AbpTenants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpTenants` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `Name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `NormalizedName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `EntityVersion` int NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpTenants_Name` (`Name`),
  KEY `IX_AbpTenants_NormalizedName` (`NormalizedName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpTenants`
--

LOCK TABLES `AbpTenants` WRITE;
/*!40000 ALTER TABLE `AbpTenants` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpTenants` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserClaims`
--

DROP TABLE IF EXISTS `AbpUserClaims`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserClaims` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ClaimType` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ClaimValue` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpUserClaims_UserId` (`UserId`),
  CONSTRAINT `FK_AbpUserClaims_AbpUsers_UserId` FOREIGN KEY (`UserId`) REFERENCES `AbpUsers` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserClaims`
--

LOCK TABLES `AbpUserClaims` WRITE;
/*!40000 ALTER TABLE `AbpUserClaims` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpUserClaims` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserDelegations`
--

DROP TABLE IF EXISTS `AbpUserDelegations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserDelegations` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `SourceUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TargetUserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `StartTime` datetime(6) NOT NULL,
  `EndTime` datetime(6) NOT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserDelegations`
--

LOCK TABLES `AbpUserDelegations` WRITE;
/*!40000 ALTER TABLE `AbpUserDelegations` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpUserDelegations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserLogins`
--

DROP TABLE IF EXISTS `AbpUserLogins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserLogins` (
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `LoginProvider` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ProviderKey` varchar(196) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProviderDisplayName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  PRIMARY KEY (`UserId`,`LoginProvider`),
  KEY `IX_AbpUserLogins_LoginProvider_ProviderKey` (`LoginProvider`,`ProviderKey`),
  CONSTRAINT `FK_AbpUserLogins_AbpUsers_UserId` FOREIGN KEY (`UserId`) REFERENCES `AbpUsers` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserLogins`
--

LOCK TABLES `AbpUserLogins` WRITE;
/*!40000 ALTER TABLE `AbpUserLogins` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpUserLogins` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserOrganizationUnits`
--

DROP TABLE IF EXISTS `AbpUserOrganizationUnits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserOrganizationUnits` (
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `OrganizationUnitId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  PRIMARY KEY (`OrganizationUnitId`,`UserId`),
  KEY `IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId` (`UserId`,`OrganizationUnitId`),
  CONSTRAINT `FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationUn~` FOREIGN KEY (`OrganizationUnitId`) REFERENCES `AbpOrganizationUnits` (`Id`) ON DELETE CASCADE,
  CONSTRAINT `FK_AbpUserOrganizationUnits_AbpUsers_UserId` FOREIGN KEY (`UserId`) REFERENCES `AbpUsers` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserOrganizationUnits`
--

LOCK TABLES `AbpUserOrganizationUnits` WRITE;
/*!40000 ALTER TABLE `AbpUserOrganizationUnits` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpUserOrganizationUnits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserRoles`
--

DROP TABLE IF EXISTS `AbpUserRoles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserRoles` (
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `RoleId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  PRIMARY KEY (`UserId`,`RoleId`),
  KEY `IX_AbpUserRoles_RoleId_UserId` (`RoleId`,`UserId`),
  CONSTRAINT `FK_AbpUserRoles_AbpRoles_RoleId` FOREIGN KEY (`RoleId`) REFERENCES `AbpRoles` (`Id`) ON DELETE CASCADE,
  CONSTRAINT `FK_AbpUserRoles_AbpUsers_UserId` FOREIGN KEY (`UserId`) REFERENCES `AbpUsers` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserRoles`
--

LOCK TABLES `AbpUserRoles` WRITE;
/*!40000 ALTER TABLE `AbpUserRoles` DISABLE KEYS */;
INSERT INTO `AbpUserRoles` VALUES ('3a1bd225-707b-570d-d5c1-9478a0f997e1','3a1bd225-72eb-ce9e-b11e-995e69dbfa3f',NULL);
/*!40000 ALTER TABLE `AbpUserRoles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUserTokens`
--

DROP TABLE IF EXISTS `AbpUserTokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUserTokens` (
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `LoginProvider` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  PRIMARY KEY (`UserId`,`LoginProvider`,`Name`),
  CONSTRAINT `FK_AbpUserTokens_AbpUsers_UserId` FOREIGN KEY (`UserId`) REFERENCES `AbpUsers` (`Id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUserTokens`
--

LOCK TABLES `AbpUserTokens` WRITE;
/*!40000 ALTER TABLE `AbpUserTokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `AbpUserTokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `AbpUsers`
--

DROP TABLE IF EXISTS `AbpUsers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `AbpUsers` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `UserName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `NormalizedUserName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `Name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Surname` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `Email` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `NormalizedEmail` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `EmailConfirmed` tinyint(1) NOT NULL DEFAULT '0',
  `PasswordHash` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `SecurityStamp` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `IsExternal` tinyint(1) NOT NULL DEFAULT '0',
  `PhoneNumber` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL,
  `PhoneNumberConfirmed` tinyint(1) NOT NULL DEFAULT '0',
  `IsActive` tinyint(1) NOT NULL,
  `TwoFactorEnabled` tinyint(1) NOT NULL DEFAULT '0',
  `LockoutEnd` datetime(6) DEFAULT NULL,
  `LockoutEnabled` tinyint(1) NOT NULL DEFAULT '0',
  `AccessFailedCount` int NOT NULL DEFAULT '0',
  `ShouldChangePasswordOnNextLogin` tinyint(1) NOT NULL,
  `EntityVersion` int NOT NULL,
  `LastPasswordChangeTime` datetime(6) DEFAULT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_AbpUsers_Email` (`Email`),
  KEY `IX_AbpUsers_NormalizedEmail` (`NormalizedEmail`),
  KEY `IX_AbpUsers_NormalizedUserName` (`NormalizedUserName`),
  KEY `IX_AbpUsers_UserName` (`UserName`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `AbpUsers`
--

LOCK TABLES `AbpUsers` WRITE;
/*!40000 ALTER TABLE `AbpUsers` DISABLE KEYS */;
INSERT INTO `AbpUsers` VALUES ('3a1bd225-707b-570d-d5c1-9478a0f997e1',NULL,'admin','ADMIN','admin',NULL,'admin@abp.io','ADMIN@ABP.IO',0,'AQAAAAIAAYagAAAAEL3Pc4YU5fuxu6bgJzvVUdZNf2r+YG0bz/hA+gPJa45m0ITnXVFT9AHRU1HWAWUxaA==','4P66BKZU2PY7FSJ6EMV5KICEADG7MI67',0,NULL,0,1,0,NULL,0,0,0,3,'2025-08-19 01:36:37.069891','{}','ea4244c696044c95bda3883eb0eb5828','2025-08-19 09:36:37.313388',NULL,'2025-08-19 09:36:38.771628',NULL,0,NULL,NULL);
/*!40000 ALTER TABLE `AbpUsers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProCTWingAccountInfo`
--

DROP TABLE IF EXISTS `ServiceProCTWingAccountInfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProCTWingAccountInfo` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `AccountName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号名称',
  `AccountId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号ID',
  `AppId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用 ID',
  `AppKey` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用 AppKey',
  `AppSecret` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '应用 AppSecret',
  `PlatformTenantId` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '平台租户ID',
  `CommunicationAddress` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '通讯服务地址',
  `PhoneNumber` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '手机号码',
  `ProductCount` int NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT '租户ID',
  `Remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
  `OSACreatorId` int DEFAULT NULL COMMENT '旧系统授权创建者Id',
  `OSALastModifierId` int DEFAULT NULL COMMENT '旧系统授权最后修改者Id',
  `OSADeleterId` int DEFAULT NULL COMMENT '旧系统授权最后删除者Id',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '扩展属性,用于存储自定义字段,JSON格式',
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProCTWingAccountInfo_CreationTime` (`CreationTime`),
  KEY `IX_ServiceProCTWingAccountInfo_IsNotUniqueKey` (`Id` DESC,`AccountId` DESC,`AccountName` DESC,`CreationTime` DESC)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='CTWing账号信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProCTWingAccountInfo`
--

LOCK TABLES `ServiceProCTWingAccountInfo` WRITE;
/*!40000 ALTER TABLE `ServiceProCTWingAccountInfo` DISABLE KEYS */;
INSERT INTO `ServiceProCTWingAccountInfo` VALUES ('3a1bd225-7f96-8676-998a-816fb250644b','13682348795','2000651111','363080','8liCbZiNSed','uotF82mylK','2000559711',NULL,'13682348795',0,'a7aa97cd3dc34a3a95008ca8902b1fb2','2025-08-19 09:36:40.854697',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{}');
/*!40000 ALTER TABLE `ServiceProCTWingAccountInfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProCTWingPrivateProductInfo`
--

DROP TABLE IF EXISTS `ServiceProCTWingPrivateProductInfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProCTWingPrivateProductInfo` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `CTWingAccountId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号ID',
  `AccountPhoneNumber` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci,
  `CommunicationAddress` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '通讯服务地址',
  `MasterKey` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'OpenAPI 通信主密钥',
  `FeatureAccesskey` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备访问密钥',
  `IoTPlatformProductId` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '产品ID',
  `ProductName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '产品名称',
  `Protocol` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '通讯协议',
  `ProductDesc` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '必填，产品描述',
  `ProductType` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '一级分类名',
  `SecondaryType` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '二级分类名',
  `ThirdType` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '三级分类名',
  `NodeType` int NOT NULL,
  `AccessType` int NOT NULL,
  `NetworkType` int NOT NULL,
  `ProductProtocol` int NOT NULL,
  `AuthType` int NOT NULL,
  `DataEncryption` int NOT NULL,
  `TupIsThrough` int NOT NULL,
  `TupDeviceModel` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备型号',
  `DeviceCount` int NOT NULL,
  `DeviceThingModelFileId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备物模型文件Id',
  `DeviceThingModelFileName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备物模型文件名称',
  `IsEnabled` tinyint(1) NOT NULL COMMENT '是否启用',
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT '租户ID',
  `Remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
  `OSACreatorId` int DEFAULT NULL COMMENT '旧系统授权创建者Id',
  `OSALastModifierId` int DEFAULT NULL COMMENT '旧系统授权最后修改者Id',
  `OSADeleterId` int DEFAULT NULL COMMENT '旧系统授权最后删除者Id',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '扩展属性,用于存储自定义字段,JSON格式',
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProCTWingPrivateProductInfo_CreationTime` (`CreationTime`),
  KEY `IX_ServiceProCTWingPrivateProductInfo_IsNotUniqueKey` (`Id` DESC,`IoTPlatformProductId` DESC,`ProductName` DESC,`CreationTime` DESC)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='CTWing产品信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProCTWingPrivateProductInfo`
--

LOCK TABLES `ServiceProCTWingPrivateProductInfo` WRITE;
/*!40000 ALTER TABLE `ServiceProCTWingPrivateProductInfo` DISABLE KEYS */;
INSERT INTO `ServiceProCTWingPrivateProductInfo` VALUES ('3a1bd225-812d-7e94-af3d-3ad3542a0de7','2000651111','13682348795','2000559711.non-nb.ctwing.cn:8996','d0942558e7bd4f71af2585b0cfe5fac0','7sqBWEwrA1o65jpJqrJtuGAIvyrY7XE9-Txh7Wzxro4','17227673','集社云DDSU1980',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,0,NULL,0,NULL,NULL,0,'82294753605b4c13a9d050b4ae17e363','2025-08-19 09:36:41.261714',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{}');
/*!40000 ALTER TABLE `ServiceProCTWingPrivateProductInfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProDeviceInfo`
--

DROP TABLE IF EXISTS `ServiceProDeviceInfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProDeviceInfo` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `DeviceName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '设备名称',
  `DeviceAddress` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '设备地址',
  `IoTPlatform` int NOT NULL COMMENT '物联网平台类型,默认没有指定',
  `IoTPlatformDeviceOpenInfo` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台中对应的设备Id或者名称',
  `PlatformPassword` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台设备密码',
  `IoTPlatformProductId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台中对应的产品Id',
  `IoTPlatformProductName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台中对应的产品Name',
  `IoTPlatformAccountId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台中对应的账号Id',
  `AccountPhoneNumber` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账户手机号',
  `IoTPlatformResponse` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '物联网平台返回的响应信息',
  `IsPlatformPushSuccess` tinyint(1) NOT NULL COMMENT '物联网平台推送是否成功',
  `DeviceOnlineStatus` int DEFAULT NULL COMMENT '设备在线状态',
  `LastOnlineTime` datetime(6) DEFAULT NULL COMMENT '最后在线时间',
  `LastOfflineTime` datetime(6) DEFAULT NULL COMMENT '最后离线时间',
  `DeviceSourceTypeEnum` int DEFAULT NULL COMMENT '设备来源类型',
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT '租户ID',
  `Remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
  `OSACreatorId` int DEFAULT NULL COMMENT '旧系统授权创建者Id',
  `OSALastModifierId` int DEFAULT NULL COMMENT '旧系统授权最后修改者Id',
  `OSADeleterId` int DEFAULT NULL COMMENT '旧系统授权最后删除者Id',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '扩展属性,用于存储自定义字段,JSON格式',
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProDeviceInfo_CreationTime` (`CreationTime`),
  KEY `IX_ServiceProDeviceInfo_DeviceAddress` (`DeviceAddress`),
  KEY `IX_ServiceProDeviceInfo_IsNotUniqueKey` (`Id` DESC,`DeviceName` DESC,`DeviceAddress` DESC,`IoTPlatformProductId` DESC,`CreationTime` DESC)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='设备信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProDeviceInfo`
--

LOCK TABLES `ServiceProDeviceInfo` WRITE;
/*!40000 ALTER TABLE `ServiceProDeviceInfo` DISABLE KEYS */;
/*!40000 ALTER TABLE `ServiceProDeviceInfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProMenus`
--

DROP TABLE IF EXISTS `ServiceProMenus`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProMenus` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `ParentId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '唯一编码',
  `Title` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '标题',
  `DisplayTitle` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '标准多语言',
  `Icon` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '图标',
  `KeepAlive` tinyint(1) NOT NULL COMMENT '是否缓存',
  `HideInMenu` tinyint(1) NOT NULL COMMENT '是否显示',
  `Order` int NOT NULL COMMENT '排序',
  `Path` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '路由/接口地址',
  `MenuType` int NOT NULL COMMENT '菜单类型',
  `OpenType` int NOT NULL COMMENT '打开类型',
  `Url` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '内外链地址',
  `Component` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '组件地址',
  `Policy` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '授权策略名称',
  `Enabled` tinyint(1) NOT NULL,
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='动态菜单管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProMenus`
--

LOCK TABLES `ServiceProMenus` WRITE;
/*!40000 ALTER TABLE `ServiceProMenus` DISABLE KEYS */;
INSERT INTO `ServiceProMenus` VALUES ('3a1bd225-79f1-0180-7e53-8c1640b3e8fa',NULL,NULL,'dashboard','概览','JiShe.ServicePro.DynamicMenuManagement:Dashboard','lucide:layout-dashboard',0,0,1,'/dashboard',10,20,NULL,NULL,'',1,'{}','899ad8a245324d94ba39553749e0478c','2025-08-19 09:36:39.707221',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-05e7-ca8c-c32c6079d5fc',NULL,'3a1bd225-79f6-82e2-b68e-b801e835aaee','ctwingAccount','CTWing账号','JiShe.ServicePro.CTWingManagement:Account','ph:user',0,0,1,'ctwingAccount',20,20,NULL,'/views/ctwingmanagement/account/index.vue','CTWingManagement.Account',1,'{}','0e18e868dad1489593f48286ae422852','2025-08-19 09:36:40.355225',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-0669-7cdc-4c4cf0e7a823',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpNotification','通告管理','JiShe.ServicePro.DynamicMenuManagement:Notification','ant-design:comment-outlined',0,0,11,'notification',20,20,NULL,'/views/system/abpnotification/notification.vue','AbpIdentity.NotificationSubscriptionManagement',1,'{}','4b5d5a914f7042109f1c0d99a383eac4','2025-08-19 09:36:40.066296',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-0f4c-0e51-18e0a4e97ef4',NULL,'3a1bd225-79f6-82e2-b68e-b801e835aaee','ctwingPrivateProduct','CTWing产品','JiShe.ServicePro.CTWingManagement:PrivateProduct','ant-design:phone-filled',0,0,2,'ctwingPrivateProduct',20,20,NULL,'/views/ctwingmanagement/privateProduct/index.vue','CTWingManagement.PrivateProduct',1,'{}','aa24efbd465d4f6ba3c96a11f86f3bb2','2025-08-19 09:36:40.380502',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-13e4-9a37-e97877f17945',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpUser','用户管理','JiShe.ServicePro.DynamicMenuManagement:User','ph:user',0,0,1,'user',20,20,NULL,'/views/system/abpuser/index.vue','AbpIdentity.Users',1,'{}','45b1f13ab2964af2bef674f8f64c2fa3','2025-08-19 09:36:39.811294',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-16d7-3c65-cc2e82b30a24',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpLanguageText','语言文本管理','JiShe.ServicePro.DynamicMenuManagement:LanguageText','ant-design:font-size-outlined',0,0,9,'languagetext',20,20,NULL,'/views/system/abplanguage/languagetext.vue','AbpIdentity.LanguageTexts',1,'{}','5c58e6dca5a140a0af6f279b9bf80449','2025-08-19 09:36:40.015536',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-1736-645e-daa0ccc187f1',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpRole','角色管理','JiShe.ServicePro.DynamicMenuManagement:Role','carbon:workspace',0,0,2,'role',20,20,NULL,'/views/system/abprole/index.vue','AbpIdentity.Roles',1,'{}','50a9c7a158e9479c829851b85f9cb548','2025-08-19 09:36:39.836781',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-1dd7-087f-f77aafd8ff1e',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpOrganizationUnit','组织机构管理','JiShe.ServicePro.DynamicMenuManagement:OrganizationUnit','ant-design:team-outlined',0,0,3,'organizationUnit',20,20,NULL,'/views/system/abporganizationunit/index.vue','AbpIdentity.OrganizationUnitManagement',1,'{}','6ba085f2e8db481fbe111bcc0734dcf9','2025-08-19 09:36:39.862528',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-2bfd-0637-6cd73cc7cc9e',NULL,'3a1bd225-79f6-7ca3-a29d-68b29f5412d2','abpFile','文件管理','JiShe.ServicePro.DynamicMenuManagement:File','ant-design:file-text-twotone',0,0,1,'file',20,20,NULL,'/views/system/abpfiles/index.vue','FileManagement.File',1,'{}','fc372c0965894862b6a9c5f685f2843d','2025-08-19 09:36:40.238011',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-2fc4-d662-87fe5f62360d',NULL,'3a1bd225-79f6-60f9-34ef-be0029b1fbc4','oneNETPrivateProduct','OneNET产品','JiShe.ServicePro.OneNETManagement:PrivateProduct','ant-design:mobile-filled',0,0,2,'oneNETPrivateProduct',20,20,NULL,'/views/onenetmanagement/privateProduct/index.vue','OneNETManagement.PrivateProduct',1,'{}','ed1518aac4764ab3a5543006db3d8406','2025-08-19 09:36:40.457288',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-60f9-34ef-be0029b1fbc4',NULL,NULL,'onenetmanagement','OneNET管理','JiShe.ServicePro:OneNETManagement','ant-design:dribbble-circle-filled',0,0,6,'/onenetmanagement',10,20,NULL,NULL,'',1,'{}','ff36bab1403341bd8a1bd3ebc884a465','2025-08-19 09:36:40.406101',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-66e2-b163-f71f28d740f3',NULL,NULL,'devicemanagement','设备管理','JiShe.ServicePro:DeviceManagement','ant-design:printer-filled',0,0,7,'/devicemanagement',10,20,NULL,NULL,'',1,'{}','ff2f44dcc9684a74bcb0fabcd16279dd','2025-08-19 09:36:40.263580',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-6834-9018-4b48c21bd4f7',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpLanguage','语言管理','JiShe.ServicePro.DynamicMenuManagement:Language','ant-design:read-outlined',0,0,8,'language',20,20,NULL,'/views/system/abplanguage/language.vue','AbpIdentity.Languages',1,'{}','5c5a7ab7c5054106accb0ab5290d2b3e','2025-08-19 09:36:39.989715',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-7382-8ff8-2865fc7a4b7d',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpMessage','消息管理','JiShe.ServicePro.DynamicMenuManagement:Message','ant-design:customer-service-twotone',0,0,12,'message',20,20,NULL,'/views/system/abpnotification/message.vue','AbpIdentity.NotificationManagement',1,'{}','e3d603f0be9949818ad845426cce5269','2025-08-19 09:36:40.091672',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-7bf3-45f0-2390d1bfc7b0',NULL,'3a1bd225-79f6-a5e9-f14a-550bc9973ec1','ctwingLog','CTWing日志','JiShe.ServicePro.IoTDBManagement:CTWingLog','ant-design:pie-chart-filled',0,0,3,'ctwingLog',20,20,NULL,'/views/iotdbdatamanagement/ctwingLog/index.vue','IoTDBManagement.CTWingLog',1,'{}','f9fa50a9fb114771921576b7bc3f1cf5','2025-08-19 09:36:40.796937',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-7c34-5f4c-407a04b4e0f6',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpLoginLog','登录日志','JiShe.ServicePro.DynamicMenuManagement:LoginLog','ant-design:snippets-twotone',0,0,7,'loginlog',20,20,NULL,'/views/system/abplog/login.vue','AbpIdentity.IdentitySecurityLogs',1,'{}','531c0118e4c04a409a09449d7d7e7c5e','2025-08-19 09:36:39.964224',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-7ca3-a29d-68b29f5412d2',NULL,NULL,'file','文件管理','JiShe.ServicePro.DynamicMenuManagement:File','ant-design:folder-open-outlined',0,0,4,'/file',10,20,NULL,NULL,'',1,'{}','58c815daa0034e67a36aed88611f9c78','2025-08-19 09:36:40.212622',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-7e38-a2b9-a538ab00d3c8',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpDataDictionary','数据字典管理','JiShe.ServicePro.DynamicMenuManagement:DataDictionary','ant-design:table-outlined',0,0,10,'dataDictionary',20,20,NULL,'/views/system/abpdatadictionary/index.vue','AbpIdentity.DataDictionaryManagement',1,'{}','1242aa5a70174c84a14fb99d6f083afa','2025-08-19 09:36:40.040726',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-824b-c977-24d321b7f75d',NULL,'3a1bd225-79f6-60f9-34ef-be0029b1fbc4','oneNETAccount','OneNET账号','JiShe.ServicePro.OneNETManagement:Account','ph:user',0,0,1,'oneNETAccount',20,20,NULL,'/views/onenetmanagement/account/index.vue','OneNETManagement.Account',1,'{}','53329cf1f2644d8f937d5421bb602c2f','2025-08-19 09:36:40.431579',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-82e2-b68e-b801e835aaee',NULL,NULL,'ctwingmanagement','CTWing管理','JiShe.ServicePro:CTWingManagement','ant-design:copyright-circle-filled',0,0,5,'/ctwingmanagement',10,20,NULL,NULL,'',1,'{}','fd94a3f6c4f343c2b823c964f3f31b0b','2025-08-19 09:36:40.328886',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-922d-46f3-d3486da09d4f',NULL,'3a1bd225-79f6-a5e9-f14a-550bc9973ec1','onenetLog','OneNET日志','JiShe.ServicePro.IoTDBManagement:OneNETLog','ant-design:sliders-filled',0,0,4,'onenetLog',20,20,NULL,'/views/iotdbdatamanagement/onenetLog/index.vue','IoTDBManagement.OneNETLog',1,'{}','8f06b2aab4d349f4a47262ebc2c6259e','2025-08-19 09:36:40.822270',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-9340-ed97-06e9d80c9ab6',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpfeature','功能管理','JiShe.ServicePro.DynamicMenuManagement:Feature','ant-design:tool-outlined',0,0,5,'feature',20,20,NULL,'/views/system/abpfeature/index.vue','AbpIdentity.FeatureManagement',1,'{}','79d48e5db799461bab490a7c76f0dd68','2025-08-19 09:36:39.913252',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-9a61-7d73-08f00d26cc88',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpAuditLog','审计日志','JiShe.ServicePro.DynamicMenuManagement:AuditLog','ant-design:snippets-twotone',0,0,6,'auditlog',20,20,NULL,'/views/system/abplog/audit.vue','AbpIdentity.AuditLog',1,'{}','235290c32f73494e9315a0614f5c3609','2025-08-19 09:36:39.938900',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-9eee-b7b4-e57bc5b36434',NULL,'3a1bd225-79f6-66e2-b163-f71f28d740f3','deviceinfo','设备信息','JiShe.ServicePro.DeviceManagement:DeviceInfo','ant-design:control-outlined',0,0,1,'deviceinfo',20,20,NULL,'/views/devicemanagement/deviceinfo/index.vue','DeviceManagement.DeviceInfo',1,'{}','9e087719d9ca49d4b55beac906ea8020','2025-08-19 09:36:40.288956',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-a5e9-f14a-550bc9973ec1',NULL,NULL,'iotdbdatamanagement','IoTDB数据管理','JiShe.ServicePro:IoTDBManagement','ant-design:database-filled',0,0,8,'/iotdbdatamanagement',10,20,NULL,NULL,'',1,'{}','8892c30d778b484b8dcecbdca43475ea','2025-08-19 09:36:40.482553',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-b12c-64d3-ad13e7a1f520',NULL,'3a1bd225-79f1-0180-7e53-8c1640b3e8fa','Analytics','分析页','JiShe.ServicePro.DynamicMenuManagement:Analytics','lucide:area-chart',0,0,1,'/analytics',20,20,NULL,'/views/dashboard/analytics/index.vue','',1,'{}','99fa317787444b05b0a6602540fc6a9d','2025-08-19 09:36:39.734203',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-b1f6-f0ad-cd1e292a2b16',NULL,'3a1bd225-79f6-e694-ffbb-1c02dc6c39c8','abpTenant','租户列表','JiShe.ServicePro.DynamicMenuManagement:Tenant','ph:user',0,0,1,'tenant',20,20,NULL,'/views/system/abptenant/index.vue','AbpTenantManagement.Tenants',1,'{}','6d0bc181dee942e781e397d1c6dcffe9','2025-08-19 09:36:40.187053',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-b822-fe35-c5ac58a212aa',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpMenu','菜单管理','JiShe.ServicePro.DynamicMenuManagement:Menu','ant-design:bars-outlined',0,0,13,'menu',20,20,NULL,'/views/system/abpmenu/index.vue','AbpIdentity.DynamicMenuManagement',1,'{}','3b9f16fe37d345fe9bf746a4ba255984','2025-08-19 09:36:40.134569',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-c81d-7b9d-5fca28bbf745',NULL,'3a1bd225-79f6-a5e9-f14a-550bc9973ec1','telemetryLog','遥测日志','JiShe.ServicePro.IoTDBManagement:TelemetryLog','ant-design:snippets-twotone',0,0,2,'telemetryLog',20,20,NULL,'/views/iotdbdatamanagement/telemetryLog/index.vue','IoTDBManagement.TelemetryLog',1,'{}','4520e0cebecb4dd4b2a24e1c158658e6','2025-08-19 09:36:40.533558',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-d205-c442-a9c597dc0917',NULL,'3a1bd225-79f1-0180-7e53-8c1640b3e8fa','Workspace','工作台','JiShe.ServicePro.DynamicMenuManagement:Workspace','carbon:workspace',0,0,2,'/workspace',20,20,NULL,'/views/dashboard/workspace/index.vue','',1,'{}','4594d3af106c4d76bdbaf85c8f296f12','2025-08-19 09:36:39.760399',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-da25-33de-7ecabfa940b8',NULL,'3a1bd225-79f6-a5e9-f14a-550bc9973ec1','deviceData','设备数据','JiShe.ServicePro.IoTDBManagement:DeviceData','ant-design:container-outlined',0,0,1,'deviceData',20,20,NULL,'/views/iotdbdatamanagement/deviceData/index.vue','IoTDBManagement.DeviceData',1,'{}','73c98077baec4c14b9ecdc382ab571d7','2025-08-19 09:36:40.508391',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-e694-ffbb-1c02dc6c39c8',NULL,NULL,'tenant','租户管理','JiShe.ServicePro.DynamicMenuManagement:Tenant','ant-design:switcher-filled',0,0,3,'/tenant',10,20,NULL,NULL,'',1,'{}','d35b0020ea7b49438516d78581b1cd41','2025-08-19 09:36:40.161557',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-e9d4-28cc-fa2efffa0c32',NULL,NULL,'system','系统管理','JiShe.ServicePro.DynamicMenuManagement:System','lucide:layout-dashboard',0,0,2,'/system',10,20,NULL,NULL,'',1,'{}','8b66c332c5164807aee7ba59a4943093','2025-08-19 09:36:39.785951',NULL,NULL,NULL,0,NULL,NULL),('3a1bd225-79f6-fa34-d8e5-aa979d8928ff',NULL,'3a1bd225-79f6-e9d4-28cc-fa2efffa0c32','abpSetting','设置管理','JiShe.ServicePro.DynamicMenuManagement:Setting','uil:setting',0,0,4,'setting',20,20,NULL,'/views/system/abpsetting/index.vue','AbpIdentity.Setting',1,'{}','b5741d2928a24603a018257aea3da184','2025-08-19 09:36:39.887965',NULL,NULL,NULL,0,NULL,NULL);
/*!40000 ALTER TABLE `ServiceProMenus` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProOneNETAccountInfo`
--

DROP TABLE IF EXISTS `ServiceProOneNETAccountInfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProOneNETAccountInfo` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `AccountName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账号名称',
  `OneNETAccountId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账户Id',
  `PhoneNumber` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '手机号码',
  `AccountAccesskey` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账户通信密钥，平台可以重置密钥',
  `ProductCount` int NOT NULL COMMENT '产品数量',
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT '租户ID',
  `Remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
  `OSACreatorId` int DEFAULT NULL COMMENT '旧系统授权创建者Id',
  `OSALastModifierId` int DEFAULT NULL COMMENT '旧系统授权最后修改者Id',
  `OSADeleterId` int DEFAULT NULL COMMENT '旧系统授权最后删除者Id',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '扩展属性,用于存储自定义字段,JSON格式',
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProOneNETAccountInfo_CreationTime` (`CreationTime`),
  KEY `IX_ServiceProOneNETAccountInfo_IsNotUniqueKey` (`Id` DESC,`OneNETAccountId` DESC,`AccountName` DESC,`PhoneNumber` DESC,`CreationTime` DESC)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='OneNET账号管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProOneNETAccountInfo`
--

LOCK TABLES `ServiceProOneNETAccountInfo` WRITE;
/*!40000 ALTER TABLE `ServiceProOneNETAccountInfo` DISABLE KEYS */;
INSERT INTO `ServiceProOneNETAccountInfo` VALUES ('3a1bd225-819e-ae07-e876-4275bac08cd0','CM002022579846','453226','13682348795','J9p8StcuPDUfBv0ozMrDbQvT/OEMqtXMrvQgjm2bFoXgVXTWoIwR0xyHeELm8qgC',0,'2654c5c551dc43669cfc1d86f722ba7c','2025-08-19 09:36:41.374261',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{}');
/*!40000 ALTER TABLE `ServiceProOneNETAccountInfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProOneNETProductInfo`
--

DROP TABLE IF EXISTS `ServiceProOneNETProductInfo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProOneNETProductInfo` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `OneNETAccountId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '账户Id',
  `AccountPhoneNumber` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '账户手机号',
  `IoTPlatformProductId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '物联网平台对应的产品Id',
  `ProductName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '产品名称',
  `ProductAccesskey` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '产品访问密钥',
  `DeviceThingModelFileId` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备物模型文件Id',
  `DeviceThingModelFileName` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '设备物模型文件名称',
  `IsEnabled` tinyint(1) NOT NULL,
  `AccessProtocol` int NOT NULL COMMENT '接入协议',
  `DataProtocol` int NOT NULL COMMENT '数据协议',
  `NodeType` int NOT NULL COMMENT '节点类型',
  `ProductCreateTime` datetime(6) NOT NULL COMMENT '产品创建时间',
  `ProductUpdateTime` datetime(6) NOT NULL COMMENT '最近修改时间',
  `Network` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '联网方式',
  `Manufacturer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '产品厂商',
  `Model` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '产品型号',
  `Brand` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '产品品牌',
  `Status` int NOT NULL COMMENT '开发状态',
  `OwnDeviceCount` int NOT NULL COMMENT '自有设备总数',
  `OnlineDeviceCount` int NOT NULL COMMENT '在线设备总数',
  `OfflineDeviceCount` int NOT NULL COMMENT '离线设备数',
  `NotActiveDeviceCount` int NOT NULL COMMENT '未激活设备数',
  `CommunicationAddress` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '通讯服务地址',
  `CommunicationAddressTLS` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT 'TLS通讯服务地址',
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT '租户ID',
  `Remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '备注',
  `OSACreatorId` int DEFAULT NULL COMMENT '旧系统授权创建者Id',
  `OSALastModifierId` int DEFAULT NULL COMMENT '旧系统授权最后修改者Id',
  `OSADeleterId` int DEFAULT NULL COMMENT '旧系统授权最后删除者Id',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci COMMENT '扩展属性,用于存储自定义字段,JSON格式',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `IX_ServiceProOneNETProductInfo_IoTPlatformProductId` (`IoTPlatformProductId`),
  KEY `IX_ServiceProOneNETProductInfo_CreationTime` (`CreationTime`),
  KEY `IX_ServiceProOneNETProductInfo_IsNotUniqueKey` (`Id` DESC,`IoTPlatformProductId` DESC,`ProductName` DESC,`CreationTime` DESC)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='OneNET产品管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProOneNETProductInfo`
--

LOCK TABLES `ServiceProOneNETProductInfo` WRITE;
/*!40000 ALTER TABLE `ServiceProOneNETProductInfo` DISABLE KEYS */;
INSERT INTO `ServiceProOneNETProductInfo` VALUES ('3a1bd225-8203-4b60-2a57-1a4dfba0d9e9','453226','13682348795','PBJvyxvsA9','集社云DDSU1980','Q72FdY3lP0sLl6/xRSlNa9GJK1VtP89HcY8vbYtZfwM=',NULL,NULL,0,0,0,0,'0001-01-01 00:00:00.000000','0001-01-01 00:00:00.000000',NULL,NULL,NULL,NULL,0,0,0,0,0,'PBJvyxvsA9.mqtts.acc.cmcconenet.cn','PBJvyxvsA9.mqttstls.acc.cmcconenet.cn','9ba606731a104e6c82dce46e0cdce5d0','2025-08-19 09:36:41.475348',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'{}');
/*!40000 ALTER TABLE `ServiceProOneNETProductInfo` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProTextTemplates`
--

DROP TABLE IF EXISTS `ServiceProTextTemplates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProTextTemplates` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `Name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '名称',
  `Code` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '编码',
  `Content` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '内容',
  `CultureName` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '语言',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProTextTemplates_Code` (`Code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='模板管理';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProTextTemplates`
--

LOCK TABLES `ServiceProTextTemplates` WRITE;
/*!40000 ALTER TABLE `ServiceProTextTemplates` DISABLE KEYS */;
/*!40000 ALTER TABLE `ServiceProTextTemplates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ServiceProUserRefreshTokens`
--

DROP TABLE IF EXISTS `ServiceProUserRefreshTokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `ServiceProUserRefreshTokens` (
  `Id` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL,
  `UserId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL COMMENT '用户id',
  `TenantId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `RefreshToken` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '刷新token',
  `Token` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT 'Token',
  `IsUsed` tinyint(1) NOT NULL COMMENT '是否使用',
  `ExpirationTime` datetime(6) NOT NULL COMMENT '过期时间',
  `ExtraProperties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `CreationTime` datetime(6) NOT NULL,
  `CreatorId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `LastModificationTime` datetime(6) DEFAULT NULL,
  `LastModifierId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `IsDeleted` tinyint(1) NOT NULL DEFAULT '0',
  `DeleterId` char(36) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL,
  `DeletionTime` datetime(6) DEFAULT NULL,
  PRIMARY KEY (`Id`),
  KEY `IX_ServiceProUserRefreshTokens_RefreshToken` (`RefreshToken`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='刷新Token';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ServiceProUserRefreshTokens`
--

LOCK TABLES `ServiceProUserRefreshTokens` WRITE;
/*!40000 ALTER TABLE `ServiceProUserRefreshTokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `ServiceProUserRefreshTokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `__EFMigrationsHistory`
--

DROP TABLE IF EXISTS `__EFMigrationsHistory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `__EFMigrationsHistory` (
  `MigrationId` varchar(150) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `ProductVersion` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`MigrationId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `__EFMigrationsHistory`
--

LOCK TABLES `__EFMigrationsHistory` WRITE;
/*!40000 ALTER TABLE `__EFMigrationsHistory` DISABLE KEYS */;
INSERT INTO `__EFMigrationsHistory` VALUES ('20250804031635_InitialCreate','9.0.4');
/*!40000 ALTER TABLE `__EFMigrationsHistory` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2025-08-19  9:55:43

