From 7b57e93c0448c1a883ea7448b6b0fc33a0fba7d9 Mon Sep 17 00:00:00 2001 From: ChenYi <296215406@outlook.com> Date: Mon, 26 Jan 2026 15:41:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=B9=B3=E5=8F=B0=E7=AB=AF?= =?UTF-8?q?=E7=89=A9=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DockerComposeShells/.env | 2 +- DockerComposeShells/docker-compose-init.yml | 2 +- .../docker-compose-iotdb-standalone.yml | 2 +- DockerComposeShells/docker-compose.yml | 2 +- .../docker-compose_service_sub.yml | 2 +- .../docker-compose_service_sub_init.yml | 2 +- DockerComposeShells/env.example | 3 + .../postgresql/init/01-jisheiotprodb.sql | 5748 +++++++++++++++++ ...{01-create-user.sql => 02-create-user.sql} | 0 ...ns.sql => 03-grant-schema-permissions.sql} | 0 .../20260126022433_InitialCreate.Designer.cs | 4299 ++++++++++++ .../20260126022433_InitialCreate.cs | 2066 ++++++ .../Migrations/IoTDbContextModelSnapshot.cs | 8 + 13 files changed, 12130 insertions(+), 6 deletions(-) create mode 100644 DockerComposeShells/postgresql/init/01-jisheiotprodb.sql rename DockerComposeShells/postgresql/init/{01-create-user.sql => 02-create-user.sql} (100%) rename DockerComposeShells/postgresql/init/{02-grant-schema-permissions.sql => 03-grant-schema-permissions.sql} (100%) create mode 100644 src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.Designer.cs create mode 100644 src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.cs diff --git a/DockerComposeShells/.env b/DockerComposeShells/.env index 36c8e8b..b87d9fc 100644 --- a/DockerComposeShells/.env +++ b/DockerComposeShells/.env @@ -29,6 +29,6 @@ SQLSERVER_PORT=11433 # 认证信息 PULSAR_ADMIN_USER=admin PULSAR_ADMIN_PASSWORD=0fd7afb8b0d04e6abc4fdfdac2190a79 -IOTDB_ROOT_PASSWORD=Lixiao@1980 +IOTDB_ROOT_PASSWORD=Li#xiao@198!0 MYSQL_ROOT_PASSWORD='JiShe!aqG#5kGgh&0' SQLSERVER_SA_PASSWORD=JiShe!aqG@5kGgh&0 \ No newline at end of file diff --git a/DockerComposeShells/docker-compose-init.yml b/DockerComposeShells/docker-compose-init.yml index efc3a18..03e391a 100644 --- a/DockerComposeShells/docker-compose-init.yml +++ b/DockerComposeShells/docker-compose-init.yml @@ -183,7 +183,7 @@ services: - pulsar-net iotdb-standalone-service: - image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.5-standalone + image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone hostname: iotdb-standalone container_name: iotdb-standalone restart: always diff --git a/DockerComposeShells/docker-compose-iotdb-standalone.yml b/DockerComposeShells/docker-compose-iotdb-standalone.yml index d05cae4..0499078 100644 --- a/DockerComposeShells/docker-compose-iotdb-standalone.yml +++ b/DockerComposeShells/docker-compose-iotdb-standalone.yml @@ -1,6 +1,6 @@ services: iotdb-standalone: - image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.5-standalone + image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone hostname: iotdb-standalone container_name: iotdb-standalone restart: "no" diff --git a/DockerComposeShells/docker-compose.yml b/DockerComposeShells/docker-compose.yml index 7703d23..53ca322 100644 --- a/DockerComposeShells/docker-compose.yml +++ b/DockerComposeShells/docker-compose.yml @@ -152,7 +152,7 @@ services: max-file: "3" iotdb-standalone-service: - image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.5-standalone + image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone hostname: iotdb-standalone container_name: iotdb-standalone restart: always diff --git a/DockerComposeShells/docker-compose_service_sub.yml b/DockerComposeShells/docker-compose_service_sub.yml index 7600889..679820e 100644 --- a/DockerComposeShells/docker-compose_service_sub.yml +++ b/DockerComposeShells/docker-compose_service_sub.yml @@ -1,6 +1,6 @@ services: iotdb-standalone-service: - image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.5-standalone + image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone hostname: iotdb-standalone container_name: iotdb-standalone restart: always diff --git a/DockerComposeShells/docker-compose_service_sub_init.yml b/DockerComposeShells/docker-compose_service_sub_init.yml index db649be..49b883c 100644 --- a/DockerComposeShells/docker-compose_service_sub_init.yml +++ b/DockerComposeShells/docker-compose_service_sub_init.yml @@ -1,6 +1,6 @@ services: iotdb-standalone-service: - image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.5-standalone + image: registry.cn-qingdao.aliyuncs.com/jisheyun/iotdb:2.0.6-standalone hostname: iotdb-standalone container_name: iotdb-standalone restart: always diff --git a/DockerComposeShells/env.example b/DockerComposeShells/env.example index 1c90be0..8b4c3db 100644 --- a/DockerComposeShells/env.example +++ b/DockerComposeShells/env.example @@ -17,6 +17,9 @@ REDIS_PORT=30712 POSTGRES_PORT=5432 POSTGRES_PASSWORD=JiShe!aqG#5kGgh&0 POSTGRES_DB=jisheiotprodb +POSTGRES_USER=postgres +POSTGRES_CONTAINER=postgres +POSTGRES_BACKUP_DIR=/mnt/dockerdata/appservice/postgresql/backup # Admin API配置 ADMIN_API_PORT=28080 diff --git a/DockerComposeShells/postgresql/init/01-jisheiotprodb.sql b/DockerComposeShells/postgresql/init/01-jisheiotprodb.sql new file mode 100644 index 0000000..d766ff6 --- /dev/null +++ b/DockerComposeShells/postgresql/init/01-jisheiotprodb.sql @@ -0,0 +1,5748 @@ +-- +-- PostgreSQL database dump +-- + +\restrict f8FK7UocFp9nzTPzZE6Tnrmv2dZp3kKAB4z8Mf1pn1gjculYxc5ntZQAcMZLCPx + +-- Dumped from database version 18.1 +-- Dumped by pg_dump version 18.1 + +SET statement_timeout = 0; +SET lock_timeout = 0; +SET idle_in_transaction_session_timeout = 0; +SET transaction_timeout = 0; +SET client_encoding = 'UTF8'; +SET standard_conforming_strings = on; +SELECT pg_catalog.set_config('search_path', '', false); +SET check_function_bodies = false; +SET xmloption = content; +SET client_min_messages = warning; +SET row_security = off; + +SET default_tablespace = ''; + +SET default_table_access_method = heap; + +-- +-- Name: AbpAuditLogActions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpAuditLogActions" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "AuditLogId" uuid NOT NULL, + "ServiceName" character varying(256), + "MethodName" character varying(128), + "Parameters" character varying(2000), + "ExecutionTime" timestamp with time zone NOT NULL, + "ExecutionDuration" integer NOT NULL, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpAuditLogActions" OWNER TO postgres; + +-- +-- Name: AbpAuditLogExcelFiles; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpAuditLogExcelFiles" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "FileName" character varying(256), + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid +); + + +ALTER TABLE public."AbpAuditLogExcelFiles" OWNER TO postgres; + +-- +-- Name: AbpAuditLogs; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpAuditLogs" ( + "Id" uuid NOT NULL, + "ApplicationName" character varying(96), + "UserId" uuid, + "UserName" character varying(256), + "TenantId" uuid, + "TenantName" character varying(64), + "ImpersonatorUserId" uuid, + "ImpersonatorUserName" character varying(256), + "ImpersonatorTenantId" uuid, + "ImpersonatorTenantName" character varying(64), + "ExecutionTime" timestamp with time zone NOT NULL, + "ExecutionDuration" integer NOT NULL, + "ClientIpAddress" character varying(64), + "ClientName" character varying(128), + "ClientId" character varying(64), + "CorrelationId" character varying(64), + "BrowserInfo" character varying(512), + "HttpMethod" character varying(16), + "Url" character varying(256), + "Exceptions" text, + "Comments" character varying(256), + "HttpStatusCode" integer, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL +); + + +ALTER TABLE public."AbpAuditLogs" OWNER TO postgres; + +-- +-- Name: AbpBackgroundJobs; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpBackgroundJobs" ( + "Id" uuid NOT NULL, + "ApplicationName" character varying(96), + "JobName" character varying(128) NOT NULL, + "JobArgs" character varying(1048576) NOT NULL, + "TryCount" smallint DEFAULT 0 NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "NextTryTime" timestamp with time zone NOT NULL, + "LastTryTime" timestamp with time zone, + "IsAbandoned" boolean DEFAULT false NOT NULL, + "Priority" smallint DEFAULT 15 NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL +); + + +ALTER TABLE public."AbpBackgroundJobs" OWNER TO postgres; + +-- +-- Name: AbpClaimTypes; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpClaimTypes" ( + "Id" uuid NOT NULL, + "Name" character varying(256) NOT NULL, + "Required" boolean NOT NULL, + "IsStatic" boolean NOT NULL, + "Regex" character varying(512), + "RegexDescription" character varying(128), + "Description" character varying(256), + "ValueType" integer NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL +); + + +ALTER TABLE public."AbpClaimTypes" OWNER TO postgres; + +-- +-- Name: AbpDataDictionaries; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpDataDictionaries" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "Code" character varying(256) NOT NULL, + "DisplayText" character varying(256) NOT NULL, + "Description" character varying(1024) NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpDataDictionaries" OWNER TO postgres; + +-- +-- Name: TABLE "AbpDataDictionaries"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpDataDictionaries" IS '数据字典'; + + +-- +-- Name: AbpDataDictionaryDetails; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpDataDictionaryDetails" ( + "Id" uuid NOT NULL, + "DataDictionaryId" uuid NOT NULL, + "Code" character varying(256) NOT NULL, + "Order" integer NOT NULL, + "DisplayText" character varying(256), + "Description" character varying(1024), + "IsEnabled" boolean NOT NULL, + "ExtendedAttribute" character varying(256), + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid +); + + +ALTER TABLE public."AbpDataDictionaryDetails" OWNER TO postgres; + +-- +-- Name: TABLE "AbpDataDictionaryDetails"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpDataDictionaryDetails" IS '数据字典详情'; + + +-- +-- Name: AbpEntityChanges; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpEntityChanges" ( + "Id" uuid NOT NULL, + "AuditLogId" uuid NOT NULL, + "TenantId" uuid, + "ChangeTime" timestamp with time zone NOT NULL, + "ChangeType" smallint NOT NULL, + "EntityTenantId" uuid, + "EntityId" character varying(128), + "EntityTypeFullName" character varying(128) NOT NULL, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpEntityChanges" OWNER TO postgres; + +-- +-- Name: AbpEntityPropertyChanges; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpEntityPropertyChanges" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "EntityChangeId" uuid NOT NULL, + "NewValue" character varying(512), + "OriginalValue" character varying(512), + "PropertyName" character varying(128) NOT NULL, + "PropertyTypeFullName" character varying(64) NOT NULL +); + + +ALTER TABLE public."AbpEntityPropertyChanges" OWNER TO postgres; + +-- +-- Name: AbpFeatureGroups; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpFeatureGroups" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "DisplayName" character varying(256) NOT NULL, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpFeatureGroups" OWNER TO postgres; + +-- +-- Name: AbpFeatureValues; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpFeatureValues" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "Value" character varying(128) NOT NULL, + "ProviderName" character varying(64), + "ProviderKey" character varying(64) +); + + +ALTER TABLE public."AbpFeatureValues" OWNER TO postgres; + +-- +-- Name: AbpFeatures; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpFeatures" ( + "Id" uuid NOT NULL, + "GroupName" character varying(128) NOT NULL, + "Name" character varying(128) NOT NULL, + "ParentName" character varying(128), + "DisplayName" character varying(256) NOT NULL, + "Description" character varying(256), + "DefaultValue" character varying(256), + "IsVisibleToClients" boolean NOT NULL, + "IsAvailableToHost" boolean NOT NULL, + "AllowedProviders" character varying(256), + "ValueType" character varying(2048), + "ExtraProperties" text +); + + +ALTER TABLE public."AbpFeatures" OWNER TO postgres; + +-- +-- Name: AbpFileObjects; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpFileObjects" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "FileName" character varying(128) NOT NULL, + "FileSize" bigint NOT NULL, + "ContentType" character varying(128) NOT NULL, + "Md5Hash" character varying(50) NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpFileObjects" OWNER TO postgres; + +-- +-- Name: TABLE "AbpFileObjects"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpFileObjects" IS '文件管理'; + + +-- +-- Name: COLUMN "AbpFileObjects"."FileName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpFileObjects"."FileName" IS '文件名称'; + + +-- +-- Name: COLUMN "AbpFileObjects"."FileSize"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpFileObjects"."FileSize" IS '文件大小'; + + +-- +-- Name: COLUMN "AbpFileObjects"."ContentType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpFileObjects"."ContentType" IS '文件名称'; + + +-- +-- Name: COLUMN "AbpFileObjects"."Md5Hash"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpFileObjects"."Md5Hash" IS '文件MD5'; + + +-- +-- Name: AbpLanguageTexts; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpLanguageTexts" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "CultureName" character varying(128) NOT NULL, + "ResourceName" character varying(128) NOT NULL, + "Name" character varying(256) NOT NULL, + "Value" character varying(256) NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpLanguageTexts" OWNER TO postgres; + +-- +-- Name: TABLE "AbpLanguageTexts"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpLanguageTexts" IS '语言文本管理'; + + +-- +-- Name: COLUMN "AbpLanguageTexts"."CultureName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguageTexts"."CultureName" IS '语言名称'; + + +-- +-- Name: COLUMN "AbpLanguageTexts"."ResourceName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguageTexts"."ResourceName" IS '资源名称'; + + +-- +-- Name: COLUMN "AbpLanguageTexts"."Name"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguageTexts"."Name" IS '名称'; + + +-- +-- Name: COLUMN "AbpLanguageTexts"."Value"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguageTexts"."Value" IS '值'; + + +-- +-- Name: AbpLanguages; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpLanguages" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "CultureName" character varying(128) NOT NULL, + "UiCultureName" character varying(128) NOT NULL, + "DisplayName" character varying(128) NOT NULL, + "FlagIcon" character varying(128), + "IsEnabled" boolean NOT NULL, + "IsDefault" boolean NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpLanguages" OWNER TO postgres; + +-- +-- Name: TABLE "AbpLanguages"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpLanguages" IS '语言管理'; + + +-- +-- Name: COLUMN "AbpLanguages"."CultureName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguages"."CultureName" IS '语言名称'; + + +-- +-- Name: COLUMN "AbpLanguages"."UiCultureName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguages"."UiCultureName" IS 'Ui语言名称'; + + +-- +-- Name: COLUMN "AbpLanguages"."DisplayName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguages"."DisplayName" IS '显示名称'; + + +-- +-- Name: COLUMN "AbpLanguages"."FlagIcon"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."AbpLanguages"."FlagIcon" IS '图标'; + + +-- +-- Name: AbpLinkUsers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpLinkUsers" ( + "Id" uuid NOT NULL, + "SourceUserId" uuid NOT NULL, + "SourceTenantId" uuid, + "TargetUserId" uuid NOT NULL, + "TargetTenantId" uuid +); + + +ALTER TABLE public."AbpLinkUsers" OWNER TO postgres; + +-- +-- Name: AbpNotificationSubscriptions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpNotificationSubscriptions" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "NotificationId" uuid NOT NULL, + "ReceiveUserId" uuid NOT NULL, + "ReceiveUserName" character varying(128), + "Read" boolean NOT NULL, + "ReadTime" timestamp with time zone NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpNotificationSubscriptions" OWNER TO postgres; + +-- +-- Name: TABLE "AbpNotificationSubscriptions"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpNotificationSubscriptions" IS '消息订阅者'; + + +-- +-- Name: AbpNotifications; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpNotifications" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "Title" character varying(128) NOT NULL, + "Content" character varying(1024) NOT NULL, + "MessageType" integer NOT NULL, + "MessageLevel" integer NOT NULL, + "SenderUserId" uuid NOT NULL, + "SenderUserName" character varying(128) NOT NULL, + "ReceiveUserId" uuid, + "ReceiveUserName" character varying(128), + "Read" boolean NOT NULL, + "ReadTime" timestamp with time zone, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpNotifications" OWNER TO postgres; + +-- +-- Name: TABLE "AbpNotifications"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."AbpNotifications" IS '消息通知管理'; + + +-- +-- Name: AbpOrganizationUnitRoles; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpOrganizationUnitRoles" ( + "RoleId" uuid NOT NULL, + "OrganizationUnitId" uuid NOT NULL, + "TenantId" uuid, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid +); + + +ALTER TABLE public."AbpOrganizationUnitRoles" OWNER TO postgres; + +-- +-- Name: AbpOrganizationUnits; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpOrganizationUnits" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "ParentId" uuid, + "Code" character varying(95) NOT NULL, + "DisplayName" character varying(128) NOT NULL, + "EntityVersion" integer NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpOrganizationUnits" OWNER TO postgres; + +-- +-- Name: AbpPermissionGrants; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpPermissionGrants" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "Name" character varying(128) NOT NULL, + "ProviderName" character varying(64) NOT NULL, + "ProviderKey" character varying(64) NOT NULL +); + + +ALTER TABLE public."AbpPermissionGrants" OWNER TO postgres; + +-- +-- Name: AbpPermissionGroups; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpPermissionGroups" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "DisplayName" character varying(256) NOT NULL, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpPermissionGroups" OWNER TO postgres; + +-- +-- Name: AbpPermissions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpPermissions" ( + "Id" uuid NOT NULL, + "GroupName" character varying(128) NOT NULL, + "Name" character varying(128) NOT NULL, + "ParentName" character varying(128), + "DisplayName" character varying(256) NOT NULL, + "IsEnabled" boolean NOT NULL, + "MultiTenancySide" smallint NOT NULL, + "Providers" character varying(128), + "StateCheckers" character varying(256), + "ExtraProperties" text +); + + +ALTER TABLE public."AbpPermissions" OWNER TO postgres; + +-- +-- Name: AbpRoleClaims; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpRoleClaims" ( + "Id" uuid NOT NULL, + "RoleId" uuid NOT NULL, + "TenantId" uuid, + "ClaimType" character varying(256) NOT NULL, + "ClaimValue" character varying(1024) +); + + +ALTER TABLE public."AbpRoleClaims" OWNER TO postgres; + +-- +-- Name: AbpRoles; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpRoles" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "Name" character varying(256) NOT NULL, + "NormalizedName" character varying(256) NOT NULL, + "IsDefault" boolean NOT NULL, + "IsStatic" boolean NOT NULL, + "IsPublic" boolean NOT NULL, + "EntityVersion" integer NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL +); + + +ALTER TABLE public."AbpRoles" OWNER TO postgres; + +-- +-- Name: AbpSecurityLogs; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpSecurityLogs" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "ApplicationName" character varying(96), + "Identity" character varying(96), + "Action" character varying(96), + "UserId" uuid, + "UserName" character varying(256), + "TenantName" character varying(64), + "ClientId" character varying(64), + "CorrelationId" character varying(64), + "ClientIpAddress" character varying(64), + "BrowserInfo" character varying(512), + "CreationTime" timestamp with time zone NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL +); + + +ALTER TABLE public."AbpSecurityLogs" OWNER TO postgres; + +-- +-- Name: AbpSessions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpSessions" ( + "Id" uuid NOT NULL, + "SessionId" character varying(128) NOT NULL, + "Device" character varying(64) NOT NULL, + "DeviceInfo" character varying(256), + "TenantId" uuid, + "UserId" uuid NOT NULL, + "ClientId" character varying(64), + "IpAddresses" character varying(2048), + "SignedIn" timestamp with time zone NOT NULL, + "LastAccessed" timestamp with time zone, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpSessions" OWNER TO postgres; + +-- +-- Name: AbpSettingDefinitions; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpSettingDefinitions" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "DisplayName" character varying(256) NOT NULL, + "Description" character varying(512), + "DefaultValue" character varying(2048), + "IsVisibleToClients" boolean NOT NULL, + "Providers" character varying(1024), + "IsInherited" boolean NOT NULL, + "IsEncrypted" boolean NOT NULL, + "ExtraProperties" text +); + + +ALTER TABLE public."AbpSettingDefinitions" OWNER TO postgres; + +-- +-- Name: AbpSettings; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpSettings" ( + "Id" uuid NOT NULL, + "Name" character varying(128) NOT NULL, + "Value" character varying(2048) NOT NULL, + "ProviderName" character varying(64), + "ProviderKey" character varying(64) +); + + +ALTER TABLE public."AbpSettings" OWNER TO postgres; + +-- +-- Name: AbpTenantConnectionStrings; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpTenantConnectionStrings" ( + "TenantId" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "Value" character varying(1024) NOT NULL +); + + +ALTER TABLE public."AbpTenantConnectionStrings" OWNER TO postgres; + +-- +-- Name: AbpTenants; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpTenants" ( + "Id" uuid NOT NULL, + "Name" character varying(64) NOT NULL, + "NormalizedName" character varying(64) NOT NULL, + "EntityVersion" integer NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpTenants" OWNER TO postgres; + +-- +-- Name: AbpUserClaims; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserClaims" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "TenantId" uuid, + "ClaimType" character varying(256) NOT NULL, + "ClaimValue" character varying(1024) +); + + +ALTER TABLE public."AbpUserClaims" OWNER TO postgres; + +-- +-- Name: AbpUserDelegations; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserDelegations" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "SourceUserId" uuid NOT NULL, + "TargetUserId" uuid NOT NULL, + "StartTime" timestamp with time zone NOT NULL, + "EndTime" timestamp with time zone NOT NULL +); + + +ALTER TABLE public."AbpUserDelegations" OWNER TO postgres; + +-- +-- Name: AbpUserLogins; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserLogins" ( + "UserId" uuid NOT NULL, + "LoginProvider" character varying(64) NOT NULL, + "TenantId" uuid, + "ProviderKey" character varying(196) NOT NULL, + "ProviderDisplayName" character varying(128) +); + + +ALTER TABLE public."AbpUserLogins" OWNER TO postgres; + +-- +-- Name: AbpUserOrganizationUnits; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserOrganizationUnits" ( + "UserId" uuid NOT NULL, + "OrganizationUnitId" uuid NOT NULL, + "TenantId" uuid, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid +); + + +ALTER TABLE public."AbpUserOrganizationUnits" OWNER TO postgres; + +-- +-- Name: AbpUserRoles; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserRoles" ( + "UserId" uuid NOT NULL, + "RoleId" uuid NOT NULL, + "TenantId" uuid +); + + +ALTER TABLE public."AbpUserRoles" OWNER TO postgres; + +-- +-- Name: AbpUserTokens; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUserTokens" ( + "UserId" uuid NOT NULL, + "LoginProvider" character varying(64) NOT NULL, + "Name" character varying(128) NOT NULL, + "TenantId" uuid, + "Value" text +); + + +ALTER TABLE public."AbpUserTokens" OWNER TO postgres; + +-- +-- Name: AbpUsers; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."AbpUsers" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "UserName" character varying(256) NOT NULL, + "NormalizedUserName" character varying(256) NOT NULL, + "Name" character varying(64), + "Surname" character varying(64), + "Email" character varying(256) NOT NULL, + "NormalizedEmail" character varying(256) NOT NULL, + "EmailConfirmed" boolean DEFAULT false NOT NULL, + "PasswordHash" character varying(256), + "SecurityStamp" character varying(256) NOT NULL, + "IsExternal" boolean DEFAULT false NOT NULL, + "PhoneNumber" character varying(16), + "PhoneNumberConfirmed" boolean DEFAULT false NOT NULL, + "IsActive" boolean NOT NULL, + "TwoFactorEnabled" boolean DEFAULT false NOT NULL, + "LockoutEnd" timestamp with time zone, + "LockoutEnabled" boolean DEFAULT false NOT NULL, + "AccessFailedCount" integer DEFAULT 0 NOT NULL, + "ShouldChangePasswordOnNextLogin" boolean NOT NULL, + "EntityVersion" integer NOT NULL, + "LastPasswordChangeTime" timestamp with time zone, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."AbpUsers" OWNER TO postgres; + +-- +-- Name: ServiceProCTWingAccountInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProCTWingAccountInfo" ( + "Id" uuid NOT NULL, + "AccountName" character varying(128) NOT NULL, + "AccountId" character varying(50) NOT NULL, + "AppId" character varying(50) NOT NULL, + "AppKey" character varying(128) NOT NULL, + "AppSecret" character varying(128) NOT NULL, + "PlatformTenantId" character varying(128), + "CommunicationAddress" character varying(128), + "PhoneNumber" character varying(50) NOT NULL, + "ProductCount" integer NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProCTWingAccountInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProCTWingAccountInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProCTWingAccountInfo" IS 'CTWing账号信息'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."AccountName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."AccountName" IS '账号名称'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."AccountId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."AccountId" IS '账号ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."AppId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."AppId" IS '应用 ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."AppKey"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."AppKey" IS '应用 AppKey'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."AppSecret"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."AppSecret" IS '应用 AppSecret'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."PlatformTenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."PlatformTenantId" IS '平台租户ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."CommunicationAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."CommunicationAddress" IS '通讯服务地址'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."PhoneNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."PhoneNumber" IS '手机号码'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingAccountInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingAccountInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProCTWingPrivateProductInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProCTWingPrivateProductInfo" ( + "Id" uuid NOT NULL, + "CTWingAccountId" character varying(50) NOT NULL, + "AccountPhoneNumber" character varying(50) NOT NULL, + "CommunicationAddress" character varying(128) CONSTRAINT "ServiceProCTWingPrivateProductInf_CommunicationAddress_not_null" NOT NULL, + "MasterKey" character varying(256), + "FeatureAccesskey" character varying(256), + "IoTPlatformProductId" character varying(128), + "ProductName" character varying(128), + "Protocol" character varying(20), + "ProductDesc" character varying(128), + "ProductType" character varying(128), + "SecondaryType" character varying(128), + "ThirdType" character varying(128), + "NodeType" integer NOT NULL, + "AccessType" integer NOT NULL, + "NetworkType" integer NOT NULL, + "ProductProtocol" integer NOT NULL, + "AuthType" integer NOT NULL, + "DataEncryption" integer NOT NULL, + "TupIsThrough" integer NOT NULL, + "TupDeviceModel" character varying(128), + "DeviceCount" integer NOT NULL, + "ThingModelFileId" uuid, + "ThingModelFileName" character varying(256), + "IsEnabled" boolean NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProCTWingPrivateProductInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProCTWingPrivateProductInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProCTWingPrivateProductInfo" IS 'CTWing产品信息'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."CTWingAccountId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."CTWingAccountId" IS '账号ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."AccountPhoneNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."AccountPhoneNumber" IS '账户手机号'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."CommunicationAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."CommunicationAddress" IS '通讯服务地址'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."MasterKey"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."MasterKey" IS 'OpenAPI 通信主密钥'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."FeatureAccesskey"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."FeatureAccesskey" IS '设备访问密钥'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."IoTPlatformProductId" IS '产品ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ProductName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ProductName" IS '产品名称'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."Protocol"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."Protocol" IS '通讯协议'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ProductDesc"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ProductDesc" IS '必填,产品描述'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ProductType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ProductType" IS '一级分类名'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."SecondaryType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."SecondaryType" IS '二级分类名'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ThirdType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ThirdType" IS '三级分类名'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."TupDeviceModel"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."TupDeviceModel" IS '设备型号'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ThingModelFileId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ThingModelFileId" IS '物模型文件Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ThingModelFileName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ThingModelFileName" IS '物模型文件名称'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."IsEnabled"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."IsEnabled" IS '是否启用'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProCTWingPrivateProductInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProCTWingPrivateProductInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceFirmwareInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceFirmwareInfo" ( + "Id" uuid NOT NULL, + "IoTPlatform" integer NOT NULL, + "IoTPlatformProductId" character varying(50) NOT NULL, + "IoTPlatformProductName" character varying(256) NOT NULL, + "FirmwareVersion" character varying(50) NOT NULL, + "FirmwareFileId" uuid NOT NULL, + "FirmwareFileName" character varying(256) NOT NULL, + "FirmwareHashCode" character varying(256) NOT NULL, + "FirmwareLength" bigint NOT NULL, + "IsEnable" boolean NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceFirmwareInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceFirmwareInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceFirmwareInfo" IS '设备固件信息'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."IoTPlatform" IS '物联网平台类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."IoTPlatformProductName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."IoTPlatformProductName" IS '物联网平台中对应的产品名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."FirmwareVersion"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."FirmwareVersion" IS '固件版本'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."FirmwareFileId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."FirmwareFileId" IS '固件文件Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."FirmwareFileName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."FirmwareFileName" IS '固件文件名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."FirmwareHashCode"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."FirmwareHashCode" IS '固件哈希值'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."IsEnable"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."IsEnable" IS '是否启用'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceFirmwareInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceFirmwareInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceInfo" ( + "Id" uuid NOT NULL, + "DeviceName" character varying(128) NOT NULL, + "DeviceAddress" character varying(40) NOT NULL, + "IoTPlatform" integer NOT NULL, + "DeviceType" integer NOT NULL, + "IoTPlatformDeviceOpenInfo" character varying(128) NOT NULL, + "PlatformPassword" character varying(128) NOT NULL, + "IoTPlatformProductId" character varying(50) NOT NULL, + "IoTPlatformProductName" character varying(128) NOT NULL, + "IoTPlatformAccountId" character varying(50) NOT NULL, + "AccountPhoneNumber" character varying(50) NOT NULL, + "IoTPlatformResponse" text, + "IsPlatformPushSuccess" boolean NOT NULL, + "DeviceOnlineStatus" integer, + "LastOnlineTime" timestamp with time zone, + "LastOfflineTime" timestamp with time zone, + "DeviceSource" integer NOT NULL, + "IsNeedConfigDevicMdoel" boolean NOT NULL, + "DeviceThingModelDataId" uuid, + "FirmwareVersion" character varying(50), + "UpgradeDate" timestamp with time zone, + "SubDeviceCapacity" integer DEFAULT 64 NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceInfo" IS '设备信息'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceName" IS '设备名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceAddress" IS '设备地址'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatform" IS '物联网平台类型,默认没有指定'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceType" IS '设备类型,与业务系统无关,主要区分是网关设备、直连设备'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatformDeviceOpenInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatformDeviceOpenInfo" IS '物联网平台中对应的设备Id或者名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."PlatformPassword"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."PlatformPassword" IS '物联网平台设备密码'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatformProductName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatformProductName" IS '物联网平台中对应的产品Name'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatformAccountId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatformAccountId" IS '物联网平台中对应的账号Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."AccountPhoneNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."AccountPhoneNumber" IS '账户手机号'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IoTPlatformResponse"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IoTPlatformResponse" IS '物联网平台返回的响应信息'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IsPlatformPushSuccess"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IsPlatformPushSuccess" IS '物联网平台推送是否成功'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceOnlineStatus"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceOnlineStatus" IS '设备在线状态'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."LastOnlineTime"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."LastOnlineTime" IS '最后在线时间'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."LastOfflineTime"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."LastOfflineTime" IS '最后离线时间'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceSource"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceSource" IS '设备来源类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."IsNeedConfigDevicMdoel"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."IsNeedConfigDevicMdoel" IS '是否需要配置设备模型'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."DeviceThingModelDataId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."DeviceThingModelDataId" IS '设备物模型数据Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."FirmwareVersion"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."FirmwareVersion" IS '固件版本'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."UpgradeDate"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."UpgradeDate" IS '升级日期'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."SubDeviceCapacity"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."SubDeviceCapacity" IS '子设备容量'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceThingModelCommandInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceThingModelCommandInfo" ( + "Id" uuid NOT NULL, + "DeviceThingModelId" uuid CONSTRAINT "ServiceProDeviceThingModelCommandIn_DeviceThingModelId_not_null" NOT NULL, + "IoTPlatform" integer NOT NULL, + "IoTPlatformProductId" character varying(50) CONSTRAINT "ServiceProDeviceThingModelCommand_IoTPlatformProductId_not_null" NOT NULL, + "CommandName" character varying(256) NOT NULL, + "IssueCommand" character varying(512) NOT NULL, + "PropertyArray" character varying(1024) NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceThingModelCommandInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceThingModelCommandInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceThingModelCommandInfo" IS '设备端透传指令详情'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."DeviceThingModelId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."DeviceThingModelId" IS '设备端物模型Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."IoTPlatform" IS '物联网平台类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."CommandName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."CommandName" IS '指令名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."IssueCommand"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."IssueCommand" IS '完整的单个下发指令'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."PropertyArray"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."PropertyArray" IS '指令设备端物模型的属性名称集合,JSON格式字符串数组'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelCommandInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelCommandInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceThingModelManagement; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceThingModelManagement" ( + "Id" uuid NOT NULL, + "DeviceModelName" character varying(50) NOT NULL, + "IoTPlatform" integer NOT NULL, + "IoTPlatformProductId" character varying(50) CONSTRAINT "ServiceProDeviceThingModelManagem_IoTPlatformProductId_not_null" NOT NULL, + "ScriptName" character varying(64) NOT NULL, + "FunctionScript" text, + "FunctionAnalysisFlag" boolean CONSTRAINT "ServiceProDeviceThingModelManagem_FunctionAnalysisFlag_not_null" NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceThingModelManagement" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceThingModelManagement"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceThingModelManagement" IS '设备端物模型管理'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."DeviceModelName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."DeviceModelName" IS '设备端物模型名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."IoTPlatform" IS '物联网平台类型,默认没有指定'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."ScriptName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."ScriptName" IS '脚本函数名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."FunctionScript"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."FunctionScript" IS '脚本函数体'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."FunctionAnalysisFlag"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."FunctionAnalysisFlag" IS '函数解析标记,默认为false, 不能解析'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelManagement"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelManagement"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceThingModelPropertylInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceThingModelPropertylInfo" ( + "Id" uuid NOT NULL, + "DeviceThingModelId" uuid CONSTRAINT "ServiceProDeviceThingModelPropertyl_DeviceThingModelId_not_null" NOT NULL, + "IoTPlatform" integer NOT NULL, + "IoTPlatformProductId" character varying(50) CONSTRAINT "ServiceProDeviceThingModelPropert_IoTPlatformProductId_not_null" NOT NULL, + "IoTPlatformThingModelDataId" uuid CONSTRAINT "ServiceProDeviceThingModelP_IoTPlatformThingModelDataI_not_null" NOT NULL, + "FiledType" character varying(50) NOT NULL, + "IoTPlatformRawFieldName" character varying(64) CONSTRAINT "ServiceProDeviceThingModelProp_IoTPlatformRawFieldName_not_null" NOT NULL, + "IoTPlatformRawFieldDataType" character varying(20), + "StandardFieldName" character varying(64) CONSTRAINT "ServiceProDeviceThingModelPropertylI_StandardFieldName_not_null" NOT NULL, + "StandardFieldValueType" character varying(20) CONSTRAINT "ServiceProDeviceThingModelPrope_StandardFieldValueType_not_null" NOT NULL, + "StandardFieldDisplayName" character varying(64) CONSTRAINT "ServiceProDeviceThingModelPro_StandardFieldDisplayName_not_null" NOT NULL, + "IsValueNeedConvert" boolean CONSTRAINT "ServiceProDeviceThingModelPropertyl_IsValueNeedConvert_not_null" NOT NULL, + "NativeSkipNumber" integer CONSTRAINT "ServiceProDeviceThingModelPropertylIn_NativeSkipNumber_not_null" NOT NULL, + "NativeTakeNumber" integer CONSTRAINT "ServiceProDeviceThingModelPropertylIn_NativeTakeNumber_not_null" NOT NULL, + "ParsingSequence" integer CONSTRAINT "ServiceProDeviceThingModelPropertylInf_ParsingSequence_not_null" NOT NULL, + "ReversalSkipNumber" integer, + "ReversalTakeNumber" integer, + "ConcurrencyStamp" character varying(40) CONSTRAINT "ServiceProDeviceThingModelPropertylIn_ConcurrencyStamp_not_null" NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceThingModelPropertylInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceThingModelPropertylInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceThingModelPropertylInfo" IS '设备端物模型属性信息,是指设备端支持的属性或者事件'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."DeviceThingModelId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."DeviceThingModelId" IS '设备端物模型Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IoTPlatform" IS '物联网平台类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IoTPlatformThingModelDataId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IoTPlatformThingModelDataId" IS '系统中平台端物模型数据Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."FiledType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."FiledType" IS '物联网平台中对应产品物模型属性或者事件类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IoTPlatformRawFieldName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IoTPlatformRawFieldName" IS '物联网平台中对应的产品物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IoTPlatformRawFieldDataType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IoTPlatformRawFieldDataType" IS '物联网平台中对应的产品物模型属性或者事件数据类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."StandardFieldName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."StandardFieldName" IS '管理后台产品标准的物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."StandardFieldValueType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."StandardFieldValueType" IS '标准物模型字段值类型'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."StandardFieldDisplayName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."StandardFieldDisplayName" IS '管理后台产品标准的物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."IsValueNeedConvert"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."IsValueNeedConvert" IS '是否需要值类型转换'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."NativeSkipNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."NativeSkipNumber" IS '正序跳过数量'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."NativeTakeNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."NativeTakeNumber" IS '正序获取数量'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."ParsingSequence"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."ParsingSequence" IS '解析顺序,1234或者3412(高低反转)'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."ReversalSkipNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."ReversalSkipNumber" IS '反转跳过数量'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."ReversalTakeNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."ReversalTakeNumber" IS '反转获取数量'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceThingModelPropertylInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceThingModelPropertylInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProDeviceUpgradeRecord; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProDeviceUpgradeRecord" ( + "Id" uuid NOT NULL, + "DeviceDataId" uuid NOT NULL, + "DeviceName" character varying(50) NOT NULL, + "DeviceAddress" character varying(50) NOT NULL, + "OldFirmwareVersion" character varying(50) NOT NULL, + "NowFirmwareVersion" character varying(50) NOT NULL, + "UpgradeDate" timestamp with time zone NOT NULL, + "UpgradeSource" integer NOT NULL, + "UpgradeMessage" character varying(512) NOT NULL, + "UpgradeStatus" integer NOT NULL, + "UpgradeIdentifier" bigint NOT NULL, + "FirmwareSignature" character varying(50) NOT NULL, + "UpgradeResult" integer, + "UpgradeDescription" character varying(512) NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProDeviceUpgradeRecord" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProDeviceUpgradeRecord"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProDeviceUpgradeRecord" IS '设备升级记录'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."DeviceDataId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."DeviceDataId" IS '设备数据Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."DeviceName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."DeviceName" IS '设备名称'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."DeviceAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."DeviceAddress" IS '设备地址'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."OldFirmwareVersion"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."OldFirmwareVersion" IS '旧的固件版本'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."NowFirmwareVersion"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."NowFirmwareVersion" IS '当前固件版本'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeDate"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeDate" IS '升级日期'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeSource"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeSource" IS '升级来源'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeMessage"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeMessage" IS '升级信息'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeStatus"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeStatus" IS '升级状态'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeIdentifier"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeIdentifier" IS '升级标识符号'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."FirmwareSignature"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."FirmwareSignature" IS '签名校验值'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeResult"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeResult" IS '升级结果'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."UpgradeDescription"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."UpgradeDescription" IS '升级描述'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProDeviceUpgradeRecord"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProDeviceUpgradeRecord"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProIoTPlatformThingModelInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProIoTPlatformThingModelInfo" ( + "Id" uuid NOT NULL, + "IoTPlatform" integer NOT NULL, + "IoTPlatformProductId" character varying(50) CONSTRAINT "ServiceProIoTPlatformThingModelIn_IoTPlatformProductId_not_null" NOT NULL, + "FiledType" character varying(50) NOT NULL, + "IoTPlatformRawFieldName" character varying(64) CONSTRAINT "ServiceProIoTPlatformThingMode_IoTPlatformRawFieldName_not_null" NOT NULL, + "IoTPlatformRawFieldDataType" character varying(64), + "StandardFieldName" character varying(64) NOT NULL, + "StandardFieldValueType" character varying(20) CONSTRAINT "ServiceProIoTPlatformThingModel_StandardFieldValueType_not_null" NOT NULL, + "StandardFieldDisplayName" character varying(64) CONSTRAINT "ServiceProIoTPlatformThingMod_StandardFieldDisplayName_not_null" NOT NULL, + "IsValueNeedConvert" boolean NOT NULL, + "IsSpecialIdentifier" boolean CONSTRAINT "ServiceProIoTPlatformThingModelInf_IsSpecialIdentifier_not_null" NOT NULL, + "IoTPlatformRawFieldExtension" text, + "IsOperableIdentifier" boolean CONSTRAINT "ServiceProIoTPlatformThingModelIn_IsOperableIdentifier_not_null" NOT NULL, + "AccessMode" character varying(10) DEFAULT 'r'::character varying NOT NULL, + "IdentifierType" integer NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProIoTPlatformThingModelInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProIoTPlatformThingModelInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProIoTPlatformThingModelInfo" IS '平台端物模型信息'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IoTPlatform"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IoTPlatform" IS '物联网平台类型,默认没有指定'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IoTPlatformProductId" IS '物联网平台中对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."FiledType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."FiledType" IS '物联网平台中对应产品物模型属性或者事件类型'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldName" IS '物联网平台中对应的产品物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldDataType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldDataType" IS '物联网平台中对应的产品物模型属性或者事件数据类型'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."StandardFieldName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."StandardFieldName" IS '管理后台产品标准的物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."StandardFieldValueType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."StandardFieldValueType" IS '标准物模型字段值类型'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."StandardFieldDisplayName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."StandardFieldDisplayName" IS '管理后台产品标准的物模型属性或者事件名称'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IsValueNeedConvert"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IsValueNeedConvert" IS '是否需要值类型转换'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IsSpecialIdentifier"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IsSpecialIdentifier" IS '是否是特殊物模型标识符'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldExtension"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IoTPlatformRawFieldExtension" IS '物联网平台中对应产品物模型标识符扩展,结构体或者数组的时候,是参数的名称与长度的键值对,其他类型就是长度或者值范围'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IsOperableIdentifier"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IsOperableIdentifier" IS '是否可操作物模型标识符'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."AccessMode"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."AccessMode" IS '物模型标识符访问模式'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."IdentifierType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."IdentifierType" IS '物模型标识符类型'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProIoTPlatformThingModelInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProIoTPlatformThingModelInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProMenus; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProMenus" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "ParentId" uuid, + "Name" character varying(128) NOT NULL, + "Title" character varying(128) NOT NULL, + "DisplayTitle" character varying(128), + "Icon" text, + "KeepAlive" boolean NOT NULL, + "HideInMenu" boolean NOT NULL, + "Order" integer NOT NULL, + "Path" character varying(512) NOT NULL, + "MenuType" integer NOT NULL, + "OpenType" integer NOT NULL, + "Url" text, + "Component" character varying(512), + "Policy" character varying(128), + "Enabled" boolean NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."ServiceProMenus" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProMenus"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProMenus" IS '动态菜单管理'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Name"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Name" IS '唯一编码'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Title"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Title" IS '标题'; + + +-- +-- Name: COLUMN "ServiceProMenus"."DisplayTitle"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."DisplayTitle" IS '标准多语言'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Icon"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Icon" IS '图标'; + + +-- +-- Name: COLUMN "ServiceProMenus"."KeepAlive"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."KeepAlive" IS '是否缓存'; + + +-- +-- Name: COLUMN "ServiceProMenus"."HideInMenu"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."HideInMenu" IS '是否显示'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Order"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Order" IS '排序'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Path"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Path" IS '路由/接口地址'; + + +-- +-- Name: COLUMN "ServiceProMenus"."MenuType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."MenuType" IS '菜单类型'; + + +-- +-- Name: COLUMN "ServiceProMenus"."OpenType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."OpenType" IS '打开类型'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Url"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Url" IS '内外链地址'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Component"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Component" IS '组件地址'; + + +-- +-- Name: COLUMN "ServiceProMenus"."Policy"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProMenus"."Policy" IS '授权策略名称'; + + +-- +-- Name: ServiceProOneNETAccountInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProOneNETAccountInfo" ( + "Id" uuid NOT NULL, + "AccountName" character varying(128) NOT NULL, + "OneNETAccountId" character varying(50) NOT NULL, + "PhoneNumber" character varying(50) NOT NULL, + "AccountAccesskey" character varying(1024) NOT NULL, + "ProductCount" integer NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProOneNETAccountInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProOneNETAccountInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProOneNETAccountInfo" IS 'OneNET账号管理'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."AccountName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."AccountName" IS '账号名称'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."OneNETAccountId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."OneNETAccountId" IS '账户Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."PhoneNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."PhoneNumber" IS '手机号码'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."AccountAccesskey"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."AccountAccesskey" IS '账户通信密钥,平台可以重置密钥'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."ProductCount"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."ProductCount" IS '产品数量'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETAccountInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETAccountInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProOneNETProductInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProOneNETProductInfo" ( + "Id" uuid NOT NULL, + "OneNETAccountId" character varying(50) NOT NULL, + "AccountPhoneNumber" character varying(50), + "IoTPlatformProductId" character varying(50) NOT NULL, + "ProductName" character varying(128), + "ProductAccesskey" character varying(1024) NOT NULL, + "ThingModelFileId" uuid, + "ThingModelFileName" character varying(256), + "IsEnabled" boolean NOT NULL, + "AccessProtocol" integer NOT NULL, + "DataProtocol" integer NOT NULL, + "NodeType" integer NOT NULL, + "ProductCreateTime" timestamp with time zone, + "ProductUpdateTime" timestamp with time zone, + "Network" character varying(256), + "Manufacturer" character varying(256), + "Model" character varying(256), + "Brand" character varying(256), + "Status" integer NOT NULL, + "OwnDeviceCount" integer NOT NULL, + "OnlineDeviceCount" integer NOT NULL, + "OfflineDeviceCount" integer NOT NULL, + "NotActiveDeviceCount" integer NOT NULL, + "CommunicationAddress" character varying(256), + "CommunicationAddressTLS" character varying(256), + "ThingModelInfos" text, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProOneNETProductInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProOneNETProductInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProOneNETProductInfo" IS 'OneNET产品管理'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OneNETAccountId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OneNETAccountId" IS '账户Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."AccountPhoneNumber"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."AccountPhoneNumber" IS '账户手机号'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."IoTPlatformProductId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."IoTPlatformProductId" IS '物联网平台对应的产品Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ProductName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ProductName" IS '产品名称'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ProductAccesskey"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ProductAccesskey" IS '产品访问密钥'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ThingModelFileId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ThingModelFileId" IS '物模型文件Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ThingModelFileName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ThingModelFileName" IS '物模型文件名称'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."AccessProtocol"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."AccessProtocol" IS '接入协议'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."DataProtocol"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."DataProtocol" IS '数据协议'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."NodeType"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."NodeType" IS '节点类型'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ProductCreateTime"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ProductCreateTime" IS '产品创建时间'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ProductUpdateTime"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ProductUpdateTime" IS '最近修改时间'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Network"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Network" IS '联网方式'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Manufacturer"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Manufacturer" IS '产品厂商'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Model"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Model" IS '产品型号'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Brand"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Brand" IS '产品品牌'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Status"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Status" IS '开发状态'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OwnDeviceCount"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OwnDeviceCount" IS '自有设备总数'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OnlineDeviceCount"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OnlineDeviceCount" IS '在线设备总数'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OfflineDeviceCount"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OfflineDeviceCount" IS '离线设备数'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."NotActiveDeviceCount"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."NotActiveDeviceCount" IS '未激活设备数'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."CommunicationAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."CommunicationAddress" IS '通讯服务地址'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."CommunicationAddressTLS"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."CommunicationAddressTLS" IS 'TLS通讯服务地址'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ThingModelInfos"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ThingModelInfos" IS '平台物模型信息'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProOneNETProductInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProOneNETProductInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProSubDeviceManagementInfo; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProSubDeviceManagementInfo" ( + "Id" uuid NOT NULL, + "DeviceDataId" uuid NOT NULL, + "DeviceAddress" character varying(40) NOT NULL, + "SubDeviceName" character varying(128) NOT NULL, + "SubDeviceAddress" character varying(40) NOT NULL, + "SubDeviceIndex" integer NOT NULL, + "SubDeviceBrandCode" character varying(50) NOT NULL, + "IsSynced" boolean NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone, + "TenantId" uuid, + "Remark" text, + "OSACreatorId" integer, + "OSALastModifierId" integer, + "OSADeleterId" integer, + "ExtraProperties" text +); + + +ALTER TABLE public."ServiceProSubDeviceManagementInfo" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProSubDeviceManagementInfo"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProSubDeviceManagementInfo" IS '子设备信息,需要下发配置的网关设备才用到'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."DeviceDataId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."DeviceDataId" IS '网关设备或直连设备数据Id'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."DeviceAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."DeviceAddress" IS '网关设备或直连设备地址'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."SubDeviceName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."SubDeviceName" IS '子设备名称'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."SubDeviceAddress"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."SubDeviceAddress" IS '子设备地址'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."SubDeviceIndex"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."SubDeviceIndex" IS '子设备索引,抑或是主设备下唯一标识符、计量代码'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."SubDeviceBrandCode"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."SubDeviceBrandCode" IS '子设备品牌编码'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."IsSynced"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."IsSynced" IS '是否同步'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."TenantId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."TenantId" IS '租户ID'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."Remark"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."Remark" IS '备注'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."OSACreatorId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."OSACreatorId" IS '旧系统授权创建者Id'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."OSALastModifierId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."OSALastModifierId" IS '旧系统授权最后修改者Id'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."OSADeleterId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."OSADeleterId" IS '旧系统授权最后删除者Id'; + + +-- +-- Name: COLUMN "ServiceProSubDeviceManagementInfo"."ExtraProperties"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProSubDeviceManagementInfo"."ExtraProperties" IS '扩展属性,用于存储自定义字段,JSON格式'; + + +-- +-- Name: ServiceProTextTemplates; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProTextTemplates" ( + "Id" uuid NOT NULL, + "TenantId" uuid, + "Name" character varying(128) NOT NULL, + "Code" character varying(128) NOT NULL, + "Content" character varying(1024) NOT NULL, + "CultureName" character varying(128) NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."ServiceProTextTemplates" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProTextTemplates"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProTextTemplates" IS '模板管理'; + + +-- +-- Name: COLUMN "ServiceProTextTemplates"."Name"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProTextTemplates"."Name" IS '名称'; + + +-- +-- Name: COLUMN "ServiceProTextTemplates"."Code"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProTextTemplates"."Code" IS '编码'; + + +-- +-- Name: COLUMN "ServiceProTextTemplates"."Content"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProTextTemplates"."Content" IS '内容'; + + +-- +-- Name: COLUMN "ServiceProTextTemplates"."CultureName"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProTextTemplates"."CultureName" IS '语言'; + + +-- +-- Name: ServiceProUserRefreshTokens; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."ServiceProUserRefreshTokens" ( + "Id" uuid NOT NULL, + "UserId" uuid NOT NULL, + "TenantId" uuid, + "RefreshToken" character varying(128) NOT NULL, + "Token" character varying(1024) NOT NULL, + "IsUsed" boolean NOT NULL, + "ExpirationTime" timestamp with time zone NOT NULL, + "ExtraProperties" text NOT NULL, + "ConcurrencyStamp" character varying(40) NOT NULL, + "CreationTime" timestamp with time zone NOT NULL, + "CreatorId" uuid, + "LastModificationTime" timestamp with time zone, + "LastModifierId" uuid, + "IsDeleted" boolean DEFAULT false NOT NULL, + "DeleterId" uuid, + "DeletionTime" timestamp with time zone +); + + +ALTER TABLE public."ServiceProUserRefreshTokens" OWNER TO postgres; + +-- +-- Name: TABLE "ServiceProUserRefreshTokens"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON TABLE public."ServiceProUserRefreshTokens" IS '刷新Token'; + + +-- +-- Name: COLUMN "ServiceProUserRefreshTokens"."UserId"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProUserRefreshTokens"."UserId" IS '用户id'; + + +-- +-- Name: COLUMN "ServiceProUserRefreshTokens"."RefreshToken"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProUserRefreshTokens"."RefreshToken" IS '刷新token'; + + +-- +-- Name: COLUMN "ServiceProUserRefreshTokens"."Token"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProUserRefreshTokens"."Token" IS 'Token'; + + +-- +-- Name: COLUMN "ServiceProUserRefreshTokens"."IsUsed"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProUserRefreshTokens"."IsUsed" IS '是否使用'; + + +-- +-- Name: COLUMN "ServiceProUserRefreshTokens"."ExpirationTime"; Type: COMMENT; Schema: public; Owner: postgres +-- + +COMMENT ON COLUMN public."ServiceProUserRefreshTokens"."ExpirationTime" IS '过期时间'; + + +-- +-- Name: __EFMigrationsHistory; Type: TABLE; Schema: public; Owner: postgres +-- + +CREATE TABLE public."__EFMigrationsHistory" ( + "MigrationId" character varying(150) NOT NULL, + "ProductVersion" character varying(32) NOT NULL +); + + +ALTER TABLE public."__EFMigrationsHistory" OWNER TO postgres; + +-- +-- Data for Name: AbpAuditLogActions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpAuditLogActions" ("Id", "TenantId", "AuditLogId", "ServiceName", "MethodName", "Parameters", "ExecutionTime", "ExecutionDuration", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: AbpAuditLogExcelFiles; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpAuditLogExcelFiles" ("Id", "TenantId", "FileName", "CreationTime", "CreatorId") FROM stdin; +\. + + +-- +-- Data for Name: AbpAuditLogs; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpAuditLogs" ("Id", "ApplicationName", "UserId", "UserName", "TenantId", "TenantName", "ImpersonatorUserId", "ImpersonatorUserName", "ImpersonatorTenantId", "ImpersonatorTenantName", "ExecutionTime", "ExecutionDuration", "ClientIpAddress", "ClientName", "ClientId", "CorrelationId", "BrowserInfo", "HttpMethod", "Url", "Exceptions", "Comments", "HttpStatusCode", "ExtraProperties", "ConcurrencyStamp") FROM stdin; +\. + + +-- +-- Data for Name: AbpBackgroundJobs; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpBackgroundJobs" ("Id", "ApplicationName", "JobName", "JobArgs", "TryCount", "CreationTime", "NextTryTime", "LastTryTime", "IsAbandoned", "Priority", "ExtraProperties", "ConcurrencyStamp") FROM stdin; +\. + + +-- +-- Data for Name: AbpClaimTypes; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpClaimTypes" ("Id", "Name", "Required", "IsStatic", "Regex", "RegexDescription", "Description", "ValueType", "CreationTime", "ExtraProperties", "ConcurrencyStamp") FROM stdin; +\. + + +-- +-- Data for Name: AbpDataDictionaries; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpDataDictionaries" ("Id", "TenantId", "Code", "DisplayText", "Description", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +3a1f0a5d-d158-c708-c44c-fa4b58917146 \N PowerEquipmentThingModelProperty 电力设备物模型属性类型 PowerEquipmentThingModelProperty {} 0019e94d8d5d4e01a2fbc1f83d33e0d8 2026-01-26 02:45:17.81751+08 \N 2026-01-26 02:45:17.896189+08 \N f \N \N +3a1f0a5d-da51-1ebd-676e-f63e34176a50 \N PowerEquipmentThingModelEvent 电力设备物模型事件类型 PowerEquipmentThingModelEvent {} 0a404366360a450fbb849a930f761924 2026-01-26 02:45:20.084524+08 \N 2026-01-26 02:45:20.097882+08 \N f \N \N +3a1f0a5d-e184-1f10-3aa5-326a3b39566c \N FluidThingModelProperty 流体设备物模型属性类型 FluidThingModelProperty {} aa7dcba9c8ff4b0a9cc1210bce9f81d4 2026-01-26 02:45:21.92483+08 \N 2026-01-26 02:45:21.944899+08 \N f \N \N +3a1f0a5d-e371-082c-3e0d-b833db5f5fad \N FluidThingModelEvent 流体设备物模型事件类型 FluidThingModelEvent {} 5c524bc3a71244759bf8059b75bf62a7 2026-01-26 02:45:22.418179+08 \N 2026-01-26 02:45:22.437335+08 \N f \N \N +\. + + +-- +-- Data for Name: AbpDataDictionaryDetails; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpDataDictionaryDetails" ("Id", "DataDictionaryId", "Code", "Order", "DisplayText", "Description", "IsEnabled", "ExtendedAttribute", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId") FROM stdin; +3a1f0a5d-d1b0-8635-03aa-8c65af4611af 3a1f0a5d-d158-c708-c44c-fa4b58917146 Gateway 1 网关地址 Gateway t STRING 2026-01-26 02:45:17.888711+08 \N \N \N +3a1f0a5d-d1d1-da2d-ed6b-e0043d7b15e4 3a1f0a5d-d158-c708-c44c-fa4b58917146 SubDevice 2 子设备地址 SubDevice t STRING 2026-01-26 02:45:17.906555+08 \N \N \N +3a1f0a5d-d1d9-7a15-c3ea-9fdd9ad109f5 3a1f0a5d-d158-c708-c44c-fa4b58917146 Time 3 时间戳 Time t INT64 2026-01-26 02:45:17.913743+08 \N \N \N +3a1f0a5d-d1df-44fb-5f2c-91e499032136 3a1f0a5d-d158-c708-c44c-fa4b58917146 SpecialCommand 4 特殊命令 SpecialCommand t STRUCT 2026-01-26 02:45:17.920059+08 \N \N \N +3a1f0a5d-d1e6-17b0-aec8-1d73add323f0 3a1f0a5d-d158-c708-c44c-fa4b58917146 ReadingInterval 5 抄读间隔 ReadingInterval t INT64 2026-01-26 02:45:17.926882+08 \N \N \N +3a1f0a5d-d1ec-b3e2-bf9f-2d7ad9ef9bad 3a1f0a5d-d158-c708-c44c-fa4b58917146 ReportInterval 6 上报间隔 ReportInterval t INT64 2026-01-26 02:45:17.933106+08 \N \N \N +3a1f0a5d-d1f2-e06e-303a-f5679c4bf719 3a1f0a5d-d158-c708-c44c-fa4b58917146 FIRMWARE_VERSION 7 设备固件版本 FIRMWARE_VERSION t STRING 2026-01-26 02:45:17.939155+08 \N \N \N +3a1f0a5d-d204-10fc-f934-047cae646fc7 3a1f0a5d-d158-c708-c44c-fa4b58917146 FIRMWARE_UPGRADE 8 固件版本升级 FIRMWARE_UPGRADE t STRING 2026-01-26 02:45:17.956499+08 \N \N \N +3a1f0a5d-d20b-69c6-8289-429c810865ee 3a1f0a5d-d158-c708-c44c-fa4b58917146 ReadingMode 9 抄读模式 ReadingMode t STRING 2026-01-26 02:45:17.963694+08 \N \N \N +3a1f0a5d-d212-04f3-c5e2-7bb098970dbb 3a1f0a5d-d158-c708-c44c-fa4b58917146 HARDWARE_VERSION 10 设备硬件版本 HARDWARE_VERSION t STRING 2026-01-26 02:45:17.970657+08 \N \N \N +3a1f0a5d-d21a-b5ec-6b8a-05c7b485a24d 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_TOT_FWD 10 正向有功总电能量 ACTIVE_POWER_TOTAL_FORWARD t DOUBLE 2026-01-26 02:45:17.978552+08 \N \N \N +3a1f0a5d-d221-86cb-93bc-3650974b4695 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_TOT_FWD 11 正向无功总电能量曲线 REACTIVE_POWER_TOTAL_FORWARD t DOUBLE 2026-01-26 02:45:17.985828+08 \N \N \N +3a1f0a5d-d229-a865-fdd2-07ed52d42aca 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_TOT_REV 12 反向有功总电能量曲线 ACTIVE_POWER_TOTAL_REVERSE t DOUBLE 2026-01-26 02:45:17.99353+08 \N \N \N +3a1f0a5d-d230-21cf-da8b-75a73b96693e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_TOT_REV 13 反向无功总电能量曲线 REACTIVE_POWER_TOTAL_REVERSE t DOUBLE 2026-01-26 02:45:18.000623+08 \N \N \N +3a1f0a5d-d237-b483-7812-bef7068ed327 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_RDG_FWD 14 正向有功总电能示值曲线 ACTIVE_ENERGY_READING_FORWARD t DOUBLE 2026-01-26 02:45:18.008072+08 \N \N \N +3a1f0a5d-d23e-de72-3606-4a660ee85b23 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_RDG_FWD 15 正向无功总电能示值曲线 REACTIVE_ENERGY_READING_FORWARD t DOUBLE 2026-01-26 02:45:18.015142+08 \N \N \N +3a1f0a5d-d246-435a-aeb1-b221edef6eae 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_RDG_REV 16 反向有功总电能示值曲线 ACTIVE_ENERGY_READING_REVERSE t DOUBLE 2026-01-26 02:45:18.023207+08 \N \N \N +3a1f0a5d-d24e-450e-f208-1f90ffba62c9 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_RDG_REV 17 反向无功总电能示值曲线 REACTIVE_ENERGY_READING_REVERSE t DOUBLE 2026-01-26 02:45:18.030323+08 \N \N \N +3a1f0a5d-d255-c819-c2a2-77862cb0e868 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q1 18 一象限无功总电能示值曲线 REACTIVE_ENERGY_QUADRANT_I t DOUBLE 2026-01-26 02:45:18.037811+08 \N \N \N +3a1f0a5d-d25d-cff4-7f22-08f737b17331 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q4 19 四象限无功总电能示值曲线 REACTIVE_ENERGY_QUADRANT_IV t DOUBLE 2026-01-26 02:45:18.045908+08 \N \N \N +3a1f0a5d-d265-c3d7-923f-3ade7bd7d32f 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q2 20 二象限无功总电能示值曲线 REACTIVE_ENERGY_QUADRANT_II t DOUBLE 2026-01-26 02:45:18.053798+08 \N \N \N +3a1f0a5d-d26d-2c73-373a-0047d3fce3a5 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q3 21 三象限无功总电能示值曲线 REACTIVE_ENERGY_QUADRANT_III t DOUBLE 2026-01-26 02:45:18.061415+08 \N \N \N +3a1f0a5d-d275-1362-765f-5fa98b182547 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q1_D 22 一象限无功总电能示值曲线(日) REACTIVE_ENERGY_QUADRANT_I_DAILY t DOUBLE 2026-01-26 02:45:18.069465+08 \N \N \N +3a1f0a5d-d280-f71e-cce4-868fd6049b3a 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q2_D 23 二象限无功总电能示值曲线(日) REACTIVE_ENERGY_QUADRANT_II_DAILY t DOUBLE 2026-01-26 02:45:18.080551+08 \N \N \N +3a1f0a5d-d288-6f51-ad9a-bf883c6aa0ab 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q3_D 24 三象限无功总电能示值曲线(日) REACTIVE_ENERGY_QUADRANT_III_DAILY t DOUBLE 2026-01-26 02:45:18.088612+08 \N \N \N +3a1f0a5d-d290-4312-7f4f-bc4c7cda222a 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q4_D 25 四象限无功总电能示值曲线(日) REACTIVE_ENERGY_QUADRANT_IV_DAILY t DOUBLE 2026-01-26 02:45:18.096618+08 \N \N \N +3a1f0a5d-d298-3070-cb41-8266a716bc83 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q1_M 26 一象限无功总电能示值曲线(月) REACTIVE_ENERGY_QUADRANT_I_MONTHLY t DOUBLE 2026-01-26 02:45:18.104627+08 \N \N \N +3a1f0a5d-d2a0-c3a4-5155-a5c379ad0a8e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q2_M 27 二象限无功总电能示值曲线(月) REACTIVE_ENERGY_QUADRANT_II_MONTHLY t DOUBLE 2026-01-26 02:45:18.112636+08 \N \N \N +3a1f0a5d-d2a8-91c3-93d5-250d3621bc8e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q3_M 28 三象限无功总电能示值曲线(月) REACTIVE_ENERGY_QUADRANT_III_MONTHLY t DOUBLE 2026-01-26 02:45:18.121069+08 \N \N \N +3a1f0a5d-d2b0-df12-d1af-73d40974e7cc 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_Q4_M 29 四象限无功总电能示值曲线(月) REACTIVE_ENERGY_QUADRANT_IV_MONTHLY t DOUBLE 2026-01-26 02:45:18.12926+08 \N \N \N +3a1f0a5d-d2b9-f0ac-2667-ed3dd169f0c6 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_CURVE 30 有功功率曲线 ACTIVE_POWER_CURVE t DOUBLE 2026-01-26 02:45:18.137451+08 \N \N \N +3a1f0a5d-d2c1-083e-563a-bbf26728e2e1 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_A 31 A相有功功率曲线 ACTIVE_POWER_PHASE_A t DOUBLE 2026-01-26 02:45:18.145853+08 \N \N \N +3a1f0a5d-d2c9-936f-ce3e-92e5d26c2131 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_B 32 B相有功功率曲线 ACTIVE_POWER_PHASE_B t DOUBLE 2026-01-26 02:45:18.153826+08 \N \N \N +3a1f0a5d-d2d1-5743-6d3e-5816c1baffdc 3a1f0a5d-d158-c708-c44c-fa4b58917146 AP_C 33 C相有功功率曲线 ACTIVE_POWER_PHASE_C t DOUBLE 2026-01-26 02:45:18.161918+08 \N \N \N +3a1f0a5d-d2d9-6022-6fb7-06df119d8717 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_CURVE 34 无功功率曲线 REACTIVE_POWER_CURVE t DOUBLE 2026-01-26 02:45:18.169821+08 \N \N \N +3a1f0a5d-d2e2-acfa-7243-22c6b2328384 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_A 35 A相无功功率曲线 REACTIVE_POWER_PHASE_A t DOUBLE 2026-01-26 02:45:18.178506+08 \N \N \N +3a1f0a5d-d2ec-250b-1dac-18532afc30a6 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_B 36 B相无功功率曲线 REACTIVE_POWER_PHASE_B t DOUBLE 2026-01-26 02:45:18.189357+08 \N \N \N +3a1f0a5d-d2f6-278f-bb33-5b035177859e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RP_C 37 C相无功功率曲线 REACTIVE_POWER_PHASE_C t DOUBLE 2026-01-26 02:45:18.198794+08 \N \N \N +3a1f0a5d-d300-0679-9bd9-4aa0352cc2ef 3a1f0a5d-d158-c708-c44c-fa4b58917146 PF_CURVE 38 功率因数曲线 POWER_FACTOR_CURVE t DOUBLE 2026-01-26 02:45:18.208824+08 \N \N \N +3a1f0a5d-d30a-9657-7acd-6b3ec67d7954 3a1f0a5d-d158-c708-c44c-fa4b58917146 PF_A 39 A相功率因数曲线 POWER_FACTOR_PHASE_A t DOUBLE 2026-01-26 02:45:18.218978+08 \N \N \N +3a1f0a5d-d313-b73a-44db-e72962a82e5b 3a1f0a5d-d158-c708-c44c-fa4b58917146 PF_B 40 B相功率因数曲线 POWER_FACTOR_PHASE_B t DOUBLE 2026-01-26 02:45:18.228182+08 \N \N \N +3a1f0a5d-d31d-cd05-3cdc-7992ef04d77b 3a1f0a5d-d158-c708-c44c-fa4b58917146 PF_C 41 C相功率因数曲线 POWER_FACTOR_PHASE_C t DOUBLE 2026-01-26 02:45:18.237432+08 \N \N \N +3a1f0a5d-d325-57e5-2a82-c48b16c206d8 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_A 42 A相电压曲线 VOLTAGE_PHASE_A t DOUBLE 2026-01-26 02:45:18.246112+08 \N \N \N +3a1f0a5d-d32e-7f3e-d145-54c4027755ea 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_B 43 B相电压曲线 VOLTAGE_PHASE_B t DOUBLE 2026-01-26 02:45:18.255278+08 \N \N \N +3a1f0a5d-d338-0470-1cb2-691f16afcdb8 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_C 44 C相电压曲线 VOLTAGE_PHASE_C t DOUBLE 2026-01-26 02:45:18.26504+08 \N \N \N +3a1f0a5d-d342-e398-86c0-1af4fd141424 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_A 45 A相电流曲线 CURRENT_PHASE_A t DOUBLE 2026-01-26 02:45:18.274415+08 \N \N \N +3a1f0a5d-d34a-d26c-e88d-7d3291c38416 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_B 46 B相电流曲线 CURRENT_PHASE_B t DOUBLE 2026-01-26 02:45:18.283331+08 \N \N \N +3a1f0a5d-d353-754c-5786-e7d4cf0d0889 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_C 47 C相电流曲线 CURRENT_PHASE_C t DOUBLE 2026-01-26 02:45:18.292323+08 \N \N \N +3a1f0a5d-d35d-6818-a72c-f4c485da9f4d 3a1f0a5d-d158-c708-c44c-fa4b58917146 FREQ 48 电网频率 GRID_FREQUENCY t DOUBLE 2026-01-26 02:45:18.301647+08 \N \N \N +3a1f0a5d-d366-21bf-5a83-fdb88d3fb575 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_PA_A 49 当前电压、电流相位角 VOLTAGE_PHASE_ANGLE_A t DOUBLE 2026-01-26 02:45:18.311015+08 \N \N \N +3a1f0a5d-d36f-96d4-d3fb-0feabd34339e 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_PA_B 50 当前电压、电流相位角 VOLTAGE_PHASE_ANGLE_B t DOUBLE 2026-01-26 02:45:18.319686+08 \N \N \N +3a1f0a5d-d378-4e70-d026-6ba4649ea79d 3a1f0a5d-d158-c708-c44c-fa4b58917146 U_PA_C 51 当前电压、电流相位角 VOLTAGE_PHASE_ANGLE_C t DOUBLE 2026-01-26 02:45:18.328943+08 \N \N \N +3a1f0a5d-d381-5194-0d78-519f05df5b04 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_PA_A 52 当前电压、电流相位角 CURRENT_PHASE_ANGLE_A t DOUBLE 2026-01-26 02:45:18.337764+08 \N \N \N +3a1f0a5d-d38a-bf6f-cc40-111bd093c21b 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_PA_B 53 当前电压、电流相位角 CURRENT_PHASE_ANGLE_B t DOUBLE 2026-01-26 02:45:18.346795+08 \N \N \N +3a1f0a5d-d395-60ca-a291-89eed3aca173 3a1f0a5d-d158-c708-c44c-fa4b58917146 I_PA_C 54 当前电压、电流相位角 CURRENT_PHASE_ANGLE_C t DOUBLE 2026-01-26 02:45:18.357882+08 \N \N \N +3a1f0a5d-d39e-bb19-e3d4-57f8f364c2c3 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD 55 日冻结正向有功电能示值 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD t DOUBLE 2026-01-26 02:45:18.367127+08 \N \N \N +3a1f0a5d-d3a9-2114-fcfb-a50652c80d07 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_P 56 日冻结正向有功电能示值-尖示值 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_PEAK t DOUBLE 2026-01-26 02:45:18.377612+08 \N \N \N +3a1f0a5d-d3b4-18cc-a404-435ac1b91eff 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_H 57 日冻结正向有功电能示值-峰示值 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_HIGH t DOUBLE 2026-01-26 02:45:18.389283+08 \N \N \N +3a1f0a5d-d3c0-b80a-f01c-e75502d44c17 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_N 58 日冻结正向有功电能示值-平示值 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_NORMAL t DOUBLE 2026-01-26 02:45:18.400624+08 \N \N \N +3a1f0a5d-d3d4-b061-8f00-0862511db275 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_V 59 日冻结正向有功电能示值-谷示值 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_VALLEY t DOUBLE 2026-01-26 02:45:18.420829+08 \N \N \N +3a1f0a5d-d3de-9042-9d5f-6f4618b75686 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_R5 60 日冻结正向有功电能示值-费率5 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_5 t DOUBLE 2026-01-26 02:45:18.430416+08 \N \N \N +3a1f0a5d-d3e6-0396-a04b-ad8b0db2d1a2 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_R6 61 日冻结正向有功电能示值-费率6 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_6 t DOUBLE 2026-01-26 02:45:18.439278+08 \N \N \N +3a1f0a5d-d3f0-0a26-38a3-c6378218bc05 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_R7 62 日冻结正向有功电能示值-费率7 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_7 t DOUBLE 2026-01-26 02:45:18.448534+08 \N \N \N +3a1f0a5d-d3fe-15f2-1eb5-3e14c044b72f 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_FWD_R8 63 日冻结正向有功电能示值-费率8 ACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_8 t DOUBLE 2026-01-26 02:45:18.46291+08 \N \N \N +3a1f0a5d-d40a-580a-c12a-83273fc691ba 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD 64 日冻结正向无功电能示值 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD t DOUBLE 2026-01-26 02:45:18.474621+08 \N \N \N +3a1f0a5d-d413-8088-a327-4b0630ef6d74 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R1 65 日冻结正向无功电能示值-费率1 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_1 t DOUBLE 2026-01-26 02:45:18.48414+08 \N \N \N +3a1f0a5d-d41d-d073-2674-4943bc0df71b 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R2 66 日冻结正向无功电能示值-费率2 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_2 t DOUBLE 2026-01-26 02:45:18.493964+08 \N \N \N +3a1f0a5d-d426-2cb1-bb01-a7b52be168a6 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R3 67 日冻结正向无功电能示值-费率3 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_3 t DOUBLE 2026-01-26 02:45:18.503001+08 \N \N \N +3a1f0a5d-d432-b326-215e-a631a3f9cc1d 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R4 68 日冻结正向无功电能示值-费率4 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_4 t DOUBLE 2026-01-26 02:45:18.515706+08 \N \N \N +3a1f0a5d-d441-9193-6cf3-55268939e0bc 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R5 69 日冻结正向无功电能示值-费率5 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_5 t DOUBLE 2026-01-26 02:45:18.530076+08 \N \N \N +3a1f0a5d-d44c-52ba-b01f-ff2bd598b16d 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R6 70 日冻结正向无功电能示值-费率6 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_6 t DOUBLE 2026-01-26 02:45:18.541383+08 \N \N \N +3a1f0a5d-d457-07f2-40b8-9a32a86f2f1e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R7 71 日冻结正向无功电能示值-费率7 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_7 t DOUBLE 2026-01-26 02:45:18.552024+08 \N \N \N +3a1f0a5d-d462-72f5-d41a-8da5054067d8 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_FWD_R8 72 日冻结正向无功电能示值-费率8 REACTIVE_ENERGY_DAILY_FREEZE_FORWARD_RATE_8 t DOUBLE 2026-01-26 02:45:18.56298+08 \N \N \N +3a1f0a5d-d46c-f4a3-af1f-a6af61f2b309 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV 73 日冻结反向有功电能示值 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE t DOUBLE 2026-01-26 02:45:18.57379+08 \N \N \N +3a1f0a5d-d477-4b00-6ce6-17150bd9c6d8 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R1 74 日冻结反向有功电能示值-费率1 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_1 t DOUBLE 2026-01-26 02:45:18.584248+08 \N \N \N +3a1f0a5d-d483-d003-0666-8400a449318f 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R2 75 日冻结反向有功电能示值-费率2 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_2 t DOUBLE 2026-01-26 02:45:18.595621+08 \N \N \N +3a1f0a5d-d48d-3892-72b6-120441b5c69b 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R3 76 日冻结反向有功电能示值-费率3 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_3 t DOUBLE 2026-01-26 02:45:18.605967+08 \N \N \N +3a1f0a5d-d496-89da-e1e4-ff0f637ab386 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R4 77 日冻结反向有功电能示值-费率4 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_4 t DOUBLE 2026-01-26 02:45:18.615248+08 \N \N \N +3a1f0a5d-d4a0-2c47-01f2-88361443cc79 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R5 78 日冻结反向有功电能示值-费率5 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_5 t DOUBLE 2026-01-26 02:45:18.624745+08 \N \N \N +3a1f0a5d-d4a9-73c3-5220-a36d1b35e098 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R6 79 日冻结反向有功电能示值-费率6 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_6 t DOUBLE 2026-01-26 02:45:18.634048+08 \N \N \N +3a1f0a5d-d4b4-af12-5e3a-55871d8295ba 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R7 80 日冻结反向有功电能示值-费率7 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_7 t DOUBLE 2026-01-26 02:45:18.644302+08 \N \N \N +3a1f0a5d-d4be-0969-f9f6-c20c76cb2986 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_D_REV_R8 81 日冻结反向有功电能示值-费率8 ACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_8 t DOUBLE 2026-01-26 02:45:18.65533+08 \N \N \N +3a1f0a5d-d4c8-b025-c58a-20c46c2e5d40 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV 82 日冻结反向无功电能示值 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE t DOUBLE 2026-01-26 02:45:18.665084+08 \N \N \N +3a1f0a5d-d4d3-d2bb-c791-d6d687e11aa7 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R1 83 日冻结反向无功电能示值-费率1 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_1 t DOUBLE 2026-01-26 02:45:18.675525+08 \N \N \N +3a1f0a5d-d4dc-00ed-0269-f9b980a71f79 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R2 84 日冻结反向无功电能示值-费率2 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_2 t DOUBLE 2026-01-26 02:45:18.684852+08 \N \N \N +3a1f0a5d-d4e5-bf15-a31d-6bf5a1082ff6 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R3 85 日冻结反向无功电能示值-费率3 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_3 t DOUBLE 2026-01-26 02:45:18.693955+08 \N \N \N +3a1f0a5d-d4f0-94dc-acb9-e44a7e1b6bd1 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R4 86 日冻结反向无功电能示值-费率4 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_4 t DOUBLE 2026-01-26 02:45:18.704563+08 \N \N \N +3a1f0a5d-d4f9-840b-ed70-f8610fa37f7c 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R5 87 日冻结反向无功电能示值-费率5 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_5 t DOUBLE 2026-01-26 02:45:18.713936+08 \N \N \N +3a1f0a5d-d503-8099-7b26-3ad7285bd409 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R6 88 日冻结反向无功电能示值-费率6 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_6 t DOUBLE 2026-01-26 02:45:18.723794+08 \N \N \N +3a1f0a5d-d50d-0966-87eb-668d8af69536 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R7 89 日冻结反向无功电能示值-费率7 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_7 t DOUBLE 2026-01-26 02:45:18.734188+08 \N \N \N +3a1f0a5d-d519-b8b2-60fe-7ef27e24b94c 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_D_REV_R8 90 日冻结反向无功电能示值-费率8 REACTIVE_ENERGY_DAILY_FREEZE_REVERSE_RATE_8 t DOUBLE 2026-01-26 02:45:18.746745+08 \N \N \N +3a1f0a5d-d52a-c934-afc2-c18b1e545cb1 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD 91 月冻结正向有功电能示值 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD t DOUBLE 2026-01-26 02:45:18.762914+08 \N \N \N +3a1f0a5d-d536-092d-8784-41ddba9fa631 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R1 92 月冻结正向有功电能示值-费率1 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_1 t DOUBLE 2026-01-26 02:45:18.774469+08 \N \N \N +3a1f0a5d-d540-05bd-2b9e-fe7fc7808f15 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R2 93 月冻结正向有功电能示值-费率2 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_2 t DOUBLE 2026-01-26 02:45:18.785114+08 \N \N \N +3a1f0a5d-d54b-6045-6466-dbd78d165641 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R3 94 月冻结正向有功电能示值-费率3 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_3 t DOUBLE 2026-01-26 02:45:18.795914+08 \N \N \N +3a1f0a5d-d557-7e1a-7d84-10872a0ef021 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R4 95 月冻结正向有功电能示值-费率4 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_4 t DOUBLE 2026-01-26 02:45:18.807757+08 \N \N \N +3a1f0a5d-d562-169e-3352-b28f4a40aaf7 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R5 96 月冻结正向有功电能示值-费率5 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_5 t DOUBLE 2026-01-26 02:45:18.818803+08 \N \N \N +3a1f0a5d-d56c-3b12-9a29-b6d2d5109ed7 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R6 97 月冻结正向有功电能示值-费率6 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_6 t DOUBLE 2026-01-26 02:45:18.829274+08 \N \N \N +3a1f0a5d-d576-47e3-0f57-85fb54a4fceb 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R7 98 月冻结正向有功电能示值-费率7 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_7 t DOUBLE 2026-01-26 02:45:18.839341+08 \N \N \N +3a1f0a5d-d581-aedd-ad56-df802d5cb73e 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_FWD_R8 99 月冻结正向有功电能示值-费率8 ACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_8 t DOUBLE 2026-01-26 02:45:18.849922+08 \N \N \N +3a1f0a5d-d58c-4146-2081-8a211191508e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD 100 月冻结正向无功电能示值 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD t DOUBLE 2026-01-26 02:45:18.860535+08 \N \N \N +3a1f0a5d-d596-28c8-ee9a-c4fe28aa5cc0 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R1 101 月冻结正向无功电能示值-费率1 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_1 t DOUBLE 2026-01-26 02:45:18.870814+08 \N \N \N +3a1f0a5d-d5a1-4a47-bcc2-25c6279bdb5d 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R2 102 月冻结正向无功电能示值-费率2 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_2 t DOUBLE 2026-01-26 02:45:18.881776+08 \N \N \N +3a1f0a5d-d5b5-fd73-783c-322bf342c00f 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R3 103 月冻结正向无功电能示值-费率3 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_3 t DOUBLE 2026-01-26 02:45:18.901933+08 \N \N \N +3a1f0a5d-d5c1-d526-b3ed-a9d94b9f2b6e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R4 104 月冻结正向无功电能示值-费率4 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_4 t DOUBLE 2026-01-26 02:45:18.913572+08 \N \N \N +3a1f0a5d-d5cc-77c6-5b7e-cecda4a9e323 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R5 105 月冻结正向无功电能示值-费率5 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_5 t DOUBLE 2026-01-26 02:45:18.924524+08 \N \N \N +3a1f0a5d-d5d8-e3d8-70ec-3b9dfdb3a314 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R6 106 月冻结正向无功电能示值-费率6 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_6 t DOUBLE 2026-01-26 02:45:18.936615+08 \N \N \N +3a1f0a5d-d5e3-d6ed-ecdc-993eba09a4a9 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R7 107 月冻结正向无功电能示值-费率7 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_7 t DOUBLE 2026-01-26 02:45:18.948074+08 \N \N \N +3a1f0a5d-d5f4-777e-071e-64b336afaa83 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_FWD_R8 108 月冻结正向无功电能示值-费率8 REACTIVE_ENERGY_MONTHLY_FREEZE_FORWARD_RATE_8 t DOUBLE 2026-01-26 02:45:18.964961+08 \N \N \N +3a1f0a5d-d5ff-fb89-e435-e574242b399c 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV 109 月冻结反向有功电能示值 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE t DOUBLE 2026-01-26 02:45:18.97566+08 \N \N \N +3a1f0a5d-d609-317c-37fe-59ad57e46bea 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R1 110 月冻结反向有功电能示值-费率1 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_1 t DOUBLE 2026-01-26 02:45:18.986284+08 \N \N \N +3a1f0a5d-d616-76f7-84e7-89458a11acfa 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R2 111 月冻结反向有功电能示值-费率2 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_2 t DOUBLE 2026-01-26 02:45:18.998665+08 \N \N \N +3a1f0a5d-d621-a278-830f-c949a08bdc1c 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R3 112 月冻结反向有功电能示值-费率3 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_3 t DOUBLE 2026-01-26 02:45:19.010351+08 \N \N \N +3a1f0a5d-d62d-c1f5-460a-00b45ecfad1c 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R4 113 月冻结反向有功电能示值-费率4 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_4 t DOUBLE 2026-01-26 02:45:19.022172+08 \N \N \N +3a1f0a5d-d638-523e-b88e-5861f5d0ed6f 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R5 114 月冻结反向有功电能示值-费率5 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_5 t DOUBLE 2026-01-26 02:45:19.033175+08 \N \N \N +3a1f0a5d-d644-d6eb-39fc-ec0619c508b7 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R6 115 月冻结反向有功电能示值-费率6 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_6 t DOUBLE 2026-01-26 02:45:19.044449+08 \N \N \N +3a1f0a5d-d64e-94d4-5fcc-d045c960b81c 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R7 116 月冻结反向有功电能示值-费率7 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_7 t DOUBLE 2026-01-26 02:45:19.055067+08 \N \N \N +3a1f0a5d-d659-f13b-5374-623cb85e3b3d 3a1f0a5d-d158-c708-c44c-fa4b58917146 AE_M_REV_R8 117 月冻结反向有功电能示值-费率8 ACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_8 t DOUBLE 2026-01-26 02:45:19.066173+08 \N \N \N +3a1f0a5d-d664-bf69-b774-9fae22d950b0 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV 118 月冻结反向无功电能示值 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE t DOUBLE 2026-01-26 02:45:19.077242+08 \N \N \N +3a1f0a5d-d66f-faeb-7267-1e20a707814e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R1 119 月冻结反向无功电能示值-费率1 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_1 t DOUBLE 2026-01-26 02:45:19.08824+08 \N \N \N +3a1f0a5d-d67a-95ee-bb4d-552c61b1dd1b 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R2 120 月冻结反向无功电能示值-费率2 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_2 t DOUBLE 2026-01-26 02:45:19.09929+08 \N \N \N +3a1f0a5d-d687-12ed-5479-33ffcda20757 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R3 121 月冻结反向无功电能示值-费率3 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_3 t DOUBLE 2026-01-26 02:45:19.112353+08 \N \N \N +3a1f0a5d-d692-8824-4027-f03ec620f486 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R4 122 月冻结反向无功电能示值-费率4 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_4 t DOUBLE 2026-01-26 02:45:19.12314+08 \N \N \N +3a1f0a5d-d69d-d753-8d10-54d84ae9cbb1 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R5 123 月冻结反向无功电能示值-费率5 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_5 t DOUBLE 2026-01-26 02:45:19.134314+08 \N \N \N +3a1f0a5d-d6a9-b593-52ad-0def5754363c 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R6 124 月冻结反向无功电能示值-费率6 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_6 t DOUBLE 2026-01-26 02:45:19.146146+08 \N \N \N +3a1f0a5d-d6b5-64a7-2781-668629ca68bf 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R7 125 月冻结反向无功电能示值-费率7 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_7 t DOUBLE 2026-01-26 02:45:19.157499+08 \N \N \N +3a1f0a5d-d6bf-28ba-e566-0fe339ce7cdb 3a1f0a5d-d158-c708-c44c-fa4b58917146 RE_M_REV_R8 126 月冻结反向无功电能示值-费率8 REACTIVE_ENERGY_MONTHLY_FREEZE_REVERSE_RATE_8 t DOUBLE 2026-01-26 02:45:19.168199+08 \N \N \N +3a1f0a5d-d6cb-83ba-a646-e52d4442019f 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_D_FWD 127 日冻结正向有功最大需量发生时间 MAX_DEMAND_DAILY_FORWARD t DOUBLE 2026-01-26 02:45:19.179881+08 \N \N \N +3a1f0a5d-d6d7-1a15-76f2-36ec6fe51061 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_D_RP_FWD 128 日冻结正向无功最大需量和发生时间 MAX_DEMAND_DAILY_REACTIVE_FORWARD t DOUBLE 2026-01-26 02:45:19.191975+08 \N \N \N +3a1f0a5d-d6e3-63f2-accf-e6230483bf5e 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_D_REV 129 日冻结反向有功最大需量发生时间 MAX_DEMAND_DAILY_REVERSE t DOUBLE 2026-01-26 02:45:19.203636+08 \N \N \N +3a1f0a5d-d6ef-d1a5-81f5-dbc7d166d83c 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_D_RP_REV 130 日冻结反向无功最大需量发生时间 MAX_DEMAND_DAILY_REACTIVE_REVERSE t DOUBLE 2026-01-26 02:45:19.215864+08 \N \N \N +3a1f0a5d-d6fa-2714-9df9-147b54c6e301 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_M_FWD 131 上月(上一结算日)正向有功最大需量及发生时间 MAX_DEMAND_MONTHLY_FORWARD t DOUBLE 2026-01-26 02:45:19.226943+08 \N \N \N +3a1f0a5d-d705-d6db-cf23-489840f942b4 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_M_FWD_Z 132 正向有功最大需量及发生时间 MAX_DEMAND_MONTHLY_FORWARD_Z t DOUBLE 2026-01-26 02:45:19.238313+08 \N \N \N +3a1f0a5d-d711-0aed-7a45-2bb510a9d6cf 3a1f0a5d-d158-c708-c44c-fa4b58917146 MD_M_REV 133 反向有功最大需量及发生时间 MAX_DEMAND_MONTHLY_REVERSE t DOUBLE 2026-01-26 02:45:19.249805+08 \N \N \N +3a1f0a5d-d71c-0721-f636-0212b35b2070 3a1f0a5d-d158-c708-c44c-fa4b58917146 WM_RDG 134 水表示值 WATER_METER_READING t DOUBLE 2026-01-26 02:45:19.26124+08 \N \N \N +3a1f0a5d-d729-c8c1-d83c-59ce604f5f35 3a1f0a5d-d158-c708-c44c-fa4b58917146 LAT_RDG 135 最新抄读示值 LATEST_READING t DOUBLE 2026-01-26 02:45:19.273883+08 \N \N \N +3a1f0a5d-d735-dcec-952c-674125575f9e 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_P 136 尖示值 RATE_PEAK_READING t DOUBLE 2026-01-26 02:45:19.285441+08 \N \N \N +3a1f0a5d-d741-6c46-14b6-9e11756f5e43 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_H 137 峰示值 RATE_HIGH_READING t DOUBLE 2026-01-26 02:45:19.297621+08 \N \N \N +3a1f0a5d-d74c-cf23-9fe9-df8f4b81973a 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_N 138 平示值 RATE_NORMAL_READING t DOUBLE 2026-01-26 02:45:19.309281+08 \N \N \N +3a1f0a5d-d759-7544-72b9-8b66bb8e686f 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_V 139 谷示值 RATE_VALLEY_READING t DOUBLE 2026-01-26 02:45:19.321482+08 \N \N \N +3a1f0a5d-d765-47eb-9b8c-955c67665a60 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_DV 140 深谷示值 RATE_DEEP_VALLEY_READING t DOUBLE 2026-01-26 02:45:19.333366+08 \N \N \N +3a1f0a5d-d771-8f5d-e806-66172db44201 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T6 141 T6示值 RATE_T6_READING t DOUBLE 2026-01-26 02:45:19.346119+08 \N \N \N +3a1f0a5d-d77f-c2c6-f972-8e567fbcce0a 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T7 142 T7示值 RATE_T7_READING t DOUBLE 2026-01-26 02:45:19.359416+08 \N \N \N +3a1f0a5d-d78a-4acc-46bb-e3a4238315bf 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T8 143 T8示值 RATE_T8_READING t DOUBLE 2026-01-26 02:45:19.371853+08 \N \N \N +3a1f0a5d-d797-c9e1-0840-ea5d0294dfef 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T9 144 T9示值 RATE_T9_READING t DOUBLE 2026-01-26 02:45:19.384264+08 \N \N \N +3a1f0a5d-d7a4-307d-1312-0bedb700cd8f 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T10 145 T10示值 RATE_T10_READING t DOUBLE 2026-01-26 02:45:19.396548+08 \N \N \N +3a1f0a5d-d7b1-3cfe-e02b-6d7635fe2ddb 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T11 146 T11示值 RATE_T11_READING t DOUBLE 2026-01-26 02:45:19.409674+08 \N \N \N +3a1f0a5d-d7bd-fcd5-01d3-cb2bf7367740 3a1f0a5d-d158-c708-c44c-fa4b58917146 RATE_T12 147 T12示值 RATE_T12_READING t DOUBLE 2026-01-26 02:45:19.42203+08 \N \N \N +3a1f0a5d-d7ca-9943-0d94-20568f86b2ee 3a1f0a5d-d158-c708-c44c-fa4b58917146 LIFECYCLE 148 生命周期 LIFE_CYCLE t DOUBLE 2026-01-26 02:45:19.435431+08 \N \N \N +3a1f0a5d-d7d8-7435-b97f-3d3e7de85d96 3a1f0a5d-d158-c708-c44c-fa4b58917146 ONCE_REPORT_CMD 149 实时上报控制 ONCE_REPORT_COMMAND t DOUBLE 2026-01-26 02:45:19.448511+08 \N \N \N +3a1f0a5d-d7e4-40a0-1c9c-6caa5bb74fe1 3a1f0a5d-d158-c708-c44c-fa4b58917146 GET_ENERGY_FROZEN 150 查询冻结电量 GET_ENERGY_FROZEN t DOUBLE 2026-01-26 02:45:19.461303+08 \N \N \N +3a1f0a5d-d7f9-fd57-e561-d8525a0f8d16 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_DATA_REPORT_PERIOD 151 设置业务数据上报周期 SET_DATA_REPORT_PERIOD t DOUBLE 2026-01-26 02:45:19.481711+08 \N \N \N +3a1f0a5d-d805-0ab2-45c0-66eb38992411 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_MULTIRATE_PLAN 152 设置年复费率策略 SET_MULTIRATE_PLAN t DOUBLE 2026-01-26 02:45:19.493669+08 \N \N \N +3a1f0a5d-d813-c8ea-7251-c7b09cc0f8f8 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_MULTIRATE_DAY_PART 153 设置复费率日时段 SET_MULTIRATE_DAY_PART t DOUBLE 2026-01-26 02:45:19.507899+08 \N \N \N +3a1f0a5d-d820-93e3-a6d5-7b25ecca91f3 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_STATE_CMD 154 分合闸控制 SWITCH_STATE_COMMAND t DOUBLE 2026-01-26 02:45:19.520733+08 \N \N \N +3a1f0a5d-d82e-5c31-8071-6b8d3c031d8f 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_FROZEN_TIME 155 设置冻结时间 SET_FROZEN_TIME t DOUBLE 2026-01-26 02:45:19.534469+08 \N \N \N +3a1f0a5d-d83b-eefe-0aea-ed32ca30de89 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_METER_TIME 156 设置本地时间 SET_METER_TIME t DOUBLE 2026-01-26 02:45:19.547792+08 \N \N \N +3a1f0a5d-d847-8cc4-d55d-a422c284531e 3a1f0a5d-d158-c708-c44c-fa4b58917146 SET_SWITCH_PLAN 157 设置分合闸策略 SET_SWITCH_PLAN t DOUBLE 2026-01-26 02:45:19.560361+08 \N \N \N +3a1f0a5d-d856-4420-2a24-40743ee8e309 3a1f0a5d-d158-c708-c44c-fa4b58917146 ECL 158 无线信号覆盖等级 ENHANCED_COVERAGE_LEVEL t DOUBLE 2026-01-26 02:45:19.575372+08 \N \N \N +3a1f0a5d-d864-aef2-a386-9640503f7b7d 3a1f0a5d-d158-c708-c44c-fa4b58917146 PCI 159 物理小区标识 PHYSICAL_CELL_ID t DOUBLE 2026-01-26 02:45:19.588718+08 \N \N \N +3a1f0a5d-d871-120a-d5ff-fe2043fbe2f3 3a1f0a5d-d158-c708-c44c-fa4b58917146 IMEI 160 IMEI IMEI t DOUBLE 2026-01-26 02:45:19.601574+08 \N \N \N +3a1f0a5d-d87f-7e2e-84e6-7dfa5cd08e14 3a1f0a5d-d158-c708-c44c-fa4b58917146 RSRP 161 参考信号接收功率 REFERENCE_SIGNAL_RECEIVED_POWER t DOUBLE 2026-01-26 02:45:19.615493+08 \N \N \N +3a1f0a5d-d88c-5225-5d27-a296d97a10a7 3a1f0a5d-d158-c708-c44c-fa4b58917146 SINR 162 信号与干扰加噪声比 SIGNAL_TO_INTERFERENCE_PLUS_NOISE_RATIO t DOUBLE 2026-01-26 02:45:19.628528+08 \N \N \N +3a1f0a5d-d898-8272-3195-5e4849508ff4 3a1f0a5d-d158-c708-c44c-fa4b58917146 ICCID 163 ICCID ICCID t DOUBLE 2026-01-26 02:45:19.641329+08 \N \N \N +3a1f0a5d-d8a5-c5d8-9708-cae3e44f3b19 3a1f0a5d-d158-c708-c44c-fa4b58917146 ACT_MSG 164 指令返回信息 ACTION_MESSAGE t DOUBLE 2026-01-26 02:45:19.653679+08 \N \N \N +3a1f0a5d-d8b2-6ff1-447a-ba26b86f0619 3a1f0a5d-d158-c708-c44c-fa4b58917146 CELL_ID 165 小区位置信息 CELL_ID t DOUBLE 2026-01-26 02:45:19.666547+08 \N \N \N +3a1f0a5d-d8bf-dc1d-080a-eb9462da1c6d 3a1f0a5d-d158-c708-c44c-fa4b58917146 LOOP_TYPE 166 电表测量回路类型 LOOP_TYPE t DOUBLE 2026-01-26 02:45:19.679606+08 \N \N \N +3a1f0a5d-d8cc-cc41-4a60-ed6fab625846 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_ID 167 电闸编号 SWITCH_ID t DOUBLE 2026-01-26 02:45:19.693299+08 \N \N \N +3a1f0a5d-d8da-38d4-6229-87de6f42d67e 3a1f0a5d-d158-c708-c44c-fa4b58917146 ACT_RESULT 168 指令执行结果 ACTION_RESULT t DOUBLE 2026-01-26 02:45:19.706664+08 \N \N \N +3a1f0a5d-d8e7-e130-aa34-43d9e78ced30 3a1f0a5d-d158-c708-c44c-fa4b58917146 ALARM_TYPE 169 告警类型 ALARM_TYPE t DOUBLE 2026-01-26 02:45:19.719456+08 \N \N \N +3a1f0a5d-d8f4-00ad-9ba4-2af35c2906cf 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_DAY 170 冻结日 FROZEN_DAY t DOUBLE 2026-01-26 02:45:19.732769+08 \N \N \N +3a1f0a5d-d901-7047-13e9-354315103406 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_HOUR 171 冻结小时 FROZEN_HOUR t DOUBLE 2026-01-26 02:45:19.745923+08 \N \N \N +3a1f0a5d-d90e-f9ac-04a6-533cb4ea181e 3a1f0a5d-d158-c708-c44c-fa4b58917146 MODULE_TYPE 172 模组型号 MODULE_TYPE t DOUBLE 2026-01-26 02:45:19.758795+08 \N \N \N +3a1f0a5d-d91d-dd2e-3499-e7ac55e1a11a 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_STATE 173 分合闸状态 SWITCH_STATE t DOUBLE 2026-01-26 02:45:19.773651+08 \N \N \N +3a1f0a5d-d92b-68df-5687-ae9c92cd704f 3a1f0a5d-d158-c708-c44c-fa4b58917146 DAY_PART_INFO 174 复费率日时段信息 DAY_PART_INFO t DOUBLE 2026-01-26 02:45:19.787752+08 \N \N \N +3a1f0a5d-d939-fa61-0422-bebb046a0997 3a1f0a5d-d158-c708-c44c-fa4b58917146 TERMINAL_TYPE 175 终端型号 TERMINAL_TYPE t DOUBLE 2026-01-26 02:45:19.802118+08 \N \N \N +3a1f0a5d-d949-9109-7f1b-906a987f75ec 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_ON_TIME 176 合闸时间 SWITCH_ON_TIME t DOUBLE 2026-01-26 02:45:19.817917+08 \N \N \N +3a1f0a5d-d957-bf1d-9839-b9043b28cafc 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_PLAN_ID 177 分合闸策略编号 SWITCH_PLAN_ID t DOUBLE 2026-01-26 02:45:19.832078+08 \N \N \N +3a1f0a5d-d966-3b2c-cce7-d716045a3b64 3a1f0a5d-d158-c708-c44c-fa4b58917146 TOTAL_DAY_PART 178 复费率日时段总数 TOTAL_DAY_PART t DOUBLE 2026-01-26 02:45:19.846712+08 \N \N \N +3a1f0a5d-d974-daa8-ae44-59bdd132342f 3a1f0a5d-d158-c708-c44c-fa4b58917146 YEAR_PART_INFO 179 复费率年时区信息 YEAR_PART_INFO t DOUBLE 2026-01-26 02:45:19.860429+08 \N \N \N +3a1f0a5d-d980-43d8-7463-938d8cdceca0 3a1f0a5d-d158-c708-c44c-fa4b58917146 ONCE_REPORT_ACT 180 实时上报指令 ONCE_REPORT_ACTION t DOUBLE 2026-01-26 02:45:19.87265+08 \N \N \N +3a1f0a5d-d98b-fd02-4205-28e2cb976c04 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_END_DATE 181 分合闸结束日期 SWITCH_END_DATE t DOUBLE 2026-01-26 02:45:19.884715+08 \N \N \N +3a1f0a5d-d998-bc24-d7db-b76768282cd8 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_OFF_TIME 182 分闸时间 SWITCH_OFF_TIME t DOUBLE 2026-01-26 02:45:19.896611+08 \N \N \N +3a1f0a5d-d9a4-bf56-cfb4-4315ffb79dc6 3a1f0a5d-d158-c708-c44c-fa4b58917146 TOTAL_YEAR_PART 183 复费率年时区总数 TOTAL_YEAR_PART t DOUBLE 2026-01-26 02:45:19.908787+08 \N \N \N +3a1f0a5d-d9b1-462d-d335-81366c69757d 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_TIME_UNIT 184 冻结查询时间单位 FROZEN_TIME_UNIT t DOUBLE 2026-01-26 02:45:19.921611+08 \N \N \N +3a1f0a5d-d9bc-5b21-fec8-2d15cd3b004e 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_OPER_TYPE 185 分合闸操作类型 SWITCH_OPERATION_TYPE t DOUBLE 2026-01-26 02:45:19.933155+08 \N \N \N +3a1f0a5d-d9c8-4e38-968f-430e5bd10bb8 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_TIME_VALUE 186 冻结查询时间数值 FROZEN_TIME_VALUE t DOUBLE 2026-01-26 02:45:19.945254+08 \N \N \N +3a1f0a5d-d9d5-7f19-3347-5a58a1586eae 3a1f0a5d-d158-c708-c44c-fa4b58917146 MANUFACTURER_NAME 187 厂家名称 MANUFACTURER_NAME t DOUBLE 2026-01-26 02:45:19.957916+08 \N \N \N +3a1f0a5d-d9e2-a3db-1420-09072a3b54e7 3a1f0a5d-d158-c708-c44c-fa4b58917146 MULTIRATE_PLAN_ID 188 复费率策略编号 MULTIRATE_PLAN_ID t DOUBLE 2026-01-26 02:45:19.970412+08 \N \N \N +3a1f0a5d-d9fd-a0bc-ec36-d396ea5d848c 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_PLAN_ONOFF 189 分合闸策略启用开关 SWITCH_PLAN_ONOFF t DOUBLE 2026-01-26 02:45:19.998114+08 \N \N \N +3a1f0a5d-da0a-dd44-468a-900ca9bb0412 3a1f0a5d-d158-c708-c44c-fa4b58917146 SWITCH_START_DATE 190 分合闸开始日期 SWITCH_START_DATE t DOUBLE 2026-01-26 02:45:20.010998+08 \N \N \N +3a1f0a5d-da16-5f4f-2e4d-9e2609d49ad9 3a1f0a5d-d158-c708-c44c-fa4b58917146 DATA_REPORT_PERIOD 191 业务数据上报周期 DATA_REPORT_PERIOD t DOUBLE 2026-01-26 02:45:20.022868+08 \N \N \N +3a1f0a5d-da22-c3c7-29f9-0d1a95a32892 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_RECORD_TIME 192 冻结记录时间 FROZEN_RECORD_TIME t DOUBLE 2026-01-26 02:45:20.035056+08 \N \N \N +3a1f0a5d-da2e-0ede-978f-de987df5d3c1 3a1f0a5d-d158-c708-c44c-fa4b58917146 MULTIRATE_PLAN_TIME 193 复费率策略启用时间 MULTIRATE_PLAN_TIME t DOUBLE 2026-01-26 02:45:20.047295+08 \N \N \N +3a1f0a5d-da3a-8c0c-1399-0d87dc76222f 3a1f0a5d-d158-c708-c44c-fa4b58917146 FROZEN_REPORT_PERIOD 194 冻结上报周期 FROZEN_REPORT_PERIOD t DOUBLE 2026-01-26 02:45:20.059296+08 \N \N \N +3a1f0a5d-da47-d6e5-2c82-5755ea626d81 3a1f0a5d-d158-c708-c44c-fa4b58917146 MULTIRATE_PLAN_ONOFF 195 复费率策略启用开关 MULTIRATE_PLAN_ONOFF t DOUBLE 2026-01-26 02:45:20.072104+08 \N \N \N +3a1f0a5d-da5d-f3a9-a6c4-e157dbf2223d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 Gateway 1 网关地址 Gateway t STRING 2026-01-26 02:45:20.095627+08 \N \N \N +3a1f0a5d-da69-0543-f053-3c341e59c605 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SubDevice 2 子设备地址 SubDevice t STRING 2026-01-26 02:45:20.107803+08 \N \N \N +3a1f0a5d-da74-24ce-87b3-a5856a34ac3e 3a1f0a5d-da51-1ebd-676e-f63e34176a50 Time 3 时间戳 Time t INT64 2026-01-26 02:45:20.118294+08 \N \N \N +3a1f0a5d-da7f-2368-b923-880d3af8c947 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DeviceLoginEvent 4 设备登录事件 DeviceLoginEvent t STRUCT 2026-01-26 02:45:20.12895+08 \N \N \N +3a1f0a5d-da8b-a549-6887-52aafba68112 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DeviceHeartbeatEvent 5 设备心跳事件 DeviceHeartbeatEvent t STRUCT 2026-01-26 02:45:20.141117+08 \N \N \N +3a1f0a5d-da96-d1a9-dfe6-d2a093130b9f 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FirmwareUpgradeEvent 6 设备升级事件 FirmwareUpgradeEvent t STRUCT 2026-01-26 02:45:20.152067+08 \N \N \N +3a1f0a5d-daa2-7385-5952-0d416b657e9d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerOnEvent 6 上电 POWER_ON_EVENT t STRUCT 2026-01-26 02:45:20.164737+08 \N \N \N +3a1f0a5d-daae-82cc-5e28-29f8a900f288 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerOffEvent 7 下电 POWER_OFF_EVENT t STRUCT 2026-01-26 02:45:20.175945+08 \N \N \N +3a1f0a5d-dab9-6197-b4ad-4366dd04bf4e 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BreakerCloseEvent 8 开闸 BREAKER_CLOSE_EVENT t STRUCT 2026-01-26 02:45:20.187703+08 \N \N \N +3a1f0a5d-dac5-e7cf-97e9-659eb14556c8 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BreakerOpenEvent 9 断闸 BREAKER_OPEN_EVENT t STRUCT 2026-01-26 02:45:20.198981+08 \N \N \N +3a1f0a5d-dad1-2dcb-9564-92bc625ac4ef 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OverPowerTripEvent 10 超功率断闸 OVER_POWER_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.211717+08 \N \N \N +3a1f0a5d-dadd-e79b-f4d4-c1326fd3799a 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OverVoltageEvent 11 过压 OVER_VOLTAGE_EVENT t STRUCT 2026-01-26 02:45:20.223222+08 \N \N \N +3a1f0a5d-dae8-20d8-a7ef-93932d9158c0 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UnderVoltageEvent 12 欠压 UNDER_VOLTAGE_EVENT t STRUCT 2026-01-26 02:45:20.234673+08 \N \N \N +3a1f0a5d-daf4-e3de-5b1a-5c783e7dcade 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OverCurrentEvent 13 过流 OVER_CURRENT_EVENT t STRUCT 2026-01-26 02:45:20.245879+08 \N \N \N +3a1f0a5d-daff-0d79-1c8b-1c4e000fb0eb 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UnderCurrentEvent 14 欠流 UNDER_CURRENT_EVENT t STRUCT 2026-01-26 02:45:20.257625+08 \N \N \N +3a1f0a5d-db0b-6764-0588-19da468557e6 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FrequencyHighEvent 15 频率过高 FREQUENCY_HIGH_EVENT t STRUCT 2026-01-26 02:45:20.269782+08 \N \N \N +3a1f0a5d-db17-fbcb-093f-3d7351fb14d2 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FrequencyLowEvent 16 频率过低 FREQUENCY_LOW_EVENT t STRUCT 2026-01-26 02:45:20.281904+08 \N \N \N +3a1f0a5d-db23-ad13-519b-02090cdb8346 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerFactorLowEvent 17 功率因数过低 POWER_FACTOR_LOW_EVENT t STRUCT 2026-01-26 02:45:20.293839+08 \N \N \N +3a1f0a5d-db2f-b97b-3ea2-3a7cc437df51 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PhaseLossEvent 18 缺相 PHASE_LOSS_EVENT t STRUCT 2026-01-26 02:45:20.305518+08 \N \N \N +3a1f0a5d-db3c-a490-3eac-f2d0a9440e91 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PhaseReverseEvent 19 相序错误 PHASE_REVERSE_EVENT t STRUCT 2026-01-26 02:45:20.318305+08 \N \N \N +3a1f0a5d-db49-4245-86b6-57b3784dd6db 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GroundFaultEvent 20 接地故障 GROUND_FAULT_EVENT t STRUCT 2026-01-26 02:45:20.33119+08 \N \N \N +3a1f0a5d-db57-4466-c082-6578370293b3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ShortCircuitEvent 21 短路 SHORT_CIRCUIT_EVENT t STRUCT 2026-01-26 02:45:20.346008+08 \N \N \N +3a1f0a5d-db65-4406-3384-5b747b04a9af 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ArcFaultEvent 22 电弧故障 ARC_FAULT_EVENT t STRUCT 2026-01-26 02:45:20.359851+08 \N \N \N +3a1f0a5d-db72-a0bc-f849-c5ebc31e85cf 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TemperatureHighEvent 23 温度过高 TEMPERATURE_HIGH_EVENT t STRUCT 2026-01-26 02:45:20.373055+08 \N \N \N +3a1f0a5d-db80-f600-158b-047e6920dc92 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MeterTamperEvent 24 电表篡改 METER_TAMPER_EVENT t STRUCT 2026-01-26 02:45:20.386428+08 \N \N \N +3a1f0a5d-db8e-cff7-8dcc-f46615150151 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MeterCoverOpenEvent 25 电表盖开启 METER_COVER_OPEN_EVENT t STRUCT 2026-01-26 02:45:20.400683+08 \N \N \N +3a1f0a5d-db9c-c127-0a02-5f9a619ecbac 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MeterCoverCloseEvent 26 电表盖关闭 METER_COVER_CLOSE_EVENT t STRUCT 2026-01-26 02:45:20.415544+08 \N \N \N +3a1f0a5d-dbaa-d173-8563-fd7a88ab440d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MagneticTamperEvent 27 磁干扰 MAGNETIC_TAMPER_EVENT t STRUCT 2026-01-26 02:45:20.428194+08 \N \N \N +3a1f0a5d-dbb7-7ab2-4fe3-34e43d140ac8 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ReversePowerEvent 28 反向功率 REVERSE_POWER_EVENT t STRUCT 2026-01-26 02:45:20.441458+08 \N \N \N +3a1f0a5d-dbc4-921b-5d4e-b140c719b79c 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyTheftEvent 29 窃电 ENERGY_THEFT_EVENT t STRUCT 2026-01-26 02:45:20.454364+08 \N \N \N +3a1f0a5d-dbd0-67a2-7fd1-d3d20947e993 3a1f0a5d-da51-1ebd-676e-f63e34176a50 LoadSheddingEvent 30 负荷切除 LOAD_SHEDDING_EVENT t STRUCT 2026-01-26 02:45:20.46616+08 \N \N \N +3a1f0a5d-dbdc-cc50-4956-ccd517b2d1bb 3a1f0a5d-da51-1ebd-676e-f63e34176a50 LoadRestoreEvent 31 负荷恢复 LOAD_RESTORE_EVENT t STRUCT 2026-01-26 02:45:20.478052+08 \N \N \N +3a1f0a5d-dbe9-8b16-b4ba-294f6a889af8 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DemandLimitExceedEvent 32 需量超限 DEMAND_LIMIT_EXCEED_EVENT t STRUCT 2026-01-26 02:45:20.490966+08 \N \N \N +3a1f0a5d-dbff-6814-3f78-e3391b76e746 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyLimitExceedEvent 33 电量超限 ENERGY_LIMIT_EXCEED_EVENT t STRUCT 2026-01-26 02:45:20.513093+08 \N \N \N +3a1f0a5d-dc0a-5703-5552-9fc031bea669 3a1f0a5d-da51-1ebd-676e-f63e34176a50 RateChangeEvent 34 费率切换 RATE_CHANGE_EVENT t STRUCT 2026-01-26 02:45:20.524739+08 \N \N \N +3a1f0a5d-dc16-19b4-7f3c-51acbf1ea667 3a1f0a5d-da51-1ebd-676e-f63e34176a50 HarmonicDistortionEvent 35 谐波畸变 HARMONIC_DISTORTION_EVENT t STRUCT 2026-01-26 02:45:20.536377+08 \N \N \N +3a1f0a5d-dc22-4e2e-249f-740ea27ad150 3a1f0a5d-da51-1ebd-676e-f63e34176a50 VoltageUnbalanceEvent 36 电压不平衡 VOLTAGE_UNBALANCE_EVENT t STRUCT 2026-01-26 02:45:20.548496+08 \N \N \N +3a1f0a5d-dc2f-2df5-33c5-70ebe1518bc2 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CurrentUnbalanceEvent 37 电流不平衡 CURRENT_UNBALANCE_EVENT t STRUCT 2026-01-26 02:45:20.561781+08 \N \N \N +3a1f0a5d-dc3e-4511-52c5-33291c1c793f 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerQualityPoorEvent 38 电能质量差 POWER_QUALITY_POOR_EVENT t STRUCT 2026-01-26 02:45:20.577536+08 \N \N \N +3a1f0a5d-dc4c-a721-1c73-b93ccc85a1d7 3a1f0a5d-da51-1ebd-676e-f63e34176a50 VoltageSagEvent 39 电压暂降 VOLTAGE_SAG_EVENT t STRUCT 2026-01-26 02:45:20.590233+08 \N \N \N +3a1f0a5d-dc59-250f-554c-bc4dc1bc8a5b 3a1f0a5d-da51-1ebd-676e-f63e34176a50 VoltageSwellEvent 40 电压暂升 VOLTAGE_SWELL_EVENT t STRUCT 2026-01-26 02:45:20.60334+08 \N \N \N +3a1f0a5d-dc66-0a6d-cd38-05b61d1bff00 3a1f0a5d-da51-1ebd-676e-f63e34176a50 VoltageInterruptionEvent 41 电压中断 VOLTAGE_INTERRUPTION_EVENT t STRUCT 2026-01-26 02:45:20.61613+08 \N \N \N +3a1f0a5d-dc73-7afa-9902-ca46c067a8c5 3a1f0a5d-da51-1ebd-676e-f63e34176a50 VoltageFlickerEvent 42 电压闪变 VOLTAGE_FLICKER_EVENT t STRUCT 2026-01-26 02:45:20.629916+08 \N \N \N +3a1f0a5d-dc87-ef14-b452-d02a25542ccd 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ProtectionTripEvent 43 保护跳闸 PROTECTION_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.649171+08 \N \N \N +3a1f0a5d-dc93-4b68-d866-0aecfeb8af41 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ProtectionResetEvent 44 保护复位 PROTECTION_RESET_EVENT t STRUCT 2026-01-26 02:45:20.661794+08 \N \N \N +3a1f0a5d-dca0-ba5c-d160-e1432bf72a3c 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EmergencyStopEvent 45 紧急停机 EMERGENCY_STOP_EVENT t STRUCT 2026-01-26 02:45:20.674047+08 \N \N \N +3a1f0a5d-dcac-c57b-2c7a-77260d8bd6f3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SafetyShutdownEvent 46 安全停机 SAFETY_SHUTDOWN_EVENT t STRUCT 2026-01-26 02:45:20.686583+08 \N \N \N +3a1f0a5d-dcbb-3bba-286d-eaef532e34f1 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OverloadTripEvent 47 过载跳闸 OVERLOAD_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.701004+08 \N \N \N +3a1f0a5d-dccc-0777-7f19-6183dbfa8ac9 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UnderloadTripEvent 48 欠载跳闸 UNDERLOAD_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.718884+08 \N \N \N +3a1f0a5d-dcdb-ff63-9623-1579463568d2 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DifferentialProtectionEvent 49 差动保护 DIFFERENTIAL_PROTECTION_EVENT t STRUCT 2026-01-26 02:45:20.734153+08 \N \N \N +3a1f0a5d-dceb-825e-ef0a-d4bcbb6e3563 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DistanceProtectionEvent 50 距离保护 DISTANCE_PROTECTION_EVENT t STRUCT 2026-01-26 02:45:20.748918+08 \N \N \N +3a1f0a5d-dcf8-0bff-9658-ab3c6ed393ab 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DirectionalProtectionEvent 51 方向保护 DIRECTIONAL_PROTECTION_EVENT t STRUCT 2026-01-26 02:45:20.76299+08 \N \N \N +3a1f0a5d-dd06-827f-f427-8015ec6f2277 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BackupProtectionEvent 52 后备保护 BACKUP_PROTECTION_EVENT t STRUCT 2026-01-26 02:45:20.77743+08 \N \N \N +3a1f0a5d-dd15-16cf-e688-e98194f66770 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MainProtectionEvent 53 主保护 MAIN_PROTECTION_EVENT t STRUCT 2026-01-26 02:45:20.791109+08 \N \N \N +3a1f0a5d-dd22-eec6-bd77-028cd2311092 3a1f0a5d-da51-1ebd-676e-f63e34176a50 RelayTripEvent 54 继电器跳闸 RELAY_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.803589+08 \N \N \N +3a1f0a5d-dd2e-00a8-7b51-96d8762bacbf 3a1f0a5d-da51-1ebd-676e-f63e34176a50 RelayResetEvent 55 继电器复位 RELAY_RESET_EVENT t STRUCT 2026-01-26 02:45:20.815838+08 \N \N \N +3a1f0a5d-dd3a-f206-b5c0-65a377cdf7ef 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ContactorCloseEvent 56 接触器闭合 CONTACTOR_CLOSE_EVENT t STRUCT 2026-01-26 02:45:20.828202+08 \N \N \N +3a1f0a5d-dd47-d672-5d9d-70725e3c12a6 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ContactorOpenEvent 57 接触器断开 CONTACTOR_OPEN_EVENT t STRUCT 2026-01-26 02:45:20.840914+08 \N \N \N +3a1f0a5d-dd52-456d-17ce-3ca75559319f 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FuseBlowEvent 58 熔断器熔断 FUSE_BLOW_EVENT t STRUCT 2026-01-26 02:45:20.852052+08 \N \N \N +3a1f0a5d-dd5e-3e0d-7188-70ec043b63ff 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FuseReplaceEvent 59 熔断器更换 FUSE_REPLACE_EVENT t STRUCT 2026-01-26 02:45:20.864128+08 \N \N \N +3a1f0a5d-dd6a-81c6-d452-b08b2907c5ba 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CircuitBreakerTripEvent 60 断路器跳闸 CIRCUIT_BREAKER_TRIP_EVENT t STRUCT 2026-01-26 02:45:20.875731+08 \N \N \N +3a1f0a5d-dd75-a0d6-ce13-7ee66be9f000 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CircuitBreakerResetEvent 61 断路器复位 CIRCUIT_BREAKER_RESET_EVENT t STRUCT 2026-01-26 02:45:20.887198+08 \N \N \N +3a1f0a5d-dd81-a4da-f5f9-d80c3b714ad6 3a1f0a5d-da51-1ebd-676e-f63e34176a50 IsolatorOpenEvent 62 隔离开关断开 ISOLATOR_OPEN_EVENT t STRUCT 2026-01-26 02:45:20.899193+08 \N \N \N +3a1f0a5d-dd91-bf77-0089-25494896b6e1 3a1f0a5d-da51-1ebd-676e-f63e34176a50 IsolatorCloseEvent 63 隔离开关闭合 ISOLATOR_CLOSE_EVENT t STRUCT 2026-01-26 02:45:20.914853+08 \N \N \N +3a1f0a5d-dd9d-c126-c28a-597031d4de16 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SwitchOpenEvent 64 开关断开 SWITCH_OPEN_EVENT t STRUCT 2026-01-26 02:45:20.926952+08 \N \N \N +3a1f0a5d-dda9-12b6-f9ba-88fee8c34365 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SwitchCloseEvent 65 开关闭合 SWITCH_CLOSE_EVENT t STRUCT 2026-01-26 02:45:20.93915+08 \N \N \N +3a1f0a5d-ddb6-d628-8d9e-0ee9cd9675a1 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TransformerFaultEvent 66 变压器故障 TRANSFORMER_FAULT_EVENT t STRUCT 2026-01-26 02:45:20.952519+08 \N \N \N +3a1f0a5d-ddc3-8fad-f27a-48357ba8305f 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TransformerOverloadEvent 67 变压器过载 TRANSFORMER_OVERLOAD_EVENT t STRUCT 2026-01-26 02:45:20.965167+08 \N \N \N +3a1f0a5d-ddd0-5ea2-1c03-2c8bb9d01e00 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TransformerTempHighEvent 68 变压器温度过高 TRANSFORMER_TEMP_HIGH_EVENT t STRUCT 2026-01-26 02:45:20.977643+08 \N \N \N +3a1f0a5d-dddc-d9e4-e246-b1d88be774dc 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GeneratorStartEvent 69 发电机启动 GENERATOR_START_EVENT t STRUCT 2026-01-26 02:45:20.990115+08 \N \N \N +3a1f0a5d-dde9-93e1-7149-086075174d61 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GeneratorStopEvent 70 发电机停机 GENERATOR_STOP_EVENT t STRUCT 2026-01-26 02:45:21.002955+08 \N \N \N +3a1f0a5d-de00-7b6b-ba2e-65a3af775912 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GeneratorFaultEvent 71 发电机故障 GENERATOR_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.026573+08 \N \N \N +3a1f0a5d-de0e-680d-3146-e51461a318ce 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MotorStartEvent 72 电机启动 MOTOR_START_EVENT t STRUCT 2026-01-26 02:45:21.039895+08 \N \N \N +3a1f0a5d-de1b-9617-2f89-3f64b8f64a52 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MotorStopEvent 73 电机停机 MOTOR_STOP_EVENT t STRUCT 2026-01-26 02:45:21.052558+08 \N \N \N +3a1f0a5d-de28-0e5c-303a-be49debee333 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MotorFaultEvent 74 电机故障 MOTOR_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.066096+08 \N \N \N +3a1f0a5d-de36-ba60-1bdf-ee9c9438285a 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MotorOverloadEvent 75 电机过载 MOTOR_OVERLOAD_EVENT t STRUCT 2026-01-26 02:45:21.079821+08 \N \N \N +3a1f0a5d-de44-8590-c498-46ad4bf6e127 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CapacitorBankOnEvent 76 电容器组投入 CAPACITOR_BANK_ON_EVENT t STRUCT 2026-01-26 02:45:21.093532+08 \N \N \N +3a1f0a5d-de50-6062-bfea-eb7a684d9917 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CapacitorBankOffEvent 77 电容器组切除 CAPACITOR_BANK_OFF_EVENT t STRUCT 2026-01-26 02:45:21.106284+08 \N \N \N +3a1f0a5d-de5d-b1f9-58d4-2cb3e57418c6 3a1f0a5d-da51-1ebd-676e-f63e34176a50 CapacitorFaultEvent 78 电容器故障 CAPACITOR_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.119+08 \N \N \N +3a1f0a5d-de6a-bed4-ae3f-c88b51f7f131 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ReactorOnEvent 79 电抗器投入 REACTOR_ON_EVENT t STRUCT 2026-01-26 02:45:21.13243+08 \N \N \N +3a1f0a5d-de79-b4f6-e6be-6c6772289678 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ReactorOffEvent 80 电抗器切除 REACTOR_OFF_EVENT t STRUCT 2026-01-26 02:45:21.146737+08 \N \N \N +3a1f0a5d-de86-eb70-f35b-a9c5f1485fee 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ReactorFaultEvent 81 电抗器故障 REACTOR_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.160382+08 \N \N \N +3a1f0a5d-de93-3eed-89c8-155544f3a8ea 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UpsOnEvent 82 UPS投入 UPS_ON_EVENT t STRUCT 2026-01-26 02:45:21.17353+08 \N \N \N +3a1f0a5d-dea1-0a95-1145-8ccc00742c0f 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UpsOffEvent 83 UPS切除 UPS_OFF_EVENT t STRUCT 2026-01-26 02:45:21.186671+08 \N \N \N +3a1f0a5d-deaf-b073-eb79-ae16ddfa2ee6 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UpsFaultEvent 84 UPS故障 UPS_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.201238+08 \N \N \N +3a1f0a5d-debd-8235-17f3-de1679090776 3a1f0a5d-da51-1ebd-676e-f63e34176a50 UpsBypassEvent 85 UPS旁路 UPS_BYPASS_EVENT t STRUCT 2026-01-26 02:45:21.214753+08 \N \N \N +3a1f0a5d-deca-a31b-39c8-588cb618e363 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BatteryDischargeEvent 86 电池放电 BATTERY_DISCHARGE_EVENT t STRUCT 2026-01-26 02:45:21.228246+08 \N \N \N +3a1f0a5d-ded8-d512-b72e-764d957cb930 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BatteryChargeEvent 87 电池充电 BATTERY_CHARGE_EVENT t STRUCT 2026-01-26 02:45:21.241931+08 \N \N \N +3a1f0a5d-dee7-5386-ca09-4f272b090ede 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BatteryLowEvent 88 电池低电压 BATTERY_LOW_EVENT t STRUCT 2026-01-26 02:45:21.256605+08 \N \N \N +3a1f0a5d-def4-76ad-b03e-a6c6c80d280c 3a1f0a5d-da51-1ebd-676e-f63e34176a50 BatteryFailEvent 89 电池故障 BATTERY_FAIL_EVENT t STRUCT 2026-01-26 02:45:21.270383+08 \N \N \N +3a1f0a5d-df02-d646-a0a7-d86c261000d8 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SolarPanelOnEvent 90 太阳能板投入 SOLAR_PANEL_ON_EVENT t STRUCT 2026-01-26 02:45:21.284205+08 \N \N \N +3a1f0a5d-df10-c497-7792-7d7e8e0ecbd8 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SolarPanelOffEvent 91 太阳能板切除 SOLAR_PANEL_OFF_EVENT t STRUCT 2026-01-26 02:45:21.298368+08 \N \N \N +3a1f0a5d-df1f-c4da-1e96-5b588ed87c6c 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SolarPanelFaultEvent 92 太阳能板故障 SOLAR_PANEL_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.313071+08 \N \N \N +3a1f0a5d-df2d-4d18-6834-0e5f41de129b 3a1f0a5d-da51-1ebd-676e-f63e34176a50 WindTurbineStartEvent 93 风力发电机启动 WIND_TURBINE_START_EVENT t STRUCT 2026-01-26 02:45:21.327372+08 \N \N \N +3a1f0a5d-df3b-c6ae-d9b5-ad6629a5c239 3a1f0a5d-da51-1ebd-676e-f63e34176a50 WindTurbineStopEvent 94 风力发电机停机 WIND_TURBINE_STOP_EVENT t STRUCT 2026-01-26 02:45:21.341034+08 \N \N \N +3a1f0a5d-df49-5145-174a-1f37fec75f99 3a1f0a5d-da51-1ebd-676e-f63e34176a50 WindTurbineFaultEvent 95 风力发电机故障 WIND_TURBINE_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.355578+08 \N \N \N +3a1f0a5d-df59-c90e-bedc-08150bbd4135 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GridConnectEvent 96 并网 GRID_CONNECT_EVENT t STRUCT 2026-01-26 02:45:21.370732+08 \N \N \N +3a1f0a5d-df67-8142-7ea6-0c3c735468f3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GridDisconnectEvent 97 离网 GRID_DISCONNECT_EVENT t STRUCT 2026-01-26 02:45:21.385097+08 \N \N \N +3a1f0a5d-df75-19b9-b804-7f4dd7a8833a 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GridSyncEvent 98 电网同步 GRID_SYNC_EVENT t STRUCT 2026-01-26 02:45:21.399201+08 \N \N \N +3a1f0a5d-df84-c56c-5b00-3746716519ca 3a1f0a5d-da51-1ebd-676e-f63e34176a50 GridDesyncEvent 99 电网失步 GRID_DESYNC_EVENT t STRUCT 2026-01-26 02:45:21.413521+08 \N \N \N +3a1f0a5d-df92-dddf-aca1-e51a30826160 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerFlowReverseEvent 100 功率反向 POWER_FLOW_REVERSE_EVENT t STRUCT 2026-01-26 02:45:21.427988+08 \N \N \N +3a1f0a5d-dfa0-d3ed-2daf-c332583350e3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PowerFlowForwardEvent 101 功率正向 POWER_FLOW_FORWARD_EVENT t STRUCT 2026-01-26 02:45:21.441758+08 \N \N \N +3a1f0a5d-dfae-1396-1119-cd25b65dbb89 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyExportEvent 102 电能输出 ENERGY_EXPORT_EVENT t STRUCT 2026-01-26 02:45:21.455997+08 \N \N \N +3a1f0a5d-dfc0-0cd2-b93d-77a6205ebd12 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyImportEvent 103 电能输入 ENERGY_IMPORT_EVENT t STRUCT 2026-01-26 02:45:21.473666+08 \N \N \N +3a1f0a5d-dfcf-c2b1-ccb1-3ebf79c953cd 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PeakDemandEvent 104 峰值需量 PEAK_DEMAND_EVENT t STRUCT 2026-01-26 02:45:21.489425+08 \N \N \N +3a1f0a5d-dfde-e6a9-7f6f-83ac9f4159aa 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OffPeakDemandEvent 105 低谷需量 OFF_PEAK_DEMAND_EVENT t STRUCT 2026-01-26 02:45:21.504218+08 \N \N \N +3a1f0a5d-dff7-3436-bfe0-d9a4bfb0c363 3a1f0a5d-da51-1ebd-676e-f63e34176a50 DemandResponseEvent 106 需求响应 DEMAND_RESPONSE_EVENT t STRUCT 2026-01-26 02:45:21.528699+08 \N \N \N +3a1f0a5d-e005-2481-1d1d-d1224ee97c4e 3a1f0a5d-da51-1ebd-676e-f63e34176a50 LoadCurtailmentEvent 107 负荷削减 LOAD_CURTAILMENT_EVENT t STRUCT 2026-01-26 02:45:21.542981+08 \N \N \N +3a1f0a5d-e014-23a8-ab03-8145723aaf4d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 LoadShiftingEvent 108 负荷转移 LOAD_SHIFTING_EVENT t STRUCT 2026-01-26 02:45:21.558414+08 \N \N \N +3a1f0a5d-e023-aa06-62f6-23da3278e785 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyStorageChargeEvent 109 储能充电 ENERGY_STORAGE_CHARGE_EVENT t STRUCT 2026-01-26 02:45:21.573419+08 \N \N \N +3a1f0a5d-e032-9920-1b92-522f4d3616ec 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyStorageDischargeEvent 110 储能放电 ENERGY_STORAGE_DISCHARGE_EVENT t STRUCT 2026-01-26 02:45:21.588541+08 \N \N \N +3a1f0a5d-e042-bb5e-a2fb-2c6c588fe247 3a1f0a5d-da51-1ebd-676e-f63e34176a50 EnergyStorageFaultEvent 111 储能故障 ENERGY_STORAGE_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.603889+08 \N \N \N +3a1f0a5d-e053-0288-4d95-02910c6236c0 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MicrogridIslandEvent 112 微网孤岛 MICROGRID_ISLAND_EVENT t STRUCT 2026-01-26 02:45:21.620853+08 \N \N \N +3a1f0a5d-e062-e5cf-031a-b7f3c3d37c6d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 MicrogridReconnectEvent 113 微网重连 MICROGRID_RECONNECT_EVENT t STRUCT 2026-01-26 02:45:21.63643+08 \N \N \N +3a1f0a5d-e072-7a8a-c843-84296ee1b46d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SmartMeterCommEvent 114 智能电表通信 SMART_METER_COMM_EVENT t STRUCT 2026-01-26 02:45:21.651755+08 \N \N \N +3a1f0a5d-e081-a689-5c5e-b0af3b9ef9b0 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SmartMeterFaultEvent 115 智能电表故障 SMART_METER_FAULT_EVENT t STRUCT 2026-01-26 02:45:21.668368+08 \N \N \N +3a1f0a5d-e092-7cf2-b4e4-a621752f9fbd 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PrepaidBalanceLowEvent 116 预付费余额不足 PREPAID_BALANCE_LOW_EVENT t STRUCT 2026-01-26 02:45:21.684184+08 \N \N \N +3a1f0a5d-e0a2-0c71-d5bb-945227aba611 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PrepaidBalanceZeroEvent 117 预付费余额为零 PREPAID_BALANCE_ZERO_EVENT t STRUCT 2026-01-26 02:45:21.699932+08 \N \N \N +3a1f0a5d-e0b1-80a4-0d20-b50261d309b3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PrepaidRechargeEvent 118 预付费充值 PREPAID_RECHARGE_EVENT t STRUCT 2026-01-26 02:45:21.715258+08 \N \N \N +3a1f0a5d-e0c2-fe06-6bf0-27535f78920c 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TimeOfUseStartEvent 119 分时电价开始 TIME_OF_USE_START_EVENT t STRUCT 2026-01-26 02:45:21.731973+08 \N \N \N +3a1f0a5d-e0d1-9086-04ba-6c4bbfed0c1d 3a1f0a5d-da51-1ebd-676e-f63e34176a50 TimeOfUseEndEvent 120 分时电价结束 TIME_OF_USE_END_EVENT t STRUCT 2026-01-26 02:45:21.747385+08 \N \N \N +3a1f0a5d-e0e1-86c7-b555-9a58f6d5ea12 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PeakPriceStartEvent 121 峰时电价开始 PEAK_PRICE_START_EVENT t STRUCT 2026-01-26 02:45:21.762862+08 \N \N \N +3a1f0a5d-e0f0-746e-ad27-549c1e95de52 3a1f0a5d-da51-1ebd-676e-f63e34176a50 PeakPriceEndEvent 122 峰时电价结束 PEAK_PRICE_END_EVENT t STRUCT 2026-01-26 02:45:21.778203+08 \N \N \N +3a1f0a5d-e100-421e-cf2a-013f8071a593 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ValleyPriceStartEvent 123 谷时电价开始 VALLEY_PRICE_START_EVENT t STRUCT 2026-01-26 02:45:21.794324+08 \N \N \N +3a1f0a5d-e10f-e68a-cb45-2dadf66d34ed 3a1f0a5d-da51-1ebd-676e-f63e34176a50 ValleyPriceEndEvent 124 谷时电价结束 VALLEY_PRICE_END_EVENT t STRUCT 2026-01-26 02:45:21.809403+08 \N \N \N +3a1f0a5d-e120-4349-6330-ad7e585438b3 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FlatPriceStartEvent 125 平时电价开始 FLAT_PRICE_START_EVENT t STRUCT 2026-01-26 02:45:21.826388+08 \N \N \N +3a1f0a5d-e130-52b1-61f3-5df323f3bb55 3a1f0a5d-da51-1ebd-676e-f63e34176a50 FlatPriceEndEvent 126 平时电价结束 FLAT_PRICE_END_EVENT t STRUCT 2026-01-26 02:45:21.842594+08 \N \N \N +3a1f0a5d-e141-0c53-d203-b2db9ba3a8ff 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OnlineEvent 127 上线 ONLINE_EVENT t STRUCT 2026-01-26 02:45:21.85928+08 \N \N \N +3a1f0a5d-e150-ec38-24d3-e4c7c00e52fd 3a1f0a5d-da51-1ebd-676e-f63e34176a50 OfflineEvent 128 下线 OFFLINE_EVENT t STRUCT 2026-01-26 02:45:21.874407+08 \N \N \N +3a1f0a5d-e160-931f-0d94-481e106e0183 3a1f0a5d-da51-1ebd-676e-f63e34176a50 AlarmTypeReportEvent 129 电表告警上报 ALARM_TYPE_REPORT_EVENT t STRUCT 2026-01-26 02:45:21.890439+08 \N \N \N +3a1f0a5d-e175-1020-8a0f-8fe5ecc39773 3a1f0a5d-da51-1ebd-676e-f63e34176a50 SwitchStateReportEvent 130 分合闸状态上报 SWITCH_STATE_REPORT_EVENT t STRUCT 2026-01-26 02:45:21.911115+08 \N \N \N +3a1f0a5d-e193-3620-435b-492fe327863b 3a1f0a5d-e184-1f10-3aa5-326a3b39566c Gateway 1 网关地址 Gateway t STRING 2026-01-26 02:45:21.941722+08 \N \N \N +3a1f0a5d-e1a4-70fd-b685-68feb9961578 3a1f0a5d-e184-1f10-3aa5-326a3b39566c SubDevice 2 子设备地址 SubDevice t STRING 2026-01-26 02:45:21.95932+08 \N \N \N +3a1f0a5d-e1b5-b22f-6282-2581a18c8dd8 3a1f0a5d-e184-1f10-3aa5-326a3b39566c Time 3 时间戳 Time t INT64 2026-01-26 02:45:21.976779+08 \N \N \N +3a1f0a5d-e1c5-f893-f84c-4109dbee806e 3a1f0a5d-e184-1f10-3aa5-326a3b39566c SpecialCommand 4 特殊命令 SpecialCommand t STRUCT 2026-01-26 02:45:21.991958+08 \N \N \N +3a1f0a5d-e1d4-e06c-128c-c9fbd1d515ff 3a1f0a5d-e184-1f10-3aa5-326a3b39566c ReadingInterval 5 抄读间隔 ReadingInterval t INT64 2026-01-26 02:45:22.007406+08 \N \N \N +3a1f0a5d-e1e3-9db6-fb12-5ce97640aad7 3a1f0a5d-e184-1f10-3aa5-326a3b39566c ReportInterval 6 上报间隔 ReportInterval t INT64 2026-01-26 02:45:22.022437+08 \N \N \N +3a1f0a5d-e1f3-e64e-d121-116163ffc730 3a1f0a5d-e184-1f10-3aa5-326a3b39566c FIRMWARE_VERSION 7 设备固件版本 FIRMWARE_VERSION t STRING 2026-01-26 02:45:22.038627+08 \N \N \N +3a1f0a5d-e202-7527-4237-00f3640274d6 3a1f0a5d-e184-1f10-3aa5-326a3b39566c FIRMWARE_UPGRADE 8 固件版本升级 FIRMWARE_UPGRADE t STRING 2026-01-26 02:45:22.053335+08 \N \N \N +3a1f0a5d-e212-c33e-d2b7-02bc2686e4e9 3a1f0a5d-e184-1f10-3aa5-326a3b39566c ReadingMode 9 抄读模式 ReadingMode t STRING 2026-01-26 02:45:22.06862+08 \N \N \N +3a1f0a5d-e221-ea58-48ab-de24576e66e4 3a1f0a5d-e184-1f10-3aa5-326a3b39566c HARDWARE_VERSION 10 设备硬件版本 HARDWARE_VERSION t STRING 2026-01-26 02:45:22.08413+08 \N \N \N +3a1f0a5d-e233-dd95-d297-5c13f37406d8 3a1f0a5d-e184-1f10-3aa5-326a3b39566c TOTAL_VOLUME 10 正向累计体积 TOTAL_VOLUME t DOUBLE 2026-01-26 02:45:22.102499+08 \N \N \N +3a1f0a5d-e242-8511-589c-cd4d68ce7b3e 3a1f0a5d-e184-1f10-3aa5-326a3b39566c TOTAL_VOLUME_UNIT 11 正向累计体积单位 TOTAL_VOLUME_UNIT t STRING 2026-01-26 02:45:22.117489+08 \N \N \N +3a1f0a5d-e251-dc2c-baae-3e0462edd026 3a1f0a5d-e184-1f10-3aa5-326a3b39566c INSTANT_FLOW 12 瞬时流量 INSTANT_FLOW t DOUBLE 2026-01-26 02:45:22.132602+08 \N \N \N +3a1f0a5d-e261-785f-5611-51bb2f518df7 3a1f0a5d-e184-1f10-3aa5-326a3b39566c INSTANT_FLOW_UNIT 13 瞬时流量单位 INSTANT_FLOW_UNIT t STRING 2026-01-26 02:45:22.149069+08 \N \N \N +3a1f0a5d-e272-d08c-53c1-bc8b36eb49b6 3a1f0a5d-e184-1f10-3aa5-326a3b39566c INSTANT_FLOW_VELOCITY 14 瞬时流速 INSTANT_FLOW_VELOCITY t DOUBLE 2026-01-26 02:45:22.165501+08 \N \N \N +3a1f0a5d-e282-eb84-ff57-1e7c09db79a1 3a1f0a5d-e184-1f10-3aa5-326a3b39566c AVERAGE_FLOW 15 平均流量 AVERAGE_FLOW t DOUBLE 2026-01-26 02:45:22.181238+08 \N \N \N +3a1f0a5d-e292-b8b3-0890-d0037c78983f 3a1f0a5d-e184-1f10-3aa5-326a3b39566c PRESSURE 16 压力 PRESSURE t DOUBLE 2026-01-26 02:45:22.196588+08 \N \N \N +3a1f0a5d-e2a2-619e-347b-5c058508c92c 3a1f0a5d-e184-1f10-3aa5-326a3b39566c TEMPERATURE 17 温度 TEMPERATURE t DOUBLE 2026-01-26 02:45:22.212669+08 \N \N \N +3a1f0a5d-e2b1-a998-1777-8b27620c72af 3a1f0a5d-e184-1f10-3aa5-326a3b39566c BATTERY_VOLTAGE 18 电池电量/电压 BATTERY_VOLTAGE t DOUBLE 2026-01-26 02:45:22.22814+08 \N \N \N +3a1f0a5d-e2c0-13aa-3d0c-3488e3939d33 3a1f0a5d-e184-1f10-3aa5-326a3b39566c SIGNAL_STRENGTH 19 通信信号强度(RSSI/RSRP) SIGNAL_STRENGTH t DOUBLE 2026-01-26 02:45:22.244001+08 \N \N \N +3a1f0a5d-e2d1-dccf-5804-d2cae661a619 3a1f0a5d-e184-1f10-3aa5-326a3b39566c VALVE_STATUS 20 阀门开关状态 VALVE_STATUS t DOUBLE 2026-01-26 02:45:22.259846+08 \N \N \N +3a1f0a5d-e2e1-dbd6-957c-348fc16db673 3a1f0a5d-e184-1f10-3aa5-326a3b39566c REMAINING_BALANCE 21 预付费剩余金额或量 REMAINING_BALANCE t DOUBLE 2026-01-26 02:45:22.276432+08 \N \N \N +3a1f0a5d-e2f1-f409-1046-ffcc32609f80 3a1f0a5d-e184-1f10-3aa5-326a3b39566c WORKING_HOURS 22 设备累计运行时长 WORKING_HOURS t DOUBLE 2026-01-26 02:45:22.292098+08 \N \N \N +3a1f0a5d-e301-ef95-0e89-247a7f4cb302 3a1f0a5d-e184-1f10-3aa5-326a3b39566c REVERSE_VOLUME 23 反向累计体积 REVERSE_VOLUME t DOUBLE 2026-01-26 02:45:22.307651+08 \N \N \N +3a1f0a5d-e311-f66f-7903-1ee40fc5f50b 3a1f0a5d-e184-1f10-3aa5-326a3b39566c LEAK_RATE 24 漏损率/估算漏损比例 LEAK_RATE t DOUBLE 2026-01-26 02:45:22.325059+08 \N \N \N +3a1f0a5d-e322-751f-3dcd-e52f6090734b 3a1f0a5d-e184-1f10-3aa5-326a3b39566c DAILY_FREEZE 25 每日冻结 DAILY_FREEZE t STRING 2026-01-26 02:45:22.340518+08 \N \N \N +3a1f0a5d-e331-c7ad-b8e9-d883982f89d6 3a1f0a5d-e184-1f10-3aa5-326a3b39566c MONTHLY_FREEZE 26 每月冻结 MONTHLY_FREEZE t STRING 2026-01-26 02:45:22.356601+08 \N \N \N +3a1f0a5d-e342-ae2c-5c0a-9b5c049ffa58 3a1f0a5d-e184-1f10-3aa5-326a3b39566c PUMP_POWER 27 设备电量 PUMP_POWER t STRING 2026-01-26 02:45:22.372588+08 \N \N \N +3a1f0a5d-e352-51ee-9546-489c12cd7034 3a1f0a5d-e184-1f10-3aa5-326a3b39566c FLOW_PERCENTAGE 28 流量百分比 FLOW_PERCENTAGE t STRING 2026-01-26 02:45:22.38955+08 \N \N \N +3a1f0a5d-e364-d3ea-e69a-8dd740e1a827 3a1f0a5d-e184-1f10-3aa5-326a3b39566c FLUID_CONDUCTIVITY_RATIO 29 流体电导比 FLUID_CONDUCTIVITY_RATIO t STRING 2026-01-26 02:45:22.406648+08 \N \N \N +3a1f0a5d-e37e-0395-f98f-009ef8c7b978 3a1f0a5d-e371-082c-3e0d-b833db5f5fad Gateway 1 网关地址 Gateway t STRING 2026-01-26 02:45:22.433743+08 \N \N \N +3a1f0a5d-e390-6a08-e639-306aca9491ab 3a1f0a5d-e371-082c-3e0d-b833db5f5fad SubDevice 2 子设备地址 SubDevice t STRING 2026-01-26 02:45:22.451278+08 \N \N \N +3a1f0a5d-e3a0-0e61-3b7e-c35efe314d1a 3a1f0a5d-e371-082c-3e0d-b833db5f5fad Time 3 时间戳 Time t INT64 2026-01-26 02:45:22.467623+08 \N \N \N +3a1f0a5d-e3b3-c505-2923-f52442200bbd 3a1f0a5d-e371-082c-3e0d-b833db5f5fad DeviceLoginEvent 4 设备登录事件 DeviceLoginEvent t STRUCT 2026-01-26 02:45:22.486631+08 \N \N \N +3a1f0a5d-e3c5-385e-51d0-2816cb449a2d 3a1f0a5d-e371-082c-3e0d-b833db5f5fad DeviceHeartbeatEvent 5 设备心跳事件 DeviceHeartbeatEvent t STRUCT 2026-01-26 02:45:22.503782+08 \N \N \N +3a1f0a5d-e3d5-77f3-55ad-f8d845121276 3a1f0a5d-e371-082c-3e0d-b833db5f5fad FirmwareUpgradeEvent 6 设备升级事件 FirmwareUpgradeEvent t STRUCT 2026-01-26 02:45:22.520034+08 \N \N \N +3a1f0a5d-e3f1-17fc-a3fb-baac2fb1eb29 3a1f0a5d-e371-082c-3e0d-b833db5f5fad MeterInstallEvent 6 设备完成安装 METER_INSTALL_EVENT t STRUCT 2026-01-26 02:45:22.547884+08 \N \N \N +3a1f0a5d-e401-0e21-1bad-90b1eb3a2827 3a1f0a5d-e371-082c-3e0d-b833db5f5fad MeterReplaceEvent 7 设备被更换 METER_REPLACE_EVENT t STRUCT 2026-01-26 02:45:22.564839+08 \N \N \N +3a1f0a5d-e413-3ac3-e716-a930582a29b8 3a1f0a5d-e371-082c-3e0d-b833db5f5fad ValveOpenedEvent 8 阀门切换为开启 VALVE_OPENED_EVENT t STRUCT 2026-01-26 02:45:22.582327+08 \N \N \N +3a1f0a5d-e424-d44b-8bc1-1ae68cac5dcc 3a1f0a5d-e371-082c-3e0d-b833db5f5fad ValveClosedEvent 9 阀门切换为关闭 VALVE_CLOSED_EVENT t STRUCT 2026-01-26 02:45:22.599143+08 \N \N \N +3a1f0a5d-e434-15e4-00ba-b1abbd1c50d6 3a1f0a5d-e371-082c-3e0d-b833db5f5fad LeakDetectedEvent 10 检测到漏水/漏气 LEAK_DETECTED_EVENT t STRUCT 2026-01-26 02:45:22.615048+08 \N \N \N +3a1f0a5d-e444-bba3-9700-0d91d548eff9 3a1f0a5d-e371-082c-3e0d-b833db5f5fad BurstDetectedEvent 11 爆管/管道破裂 BURST_DETECTED_EVENT t STRUCT 2026-01-26 02:45:22.631604+08 \N \N \N +3a1f0a5d-e454-5f9b-2077-1d7cb0f13ac5 3a1f0a5d-e371-082c-3e0d-b833db5f5fad ReverseFlowEvent 12 出现反向流量/回流 REVERSE_FLOW_EVENT t STRUCT 2026-01-26 02:45:22.647455+08 \N \N \N +3a1f0a5d-e465-14a9-64f9-2a4cd8e9096b 3a1f0a5d-e371-082c-3e0d-b833db5f5fad DryDetectionEvent 13 空转或无介质状态 DRY_DETECTION_EVENT t STRUCT 2026-01-26 02:45:22.664375+08 \N \N \N +3a1f0a5d-e476-4faa-1f48-582d7770e3cd 3a1f0a5d-e371-082c-3e0d-b833db5f5fad LowBatteryEvent 14 电池电压低于阈值 LOW_BATTERY_EVENT t STRUCT 2026-01-26 02:45:22.681941+08 \N \N \N +3a1f0a5d-e489-f196-eb7b-a2a63c4a94ae 3a1f0a5d-e371-082c-3e0d-b833db5f5fad BatteryFailureEvent 15 电池异常或连接故障 BATTERY_FAILURE_EVENT t STRUCT 2026-01-26 02:45:22.700077+08 \N \N \N +3a1f0a5d-e499-3a0f-8ea9-41094437d876 3a1f0a5d-e371-082c-3e0d-b833db5f5fad MagneticTamperEvent 16 磁干扰 MAGNETIC_TAMPER_EVENT t STRUCT 2026-01-26 02:45:22.716442+08 \N \N \N +3a1f0a5d-e4aa-1124-d168-8b0958ac7019 3a1f0a5d-e371-082c-3e0d-b833db5f5fad MeterTamperEvent 17 设备被拆卸或撬动 METER_TAMPER_EVENT t STRUCT 2026-01-26 02:45:22.733906+08 \N \N \N +3a1f0a5d-e4c6-5260-934e-ecd6e0e21542 3a1f0a5d-e371-082c-3e0d-b833db5f5fad CoverOpenEvent 18 表盖开启 COVER_OPEN_EVENT t STRUCT 2026-01-26 02:45:22.765536+08 \N \N \N +3a1f0a5d-e4ee-36ab-749f-e291667479ff 3a1f0a5d-e371-082c-3e0d-b833db5f5fad PressureHighEvent 19 压力超过上限 PRESSURE_HIGH_EVENT t STRUCT 2026-01-26 02:45:22.805655+08 \N \N \N +3a1f0a5d-e50f-875a-38cf-1aaa155b7caa 3a1f0a5d-e371-082c-3e0d-b833db5f5fad PressureLowEvent 20 压力低于下限 PRESSURE_LOW_EVENT t STRUCT 2026-01-26 02:45:22.839301+08 \N \N \N +3a1f0a5d-e535-9b11-7d7d-41652e899a1e 3a1f0a5d-e371-082c-3e0d-b833db5f5fad TempHighEvent 21 介质温度超上限 TEMP_HIGH_EVENT t STRUCT 2026-01-26 02:45:22.875941+08 \N \N \N +3a1f0a5d-e559-59c5-c0de-93f6bafe10cb 3a1f0a5d-e371-082c-3e0d-b833db5f5fad TempLowEvent 22 介质温度低于下限 TEMP_LOW_EVENT t STRUCT 2026-01-26 02:45:22.912066+08 \N \N \N +3a1f0a5d-e58f-c5a3-6ac6-ee2cc8f981d0 3a1f0a5d-e371-082c-3e0d-b833db5f5fad ZeroFlowLongEvent 23 长时间零流量 ZERO_FLOW_LONG_EVENT t STRUCT 2026-01-26 02:45:22.965834+08 \N \N \N +3a1f0a5d-e5ae-91da-bfdc-3e682a97c282 3a1f0a5d-e371-082c-3e0d-b833db5f5fad AbnormalUsageEvent 24 短时异常高/低用量 ABNORMAL_USAGE_EVENT t STRUCT 2026-01-26 02:45:22.996966+08 \N \N \N +3a1f0a5d-e5d0-26f7-9499-ae8c62062a3e 3a1f0a5d-e371-082c-3e0d-b833db5f5fad SensorFaultEvent 25 流量/压力/温度传感器异常 SENSOR_FAULT_EVENT t STRUCT 2026-01-26 02:45:23.031203+08 \N \N \N +3a1f0a5d-e5f8-61da-618c-7a3ab4057b87 3a1f0a5d-e371-082c-3e0d-b833db5f5fad ValveFaultEvent 26 阀门卡滞或驱动异常 VALVE_FAULT_EVENT t STRUCT 2026-01-26 02:45:23.071586+08 \N \N \N +3a1f0a5d-e61a-9a8e-4cb6-ff1239354edd 3a1f0a5d-e371-082c-3e0d-b833db5f5fad OnlineEvent 27 设备上线 ONLINE_EVENT t STRUCT 2026-01-26 02:45:23.105231+08 \N \N \N +3a1f0a5d-e63b-2794-dd7c-68eabb24d861 3a1f0a5d-e371-082c-3e0d-b833db5f5fad OfflineEvent 28 设备下线 OFFLINE_EVENT t STRUCT 2026-01-26 02:45:23.139152+08 \N \N \N +3a1f0a5d-e65c-8e4e-57ad-636efea23fbc 3a1f0a5d-e371-082c-3e0d-b833db5f5fad BalanceLowEvent 29 预付费余额低于阈值 BALANCE_LOW_EVENT t STRUCT 2026-01-26 02:45:23.170859+08 \N \N \N +3a1f0a5d-e67d-b744-cd06-ec928c77dd29 3a1f0a5d-e371-082c-3e0d-b833db5f5fad BalanceZeroEvent 30 预付费余额耗尽 BALANCE_ZERO_EVENT t STRUCT 2026-01-26 02:45:23.203486+08 \N \N \N +3a1f0a5d-e69d-c7af-8be8-c41324d9ecda 3a1f0a5d-e371-082c-3e0d-b833db5f5fad RechargeEvent 31 预付费充值到账 RECHARGE_EVENT t STRUCT 2026-01-26 02:45:23.235742+08 \N \N \N +\. + + +-- +-- Data for Name: AbpEntityChanges; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpEntityChanges" ("Id", "AuditLogId", "TenantId", "ChangeTime", "ChangeType", "EntityTenantId", "EntityId", "EntityTypeFullName", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: AbpEntityPropertyChanges; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpEntityPropertyChanges" ("Id", "TenantId", "EntityChangeId", "NewValue", "OriginalValue", "PropertyName", "PropertyTypeFullName") FROM stdin; +\. + + +-- +-- Data for Name: AbpFeatureGroups; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpFeatureGroups" ("Id", "Name", "DisplayName", "ExtraProperties") FROM stdin; +3a1f0a93-03dc-6fa5-c6a0-bf486e0b265b SettingManagement L:AbpSettingManagement,Feature:SettingManagementGroup {} +\. + + +-- +-- Data for Name: AbpFeatureValues; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpFeatureValues" ("Id", "Name", "Value", "ProviderName", "ProviderKey") FROM stdin; +\. + + +-- +-- Data for Name: AbpFeatures; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpFeatures" ("Id", "GroupName", "Name", "ParentName", "DisplayName", "Description", "DefaultValue", "IsVisibleToClients", "IsAvailableToHost", "AllowedProviders", "ValueType", "ExtraProperties") FROM stdin; +3a1f0a93-03e0-32d3-9f51-eab0449af6eb SettingManagement SettingManagement.Enable \N L:AbpSettingManagement,Feature:SettingManagementEnable L:AbpSettingManagement,Feature:SettingManagementEnableDescription true t f \N {"name":"ToggleStringValueType","properties":{},"validator":{"name":"BOOLEAN","properties":{}}} {} +3a1f0a93-03ea-6ab1-7bca-18fce16c8591 SettingManagement SettingManagement.AllowChangingEmailSettings SettingManagement.Enable L:AbpSettingManagement,Feature:AllowChangingEmailSettings \N false t f \N {"name":"ToggleStringValueType","properties":{},"validator":{"name":"BOOLEAN","properties":{}}} {} +\. + + +-- +-- Data for Name: AbpFileObjects; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpFileObjects" ("Id", "TenantId", "FileName", "FileSize", "ContentType", "Md5Hash", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpLanguageTexts; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpLanguageTexts" ("Id", "TenantId", "CultureName", "ResourceName", "Name", "Value", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpLanguages; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpLanguages" ("Id", "TenantId", "CultureName", "UiCultureName", "DisplayName", "FlagIcon", "IsEnabled", "IsDefault", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +3a1f0a5d-e6ef-f511-02ba-6afcc06b30d4 \N ar ar العربية t f {} 59617c6ed0254dfd9fa95aea5aa4ceb9 2026-01-26 02:45:23.33227+08 \N \N \N f \N \N +3a1f0a5d-e704-7fd0-492a-a49ad2085eae \N en en English t f {} 49b2bd7d54a143d4805ca20aade680a3 2026-01-26 02:45:23.333065+08 \N \N \N f \N \N +3a1f0a5d-e704-8a54-c73f-edf2896611b4 \N cs cs Čeština t f {} 3399d794a8be4cd48a0e78f0cfd9c299 2026-01-26 02:45:23.332641+08 \N \N \N f \N \N +3a1f0a5d-e705-1eb8-a83a-45cb8a8607b5 \N fr fr Français t f {} 2a2a88e7c03d4bc984640d1ae1a93c39 2026-01-26 02:45:23.333458+08 \N \N \N f \N \N +3a1f0a5d-e705-346b-4c9b-b350e07542f4 \N tr tr Türkçe t f {} 7ca4f4503af34d76bc44d87f6d535878 2026-01-26 02:45:23.333899+08 \N \N \N f \N \N +3a1f0a5d-e705-83b0-5d0c-6d3e6cfb4fce \N ru ru Русский t f {} d0267f15d9a44743a6de94221bc81182 2026-01-26 02:45:23.333792+08 \N \N \N f \N \N +3a1f0a5d-e705-8457-7f33-0261787024eb \N hu hu Magyar t f {} c40142dd6b1e47aabcd6ab2e7e59710f 2026-01-26 02:45:23.333571+08 \N \N \N f \N \N +3a1f0a5d-e705-a8bb-19fb-2a210c973f88 \N zh-Hans zh-Hans 简体中文 t t {} 655eda487e27459da28c128257aa889d 2026-01-26 02:45:23.334004+08 \N \N \N f \N \N +3a1f0a5d-e705-bd39-be60-dd6299f9cea4 \N en-GB en-GB English (UK) t f {} be44a1b87adc40c689352c07773cbcd1 2026-01-26 02:45:23.333342+08 \N \N \N f \N \N +3a1f0a5d-e705-d31c-2857-c878eecd0f2e \N pt-BR pt-BR Português t f {} 3ca6cf2534ce45c19b88aa4b14a01ad0 2026-01-26 02:45:23.33368+08 \N \N \N f \N \N +3a1f0a5d-e706-3961-1dbb-f19c0809c11a \N es es Español t f {} d770b25239f14f21860285e6091f895a 2026-01-26 02:45:23.334327+08 \N \N \N f \N \N +3a1f0a5d-e706-44dd-f4ab-54b2d987255c \N de-DE de-DE Deutsch t f {} d0bf6f9340ff4a2285e8b97b985cfb25 2026-01-26 02:45:23.334222+08 \N \N \N f \N \N +3a1f0a5d-e706-863b-73f5-0082a1cf1b42 \N zh-Hant zh-Hant 繁體中文 t f {} 19fae98c9fae4879969eea3880f5e60f 2026-01-26 02:45:23.334113+08 \N \N \N f \N \N +\. + + +-- +-- Data for Name: AbpLinkUsers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpLinkUsers" ("Id", "SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") FROM stdin; +\. + + +-- +-- Data for Name: AbpNotificationSubscriptions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpNotificationSubscriptions" ("Id", "TenantId", "NotificationId", "ReceiveUserId", "ReceiveUserName", "Read", "ReadTime", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpNotifications; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpNotifications" ("Id", "TenantId", "Title", "Content", "MessageType", "MessageLevel", "SenderUserId", "SenderUserName", "ReceiveUserId", "ReceiveUserName", "Read", "ReadTime", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpOrganizationUnitRoles; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpOrganizationUnitRoles" ("RoleId", "OrganizationUnitId", "TenantId", "CreationTime", "CreatorId") FROM stdin; +\. + + +-- +-- Data for Name: AbpOrganizationUnits; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpOrganizationUnits" ("Id", "TenantId", "ParentId", "Code", "DisplayName", "EntityVersion", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpPermissionGrants; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpPermissionGrants" ("Id", "TenantId", "Name", "ProviderName", "ProviderKey") FROM stdin; +3a1f0a5d-d082-0568-30a8-8ae68b735de3 \N AbpIdentity.Languages R admin +3a1f0a5d-d082-0b01-fffb-52aad0f7cd31 \N OneNETManagement.Account.Update R admin +3a1f0a5d-d082-0b73-96b6-67b5da015641 \N AbpTemplateManagement.Template.Delete R admin +3a1f0a5d-d082-1534-6e6f-1315cdc9250d \N DeviceManagement.DeviceInfo.RepushDevice R admin +3a1f0a5d-d082-16da-eb4d-23f45d6faadf \N AbpIdentity.OrganizationUnitManagement.Update R admin +3a1f0a5d-d082-20cf-c01d-0584128f8f3d \N ThingModelInfo.DeviceThingModelManagement.Update R admin +3a1f0a5d-d082-225c-8c3e-55ffe11426a9 \N CTWingManagement.PrivateProduct R admin +3a1f0a5d-d082-23c1-7cba-5601e2dcdf04 \N DeviceManagement.DeviceInfo R admin +3a1f0a5d-d082-24ce-b4b7-af9161bdf7b0 \N AbpIdentity.DataDictionaryManagement.Delete R admin +3a1f0a5d-d082-2500-7a37-df44ed00de92 \N ThingModelInfo.IoTPlatformThingModelInfo.CacheThingModel R admin +3a1f0a5d-d082-2693-e339-c582edaf6e43 \N AbpTemplateManagement.Template.Export R admin +3a1f0a5d-d082-2846-cb4d-7d62d993b0f8 \N AbpIdentity.AuditLog R admin +3a1f0a5d-d082-2bf5-61b9-ec83fd3943d7 \N AbpIdentity.DataDictionaryManagement R admin +3a1f0a5d-d082-2cff-879d-a33aa2fcddd9 \N AbpTenantManagement.Tenants.ManageConnectionStrings R admin +3a1f0a5d-d082-2ea0-5ae8-2328393e7067 \N FileManagement.File.Upload R admin +3a1f0a5d-d082-351f-a455-1f1e52915be6 \N AbpIdentity.Users.Delete R admin +3a1f0a5d-d082-3ad0-625e-c55da0b35f7d \N AbpIdentity.Users.Export R admin +3a1f0a5d-d082-3b97-abf6-615937a73956 \N ThingModelInfo.IoTPlatformThingModelInfo R admin +3a1f0a5d-d082-3c4c-5103-e110a7bc97bb \N AbpTenantManagement.Tenants.ManageFeatures R admin +3a1f0a5d-d082-4297-6fd1-d4e5b1d302ec \N OneNETManagement.Account R admin +3a1f0a5d-d082-42d0-34ca-0be3efe75950 \N DeviceManagement.DeviceInfo.BatchCreate R admin +3a1f0a5d-d082-45ee-7143-d89d573a39e9 \N AbpIdentity.Users.ManagePermissions R admin +3a1f0a5d-d082-47d6-78d1-e2421359c37b \N AbpIdentity.Users.ResetPassword R admin +3a1f0a5d-d082-4a0f-e19c-aaa765cc9f6e \N FileManagement.File.Delete R admin +3a1f0a5d-d082-4e86-623c-0aea70f3bef7 \N AbpIdentity.LanguageTexts.Update R admin +3a1f0a5d-d082-5086-db33-265c36c61d24 \N AbpIdentity.IdentitySecurityLogs R admin +3a1f0a5d-d082-50a4-964a-79a9a9115383 \N OneNETManagement.PrivateProduct.Delete R admin +3a1f0a5d-d082-56e5-9f2d-86498abb0d98 \N AbpIdentity.Setting R admin +3a1f0a5d-d082-5800-63a1-270fb0a8826f \N DeviceManagement.DeviceFirmwareInfo R admin +3a1f0a5d-d082-58fc-45ae-60624309513c \N AbpIdentity.LanguageTexts.Create R admin +3a1f0a5d-d082-5d86-240a-c807acb16e5d \N AbpIdentity.FeatureManagement R admin +3a1f0a5d-d082-5f75-398a-b78c610adebd \N AbpIdentity.DataDictionaryManagement.Update R admin +3a1f0a5d-d082-603f-830d-a2869f4cef12 \N ThingModelInfo.IoTPlatformThingModelInfo.CopyStandardThingModel R admin +3a1f0a5d-d082-6053-3586-0d3838f39d6d \N AbpIdentity.Users.Enable R admin +3a1f0a5d-d082-61dc-eb76-50334f13b42a \N AbpIdentity.DataDictionaryManagement.Create R admin +3a1f0a5d-d082-630d-416e-117113b0d429 \N ThingModelInfo.DeviceThingModelManagement.Delete R admin +3a1f0a5d-d082-63e3-51e0-5a6b6d0ef847 \N AbpIdentity.NotificationManagement R admin +3a1f0a5d-d082-640a-7659-e06ea97d0dbb \N ThingModelInfo.IoTPlatformThingModelInfo.Create R admin +3a1f0a5d-d082-64cc-547c-af6043ec48aa \N AbpIdentity.LanguageTexts R admin +3a1f0a5d-d082-666d-178f-6fb2d142e027 \N CTWingManagement.Account.Create R admin +3a1f0a5d-d082-67c0-76c3-985e52028f5e \N DeviceManagement.DeviceInfo.Create R admin +3a1f0a5d-d082-67da-5e94-b3117a582b73 \N AbpIdentity.DynamicMenuManagement.Update R admin +3a1f0a5d-d082-6e3f-2daa-049bfc1cb66a \N IoTDBManagement.CTWingLog R admin +3a1f0a5d-d082-6ea1-b02c-0d1a65bd3757 \N SettingManagement.TimeZone R admin +3a1f0a5d-d082-6fb7-1513-4bda16701ad7 \N FeatureManagement.ManageHostFeatures R admin +3a1f0a5d-d082-74a1-8e99-3f5f0e1d2fc7 \N AbpIdentity.OrganizationUnitManagement.Delete R admin +3a1f0a5d-d082-75f5-2d28-66ca7550dd52 \N AbpIdentity.Roles.ManagePermissions R admin +3a1f0a5d-d082-76a8-d145-3267657ee330 \N DeviceManagement.DeviceFirmwareInfo.Update R admin +3a1f0a5d-d082-7725-6ff3-54c96be89121 \N IoTDBManagement.TelemetryLog R admin +3a1f0a5d-d082-7994-2ef8-9eab24a7e315 \N AbpIdentity.Users.Create R admin +3a1f0a5d-d082-7a53-1610-bc49cf9990c4 \N AbpTemplateManagement.Template.Update R admin +3a1f0a5d-d082-7c7f-646d-bea0a6f6eb24 \N AbpIdentity.Users.Update R admin +3a1f0a5d-d082-7db8-41d8-6756874c0cc8 \N AbpIdentity.Roles.Update R admin +3a1f0a5d-d082-827e-0dd2-79d6e3b9be4d \N DeviceManagement.DeviceFirmwareInfo.Create R admin +3a1f0a5d-d082-8545-bfe8-475bf555b1b4 \N AbpIdentity.Users.Update.ManageRoles R admin +3a1f0a5d-d082-864d-8a2d-3def7ab52ac4 \N OneNETManagement.PrivateProduct R admin +3a1f0a5d-d082-8a26-6eba-a4b021534148 \N ThingModelInfo.IoTPlatformThingModelInfo.CopyAnotherThingMode R admin +3a1f0a5d-d082-8c0c-b075-11555629fc39 \N DeviceManagement.DeviceUpgradeRecord.Delete R admin +3a1f0a5d-d082-94e1-5224-af056eb1b5d3 \N OneNETManagement.Account.Create R admin +3a1f0a5d-d082-970e-5ebb-5924e5b1b1c8 \N AbpIdentity.Roles.Delete R admin +3a1f0a5d-d082-9847-1309-627eff9005f4 \N OneNETManagement.PrivateProduct.Update R admin +3a1f0a5d-d082-9abc-0988-65ffd7113887 \N AbpTenantManagement.Tenants.Update R admin +3a1f0a5d-d082-9bd5-9bc6-1f1256c501ae \N ThingModelInfo.DeviceThingModelManagement.Create R admin +3a1f0a5d-d082-9cfb-0a3b-c282fdd5265e \N FileManagement.File.Download R admin +3a1f0a5d-d082-9eaf-7b45-5b33ffcf7dde \N DeviceManagement.DeviceInfo.DeviceCommand R admin +3a1f0a5d-d082-a65a-a2fd-6012cf47693e \N DeviceManagement.DeviceFirmwareInfo.Delete R admin +3a1f0a5d-d082-a873-bf53-389c79eb4352 \N ThingModelInfo.DeviceThingModelManagement R admin +3a1f0a5d-d082-a9dd-7cf1-1791e2ef5969 \N DeviceManagement.DeviceInfo.Update R admin +3a1f0a5d-d082-ad43-961a-c4a74cb3116c \N FileManagement.File R admin +3a1f0a5d-d082-af87-9a0f-ca9962ec4d68 \N ThingModelInfo.IoTPlatformThingModelInfo.Delete R admin +3a1f0a5d-d082-afbf-d9f9-0fb65d1d0863 \N AbpIdentity.Roles.Create R admin +3a1f0a5d-d082-b00c-0fc9-1a3764480848 \N AbpIdentity.Languages.Update R admin +3a1f0a5d-d082-b502-0f17-de7ea18f3178 \N SettingManagement.Emailing R admin +3a1f0a5d-d082-b58e-5dfb-c971e0b8add2 \N AbpIdentity.Users R admin +3a1f0a5d-d082-b710-9c79-d50e9970b840 \N AbpTemplateManagement.Template R admin +3a1f0a5d-d082-badd-ce8f-c4b7f82856df \N OneNETManagement.Account.Delete R admin +3a1f0a5d-d082-be37-60b5-a6f456dbfe1e \N DeviceManagement.DeviceUpgradeRecord.Update R admin +3a1f0a5d-d082-c2b7-c607-446937b11857 \N AbpTemplateManagement.Template.Create R admin +3a1f0a5d-d082-c389-5895-6f4eb04c6b32 \N AbpIdentity.DynamicMenuManagement.Create R admin +3a1f0a5d-d082-c3f0-2e74-561a33c084e3 \N AbpIdentity.DynamicMenuManagement R admin +3a1f0a5d-d082-c8cb-ada0-bc4c1b2979cf \N IoTDBManagement.DeviceData R admin +3a1f0a5d-d082-c95f-5fd1-aed5c3e9d440 \N AbpTenantManagement.Tenants.Create R admin +3a1f0a5d-d082-cbfb-4f9c-7467eaf0a7f7 \N CTWingManagement.Account R admin +3a1f0a5d-d082-cd2e-16ee-e09aa0902b03 \N AbpIdentity.Languages.Delete R admin +3a1f0a5d-d082-d312-8c66-8fa4bc12f820 \N AbpIdentity.OrganizationUnitManagement.Create R admin +3a1f0a5d-d082-d36e-4c7c-b556c1f8d582 \N AbpIdentity.DynamicMenuManagement.Delete R admin +3a1f0a5d-d082-d518-1eb8-6d13616cb7e9 \N DeviceManagement.DeviceInfo.Upgrade R admin +3a1f0a5d-d082-d535-3070-e8a245a74f48 \N AbpTenantManagement.Tenants R admin +3a1f0a5d-d082-d5dc-3754-b8afa760dca4 \N AbpIdentity.NotificationSubscriptionManagement R admin +3a1f0a5d-d082-d6b5-4d47-7bb67023ef56 \N ThingModelInfo.IoTPlatformThingModelInfo.Update R admin +3a1f0a5d-d082-dbf8-db12-cee384f12f70 \N DeviceManagement.DeviceUpgradeRecord.Create R admin +3a1f0a5d-d082-dc63-8c06-315eba2e0052 \N OneNETManagement.PrivateProduct.Create R admin +3a1f0a5d-d082-e001-1cf7-99c7506e7ab2 \N AbpIdentity.Roles R admin +3a1f0a5d-d082-e15f-453c-871617fbc061 \N AbpIdentity.Languages.Create R admin +3a1f0a5d-d082-e3b1-d66b-25f68729c5cc \N ThingModelInfo.DeviceThingModelManagement.CacheThingModel R admin +3a1f0a5d-d082-e529-e9e9-07de8c64670f \N AbpIdentity.Languages.ChangeDefault R admin +3a1f0a5d-d082-e539-7664-4242c5352f4e \N CTWingManagement.PrivateProduct.Create R admin +3a1f0a5d-d082-eafe-58a3-5ebbe01c4a5c \N DeviceManagement.DeviceInfo.Delete R admin +3a1f0a5d-d082-ebf1-ed83-d4f4085a94fa \N IoTDBManagement.OneNETLog R admin +3a1f0a5d-d082-ef5f-43ef-f4a7293a6429 \N SettingManagement.Emailing.Test R admin +3a1f0a5d-d082-f0fb-ccd0-4c6ded5855ca \N AbpIdentity.Users.ResetTwoFactor R admin +3a1f0a5d-d082-f987-0994-2b760bda5a79 \N ThingModelInfo.DeviceThingModelManagement.CopyAnotherThingMode R admin +3a1f0a5d-d082-fb8d-ed04-4869f87a7cb2 \N AbpTenantManagement.Tenants.Delete R admin +3a1f0a5d-d082-fe03-6290-9c88c0f2811f \N DeviceManagement.DeviceUpgradeRecord R admin +3a1f0a5d-d082-fed0-a1a8-47feaf5ceca6 \N AbpIdentity.OrganizationUnitManagement R admin +\. + + +-- +-- Data for Name: AbpPermissionGroups; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpPermissionGroups" ("Id", "Name", "DisplayName", "ExtraProperties") FROM stdin; +3a1f0a93-042f-6893-8e7c-0e53ebbaa30f AbpIdentity L:AbpIdentity,Permission:IdentityManagement {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0433-1d24-fa48-ddff81f5526e SettingManagement L:AbpSettingManagement,Permission:SettingManagement {"_CurrentProviderName":"Volo.Abp.SettingManagement.SettingManagementPermissionDefinitionProvider"} +3a1f0a93-0433-eac0-edda-a8fedeee5a73 FeatureManagement L:AbpFeatureManagement,Permission:FeatureManagement {"_CurrentProviderName":"Volo.Abp.FeatureManagement.FeaturePermissionDefinitionProvider"} +3a1f0a93-0434-07f8-4b06-73d2ca26c472 CTWingManagement L:CTWingManagement,Permission:CTWingManagement {"_CurrentProviderName":"JiShe.ServicePro.CTWingManagement.Permissions.CTWingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-40e4-1b4b-92dd25b61348 DeviceManagement L:DeviceManagement,Permission:DeviceManagement {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-48ef-0e20-5a1940c7a898 AbpTemplateManagement L:TemplateManagement,Permission:TemplateManagement {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-79e4-de4e-aabb53c96154 FileManagement L:FileManagement,Permission:FileManagement {"_CurrentProviderName":"JiShe.ServicePro.FileManagement.Permissions.FileManagementPermissionDefinitionProvider"} +3a1f0a93-0434-bea7-9d08-9f4c5355ac1e IoTDBManagement L:IoTDBManagement,Permission:IoTDBManagement {"_CurrentProviderName":"JiShe.ServicePro.IoTDBManagement.Permissions.IoTDBManagementPermissionDefinitionProvider"} +3a1f0a93-0434-c0f4-772d-4c655bc053dc ThingModelInfo L:DeviceManagement,Permission:ThingModelInfo {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ccaa-f975-bbd2d1f9f3b8 OneNETManagement L:OneNETManagement,Permission:OneNETManagement {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-dfe9-cd8f-02552c719d58 AbpTenantManagement L:AbpTenantManagement,Permission:TenantManagement {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +\. + + +-- +-- Data for Name: AbpPermissions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpPermissions" ("Id", "GroupName", "Name", "ParentName", "DisplayName", "IsEnabled", "MultiTenancySide", "Providers", "StateCheckers", "ExtraProperties") FROM stdin; +3a1f0a93-0431-adf7-d957-6a104fd0c10b AbpIdentity AbpIdentity.Roles \N L:AbpIdentity,Permission:RoleManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-07d3-5835-e7f74c3c18d1 AbpIdentity AbpIdentity.OrganizationUnitManagement.Delete AbpIdentity.OrganizationUnitManagement L:BasicManagement,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-0af5-bf16-88476ab01ca4 AbpIdentity AbpIdentity.IdentitySecurityLogs \N L:BasicManagement,Permission:IdentitySecurityLog t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-0c6d-ef94-d789a5b45ab2 AbpIdentity AbpIdentity.DataDictionaryManagement.Update AbpIdentity.DataDictionaryManagement L:DataDictionaryManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-1061-0cf8-25a70fdea166 AbpIdentity AbpIdentity.NotificationManagement \N L:NotificationManagement,Permission:NotificationManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-133d-663d-8540168ae705 AbpIdentity AbpIdentity.LanguageTexts.Create AbpIdentity.LanguageTexts L:LanguageManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-13b7-b376-74aef897f56e AbpIdentity AbpIdentity.AuditLog \N L:BasicManagement,Permission:AuditLogManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-215f-b220-2e3827dbedd0 AbpIdentity AbpIdentity.LanguageTexts \N L:LanguageManagement,Permission:LanguageTexts t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-36be-bde7-3dfd3ca57747 AbpIdentity AbpIdentity.Users.ResetPassword AbpIdentity.Users L:BasicManagement,Permission:ResetPassword t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-3c4f-e4a0-09c12633072f AbpIdentity AbpIdentity.Users.Delete AbpIdentity.Users L:AbpIdentity,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-4a3a-9688-a92d2f74e55d AbpIdentity AbpIdentity.Roles.ManagePermissions AbpIdentity.Roles L:AbpIdentity,Permission:ChangePermissions t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-5326-901a-ed84528038d4 AbpIdentity AbpIdentity.DynamicMenuManagement \N L:DynamicMenuManagement,Permission:DynamicMenuManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-59d0-9fd9-0d935a31acf4 AbpIdentity AbpIdentity.Roles.Delete AbpIdentity.Roles L:AbpIdentity,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-6eda-a9dd-aaa53e7fcf14 AbpIdentity AbpIdentity.Users.ManagePermissions AbpIdentity.Users L:AbpIdentity,Permission:ChangePermissions t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-70b5-3e31-5e25dac588b7 AbpIdentity AbpIdentity.Users \N L:AbpIdentity,Permission:UserManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-76c0-1c35-45c67d6baeb5 AbpIdentity AbpIdentity.OrganizationUnitManagement.Update AbpIdentity.OrganizationUnitManagement L:BasicManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-7d92-0b65-ac7c0f23a6ca AbpIdentity AbpIdentity.Roles.Create AbpIdentity.Roles L:AbpIdentity,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-7ede-87d9-5928583eb5be AbpIdentity AbpIdentity.DataDictionaryManagement \N L:DataDictionaryManagement,Permission:DataDictionaryManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-8418-0658-f036fb15d809 AbpIdentity AbpIdentity.DataDictionaryManagement.Create AbpIdentity.DataDictionaryManagement L:DataDictionaryManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-8428-d7e1-969b9e3091a8 AbpIdentity AbpIdentity.OrganizationUnitManagement \N L:BasicManagement,Permission:OrganizationUnitManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-853d-584c-0f28da7d84e5 AbpIdentity AbpIdentity.DataDictionaryManagement.Delete AbpIdentity.DataDictionaryManagement L:DataDictionaryManagement,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-8c86-f0a9-30bfef66852f AbpIdentity AbpIdentity.Languages \N L:LanguageManagement,Permission:Languages t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-8f1b-3cff-4899e671e78d AbpIdentity AbpIdentity.NotificationSubscriptionManagement \N L:NotificationManagement,Permission:NotificationSubscriptionManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-99d4-049d-256c46ffb638 AbpIdentity AbpIdentity.Users.ResetTwoFactor AbpIdentity.Users L:BasicManagement,Permission:ResetUserTwoFactor t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-9b70-f6ea-13fd8b9258d9 AbpIdentity AbpIdentity.UserLookup \N L:AbpIdentity,Permission:UserLookup t 3 C \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-9d4c-0eb4-432d24b5d177 AbpIdentity AbpIdentity.Setting \N L:BasicManagement,Permission:SettingManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-a234-e1fd-39fd43863a33 AbpIdentity AbpIdentity.LanguageTexts.Update AbpIdentity.LanguageTexts L:LanguageManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-a7f6-8180-414f38b767a3 AbpIdentity AbpIdentity.Users.Enable AbpIdentity.Users L:BasicManagement,Permission:Enable t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-ae87-3d8b-d9f4a36d91e8 AbpIdentity AbpIdentity.Users.Update AbpIdentity.Users L:AbpIdentity,Permission:Edit t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-b525-8e36-00ed9743e2cd AbpIdentity AbpIdentity.Languages.Delete AbpIdentity.Languages L:LanguageManagement,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-b79a-7aae-1bd30e30bd15 AbpIdentity AbpIdentity.Roles.Update AbpIdentity.Roles L:AbpIdentity,Permission:Edit t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-c5f2-8140-0ce89ea8b5c3 AbpIdentity AbpIdentity.FeatureManagement \N L:BasicManagement,Permission:FeatureManagement t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-d5bd-a0ab-f90f34670f89 AbpIdentity AbpIdentity.Users.Update.ManageRoles AbpIdentity.Users.Update L:AbpIdentity,Permission:ManageRoles t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-d753-72df-3f5d39b715da AbpIdentity AbpIdentity.DynamicMenuManagement.Create AbpIdentity.DynamicMenuManagement L:DynamicMenuManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-dbd1-d751-847b3beb47d1 AbpIdentity AbpIdentity.Languages.Update AbpIdentity.Languages L:LanguageManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-e107-7e66-aa5f4578d2ab AbpIdentity AbpIdentity.Users.Export AbpIdentity.Users L:BasicManagement,Permission:Export t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-e30a-6c5c-4b0be4c41bad AbpIdentity AbpIdentity.Languages.ChangeDefault AbpIdentity.Languages L:LanguageManagement,Permission:LanguagesChangeDefault t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-e3c3-a871-6b7da2913c08 AbpIdentity AbpIdentity.Users.Create AbpIdentity.Users L:AbpIdentity,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-e440-13d6-5af34b49b45f AbpIdentity AbpIdentity.Languages.Create AbpIdentity.Languages L:LanguageManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0432-f0de-33b5-270a33ef1b18 AbpIdentity AbpIdentity.OrganizationUnitManagement.Create AbpIdentity.OrganizationUnitManagement L:BasicManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0433-1237-87c8-90defe6dd87c AbpIdentity AbpIdentity.DynamicMenuManagement.Update AbpIdentity.DynamicMenuManagement L:DynamicMenuManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0433-31cb-a05a-38202799b0d3 AbpIdentity AbpIdentity.DynamicMenuManagement.Delete AbpIdentity.DynamicMenuManagement L:DynamicMenuManagement,Permission:Delete t 3 \N \N {"_CurrentProviderName":"Volo.Abp.Identity.IdentityPermissionDefinitionProvider"} +3a1f0a93-0433-6fea-b021-c48468ee6346 FeatureManagement FeatureManagement.ManageHostFeatures \N L:AbpFeatureManagement,Permission:FeatureManagement.ManageHostFeatures t 2 \N \N {"_CurrentProviderName":"Volo.Abp.FeatureManagement.FeaturePermissionDefinitionProvider"} +3a1f0a93-0433-f6c6-e241-f7250c8ed3c9 SettingManagement SettingManagement.Emailing \N L:AbpSettingManagement,Permission:Emailing t 3 \N \N {"_CurrentProviderName":"Volo.Abp.SettingManagement.SettingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-037c-7490-cd430bc6df58 IoTDBManagement IoTDBManagement.OneNETLog \N L:IoTDBManagement,Permission:OneNETLog t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.IoTDBManagement.Permissions.IoTDBManagementPermissionDefinitionProvider"} +3a1f0a93-0434-03ee-d181-766f39e95e35 ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.CopyAnotherThingMode ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:CopyAnotherThingMode t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-048b-9825-1da831b28cc8 ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.CopyStandardThingModel ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:CopyStandardThingModel t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-0c46-4daf-f57450ddc1e3 AbpTenantManagement AbpTenantManagement.Tenants.Delete AbpTenantManagement.Tenants L:AbpTenantManagement,Permission:Delete t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-15b6-6c90-84bc225c09fb ThingModelInfo ThingModelInfo.DeviceThingModelManagement.Update ThingModelInfo.DeviceThingModelManagement L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-1e62-12fa-188a836021d1 CTWingManagement CTWingManagement.Account.Create CTWingManagement.Account L:CTWingManagement,Permission:CTWingManagement:Account:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.CTWingManagement.Permissions.CTWingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-1f01-5dd0-b822e02fdb15 CTWingManagement CTWingManagement.Account \N L:CTWingManagement,Permission:CTWingManagement:Account t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.CTWingManagement.Permissions.CTWingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-257e-a699-7012737363ea ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.Update ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-2761-5a54-b3feb7f3b422 DeviceManagement DeviceManagement.DeviceInfo.Delete DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-297d-20aa-e2f205fbb44a AbpTenantManagement AbpTenantManagement.Tenants.Create AbpTenantManagement.Tenants L:AbpTenantManagement,Permission:Create t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-2be7-7798-597387cf37ff DeviceManagement DeviceManagement.DeviceFirmwareInfo.Create DeviceManagement.DeviceFirmwareInfo L:DeviceManagement,Permission:DeviceManagement:DeviceFirmwareInfo:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-34b6-b905-3622061bcceb DeviceManagement DeviceManagement.DeviceUpgradeRecord \N L:DeviceManagement,Permission:DeviceManagement:DeviceUpgradeRecord t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-386f-2f26-96f8d08a52f2 ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.Delete ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-3b4a-43ff-65b02f6bc5fc OneNETManagement OneNETManagement.Account \N L:OneNETManagement,Permission:OneNETManagement:Account t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-4602-70ab-ba407af73c28 DeviceManagement DeviceManagement.DeviceInfo.RepushDevice DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:RepushDevice t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-4973-0a91-216ba642cc0a DeviceManagement DeviceManagement.DeviceInfo \N L:DeviceManagement,Permission:DeviceManagement:DeviceInfo t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-4a0e-c4c9-278a144792a8 OneNETManagement OneNETManagement.PrivateProduct.Delete OneNETManagement.PrivateProduct L:OneNETManagement,Permission:OneNETManagement:PrivateProduct:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-5211-1361-ffab0f6a4454 DeviceManagement DeviceManagement.DeviceUpgradeRecord.Delete DeviceManagement.DeviceUpgradeRecord L:DeviceManagement,Permission:DeviceManagement:DeviceUpgradeRecord:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-5354-9139-c389cf61aa57 ThingModelInfo ThingModelInfo.DeviceThingModelManagement.Create ThingModelInfo.DeviceThingModelManagement L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-546a-7279-93382e3b85c0 DeviceManagement DeviceManagement.DeviceInfo.DeviceCommand DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:DeviceCommand t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-5cbc-c16d-d6e8c3c81e0e AbpTenantManagement AbpTenantManagement.Tenants.Update AbpTenantManagement.Tenants L:AbpTenantManagement,Permission:Edit t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-613b-2726-8750d073b691 ThingModelInfo ThingModelInfo.DeviceThingModelManagement \N L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-65e5-92ab-6999ae10d386 ThingModelInfo ThingModelInfo.DeviceThingModelManagement.CopyAnotherThingMode ThingModelInfo.DeviceThingModelManagement L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement:CopyAnotherThingMode t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-6aef-d6a9-d7201ffc909b OneNETManagement OneNETManagement.Account.Update OneNETManagement.Account L:OneNETManagement,Permission:OneNETManagement:Account:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-6c28-51d2-7a5f451dcd85 DeviceManagement DeviceManagement.DeviceInfo.Update DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-6c4e-ba18-0aa875e03c60 SettingManagement SettingManagement.Emailing.Test SettingManagement.Emailing L:AbpSettingManagement,Permission:EmailingTest t 3 \N \N {"_CurrentProviderName":"Volo.Abp.SettingManagement.SettingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-7406-e612-2f20d58ec3a7 IoTDBManagement IoTDBManagement.TelemetryLog \N L:IoTDBManagement,Permission:TelemetryLog t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.IoTDBManagement.Permissions.IoTDBManagementPermissionDefinitionProvider"} +3a1f0a93-0434-75ce-61c6-13e1305420fc ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.CacheThingModel ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:CacheThingModel t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-773a-1c90-e4a3929a9e05 ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo \N L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-774b-ce82-9945cc90bdb8 IoTDBManagement IoTDBManagement.CTWingLog \N L:IoTDBManagement,Permission:CTWingLog t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.IoTDBManagement.Permissions.IoTDBManagementPermissionDefinitionProvider"} +3a1f0a93-0434-89a3-3c16-5e4fa77edd69 SettingManagement SettingManagement.TimeZone \N L:AbpSettingManagement,Permission:TimeZone t 3 \N \N {"_CurrentProviderName":"Volo.Abp.SettingManagement.SettingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-8bba-f7d0-bcf58aeaaf30 DeviceManagement DeviceManagement.DeviceInfo.Create DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9644-a1a5-d3eb3c29f4ae AbpTenantManagement AbpTenantManagement.Tenants \N L:AbpTenantManagement,Permission:TenantManagement t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9954-6987-bb7a4cb41090 AbpTenantManagement AbpTenantManagement.Tenants.ManageConnectionStrings AbpTenantManagement.Tenants L:AbpTenantManagement,Permission:ManageConnectionStrings t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9c15-94cd-d11f99a319a7 DeviceManagement DeviceManagement.DeviceUpgradeRecord.Create DeviceManagement.DeviceUpgradeRecord L:DeviceManagement,Permission:DeviceManagement:DeviceUpgradeRecord:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9c3a-b095-a122b9ce039d FileManagement FileManagement.File.Download FileManagement.File L:FileManagement,Permission:FileManagement:File:Download t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.FileManagement.Permissions.FileManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9c4c-8e76-b257263a8195 DeviceManagement DeviceManagement.DeviceInfo.BatchCreate DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:BatchCreate t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9d80-f4a1-f98177ab1ae3 FileManagement FileManagement.File.Upload FileManagement.File L:FileManagement,Permission:FileManagement:File:Upload t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.FileManagement.Permissions.FileManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9e7e-d12c-8073382aba7b ThingModelInfo ThingModelInfo.DeviceThingModelManagement.CacheThingModel ThingModelInfo.DeviceThingModelManagement L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement:CacheThingModel t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-9f71-b294-eb2ca774f54f DeviceManagement DeviceManagement.DeviceUpgradeRecord.Update DeviceManagement.DeviceUpgradeRecord L:DeviceManagement,Permission:DeviceManagement:DeviceUpgradeRecord:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-a2e1-f4c9-e20a0ef63f8c OneNETManagement OneNETManagement.PrivateProduct.Create OneNETManagement.PrivateProduct L:OneNETManagement,Permission:OneNETManagement:PrivateProduct:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ab01-bc74-6ed511fb636c AbpTemplateManagement AbpTemplateManagement.Template.Export AbpTemplateManagement.Template L:TemplateManagement,Permission:Export t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-abba-2397-4c50bea545f9 AbpTenantManagement AbpTenantManagement.Tenants.ManageFeatures AbpTenantManagement.Tenants L:AbpTenantManagement,Permission:ManageFeatures t 2 \N \N {"_CurrentProviderName":"Volo.Abp.TenantManagement.AbpTenantManagementPermissionDefinitionProvider"} +3a1f0a93-0434-aca7-ae46-c0830d742d23 IoTDBManagement IoTDBManagement.DeviceData \N L:IoTDBManagement,Permission:IoTDBManagement t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.IoTDBManagement.Permissions.IoTDBManagementPermissionDefinitionProvider"} +3a1f0a93-0434-b069-e21a-ab97acf8db21 DeviceManagement DeviceManagement.DeviceFirmwareInfo.Update DeviceManagement.DeviceFirmwareInfo L:DeviceManagement,Permission:DeviceManagement:DeviceFirmwareInfo:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-b808-66ac-694fbb1cd8c1 ThingModelInfo ThingModelInfo.IoTPlatformThingModelInfo.Create ThingModelInfo.IoTPlatformThingModelInfo L:DeviceManagement,Permission:ThingModelInfo:IoTPlatformThingModelInfo:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-bb7d-5da3-51ec73b03683 OneNETManagement OneNETManagement.PrivateProduct \N L:OneNETManagement,Permission:OneNETManagement:PrivateProduct t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-bc52-3163-eddec12cebb6 OneNETManagement OneNETManagement.PrivateProduct.Update OneNETManagement.PrivateProduct L:OneNETManagement,Permission:OneNETManagement:PrivateProduct:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-be5a-832b-a162966db6e0 AbpTemplateManagement AbpTemplateManagement.Template.Update AbpTemplateManagement.Template L:TemplateManagement,Permission:Update t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-c0ae-ce2c-7d07cffcaea5 CTWingManagement CTWingManagement.PrivateProduct \N L:CTWingManagement,Permission:CTWingManagement:PrivateProduct t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.CTWingManagement.Permissions.CTWingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-c0e1-eeff-7ea9a861117f FileManagement FileManagement.File \N L:FileManagement,Permission:FileManagement:File t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.FileManagement.Permissions.FileManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ca45-3b4e-d2e39d720e7f CTWingManagement CTWingManagement.PrivateProduct.Create CTWingManagement.PrivateProduct L:CTWingManagement,Permission:CTWingManagement:PrivateProduct:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.CTWingManagement.Permissions.CTWingManagementPermissionDefinitionProvider"} +3a1f0a93-0434-dd1e-a585-181b9a41f029 DeviceManagement DeviceManagement.DeviceFirmwareInfo.Delete DeviceManagement.DeviceFirmwareInfo L:DeviceManagement,Permission:DeviceManagement:DeviceFirmwareInfo:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-de17-7d1d-72d528279eca OneNETManagement OneNETManagement.Account.Delete OneNETManagement.Account L:OneNETManagement,Permission:OneNETManagement:Account:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-e107-3ab3-dc1fc0a044d7 DeviceManagement DeviceManagement.DeviceInfo.Upgrade DeviceManagement.DeviceInfo L:DeviceManagement,Permission:DeviceManagement:DeviceInfo:Upgrade t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ebad-f397-6daded4aa042 AbpTemplateManagement AbpTemplateManagement.Template.Create AbpTemplateManagement.Template L:TemplateManagement,Permission:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ef96-6b17-c4428057e900 FileManagement FileManagement.File.Delete FileManagement.File L:FileManagement,Permission:FileManagement:File:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.FileManagement.Permissions.FileManagementPermissionDefinitionProvider"} +3a1f0a93-0434-f1e3-68db-0e1d53b423da AbpTemplateManagement AbpTemplateManagement.Template.Delete AbpTemplateManagement.Template L:TemplateManagement,Permission:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-f5fc-645e-9a287f4ae510 DeviceManagement DeviceManagement.DeviceFirmwareInfo \N L:DeviceManagement,Permission:DeviceManagement:DeviceFirmwareInfo t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +3a1f0a93-0434-fcad-23cd-0eb4b83e375e OneNETManagement OneNETManagement.Account.Create OneNETManagement.Account L:OneNETManagement,Permission:OneNETManagement:Account:Create t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.OneNETManagement.Permissions.OneNETManagementPermissionDefinitionProvider"} +3a1f0a93-0434-fce4-ed33-e1680e89e377 AbpTemplateManagement AbpTemplateManagement.Template \N L:TemplateManagement,Permission:TemplateManagementList t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.TemplateManagement.Permissions.TemplateManagementPermissionDefinitionProvider"} +3a1f0a93-0434-ff63-ebdd-a3ce75ff2ad4 ThingModelInfo ThingModelInfo.DeviceThingModelManagement.Delete ThingModelInfo.DeviceThingModelManagement L:DeviceManagement,Permission:ThingModelInfo:DeviceThingModelManagement:Delete t 3 \N \N {"_CurrentProviderName":"JiShe.ServicePro.DeviceManagement.Permissions.DeviceManagementPermissionDefinitionProvider"} +\. + + +-- +-- Data for Name: AbpRoleClaims; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpRoleClaims" ("Id", "RoleId", "TenantId", "ClaimType", "ClaimValue") FROM stdin; +\. + + +-- +-- Data for Name: AbpRoles; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpRoles" ("Id", "TenantId", "Name", "NormalizedName", "IsDefault", "IsStatic", "IsPublic", "EntityVersion", "CreationTime", "ExtraProperties", "ConcurrencyStamp") FROM stdin; +3a1f0a5d-ceeb-3611-b0b0-bc9220d9c605 \N admin ADMIN t t t 3 2026-01-26 02:45:17.186404+08 {} 0bfbc8d3c99d435981df949c87bb2aaa +\. + + +-- +-- Data for Name: AbpSecurityLogs; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpSecurityLogs" ("Id", "TenantId", "ApplicationName", "Identity", "Action", "UserId", "UserName", "TenantName", "ClientId", "CorrelationId", "ClientIpAddress", "BrowserInfo", "CreationTime", "ExtraProperties", "ConcurrencyStamp") FROM stdin; +\. + + +-- +-- Data for Name: AbpSessions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpSessions" ("Id", "SessionId", "Device", "DeviceInfo", "TenantId", "UserId", "ClientId", "IpAddresses", "SignedIn", "LastAccessed", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: AbpSettingDefinitions; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpSettingDefinitions" ("Id", "Name", "DisplayName", "Description", "DefaultValue", "IsVisibleToClients", "Providers", "IsInherited", "IsEncrypted", "ExtraProperties") FROM stdin; +3a1f0a93-0454-1bf3-a500-e07dae57b9de Abp.Localization.DefaultLanguage L:AbpLocalization,DisplayName:Abp.Localization.DefaultLanguage L:AbpLocalization,Description:Abp.Localization.DefaultLanguage zh-Hans t \N t f {"Setting.Group":"Setting.Group.System","Type":"Text"} +3a1f0a93-0455-01a9-63a6-5b295a541521 Setting.Group.Oidc.Gitee.Icon L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Icon L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Icon mdi:git f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Type":"Text","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-038b-23a6-f981681f2c62 Abp.Mailing.Smtp.Host L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.Host L:AbpEmailing,Description:Abp.Mailing.Smtp.Host 127.0.0.1 f \N t f {} +3a1f0a93-0455-049b-5a1c-4c747a8e8014 Abp.Mailing.Smtp.EnableSsl L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.EnableSsl L:AbpEmailing,Description:Abp.Mailing.Smtp.EnableSsl false f \N t f {} +3a1f0a93-0455-134f-ffb9-5def607de382 Setting.Group.Oidc.Gitee.AuthUri L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.AuthUri L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.AuthUri https://gitee.com/oauth/authorize?client_id=你的clientId&redirect_uri=你的回调地址&response_type=code&state=Gitee f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-1573-deb1-9780e15ce40d Abp.Timing.TimeZone L:BasicManagement,DisplayName:Abp.Timing.Timezone L:BasicManagement,Description:Abp.Timing.Timezone China Standard Time f \N t f {"Setting.Group":"Setting.Group.System","Type":"Text"} +3a1f0a93-0455-1777-26e9-e463b854afe7 Abp.Mailing.Smtp.Domain L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.Domain L:AbpEmailing,Description:Abp.Mailing.Smtp.Domain \N f \N t f {} +3a1f0a93-0455-21d7-e9f3-c0e3b609a446 Abp.Identity.Password.RequiredLength L:AbpIdentity,DisplayName:Abp.Identity.Password.RequiredLength L:AbpIdentity,Description:Abp.Identity.Password.RequiredLength 6 t \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-2493-18b1-c396ac48eeb8 EnableExpireRequiredChangePassword L:BasicManagement,EnableExpireRequiredChangePassword L:BasicManagement,Description:EnableExpireRequiredChangePassword false f \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +3a1f0a93-0455-2d25-e03f-a7b3edbca366 Abp.Mailing.DefaultFromDisplayName L:AbpEmailing,DisplayName:Abp.Mailing.DefaultFromDisplayName L:AbpEmailing,Description:Abp.Mailing.DefaultFromDisplayName ABP application f \N t f {} +3a1f0a93-0455-2ff6-7d11-f7cae40d4f5c Abp.Identity.SignIn.RequireEmailVerificationToRegister L:AbpIdentity,DisplayName:Abp.Identity.SignIn.RequireEmailVerificationToRegister L:AbpIdentity,Description:Abp.Identity.SignIn.RequireEmailVerificationToRegister False f \N t f {} +3a1f0a93-0455-366f-2b25-21c80afe3212 PasswordRemindDay L:BasicManagement,PasswordRemindDay L:BasicManagement,Description:PasswordRemindDay 7 f \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-4054-6216-eb74916acec3 Setting.Group.Oidc.Gitee.ClientSecret L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientSecret L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientSecret gitee颁发的clientSecret f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-408f-b856-a7957e65d987 Setting.Group.Oidc.Github.RedirectUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.RedirectUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.RedirectUrl http://localhost:4200/auth/oidc-login f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-52c4-fb24-7aefaae5badd Abp.Identity.SignIn.EnablePhoneNumberConfirmation L:AbpIdentity,DisplayName:Abp.Identity.SignIn.EnablePhoneNumberConfirmation L:AbpIdentity,Description:Abp.Identity.SignIn.EnablePhoneNumberConfirmation True t \N t f {} +3a1f0a93-0455-5b7d-dccd-fc441f670977 Abp.Identity.Password.PasswordChangePeriodDays L:AbpIdentity,DisplayName:Abp.Identity.Password.PasswordChangePeriodDays L:AbpIdentity,Description:Abp.Identity.Password.PasswordChangePeriodDays 0 t \N t f {} +3a1f0a93-0455-5e31-6bdd-5db9ce3719ce Setting.Group.Oidc.Gitee.Enabled L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Enabled L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Enabled false f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Type":"CheckBox","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-637e-caaa-0de8df50813d EnableNewAccountRequiredChangePassword L:BasicManagement,EnableNewAccountRequiredChangePassword L:BasicManagement,Description:EnableNewAccountRequiredChangePassword false f \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +3a1f0a93-0455-6802-8cbc-1a618834a4a4 Setting.Group.Oidc.Github.ClientSecret L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientSecret L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientSecret github颁发的clientSecret f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-69ad-c554-a42a2c1417b3 Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword L:AbpIdentity,DisplayName:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword L:AbpIdentity,Description:Abp.Identity.Password.ForceUsersToPeriodicallyChangePassword False t \N t f {} +3a1f0a93-0455-6ac5-0c29-31444e4623b2 Setting.Group.Oidc.Github.Enabled L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Enabled L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Enabled false f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Type":"CheckBox","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-6cbd-bf17-a88538204ed0 Abp.Identity.Password.RequireLowercase L:AbpIdentity,DisplayName:Abp.Identity.Password.RequireLowercase L:AbpIdentity,Description:Abp.Identity.Password.RequireLowercase True t \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +3a1f0a93-0455-6e5a-86c7-49920ed121af Abp.Identity.Lockout.AllowedForNewUsers L:AbpIdentity,DisplayName:Abp.Identity.Lockout.AllowedForNewUsers L:AbpIdentity,Description:Abp.Identity.Lockout.AllowedForNewUsers True t \N t f {} +3a1f0a93-0455-71c2-e763-450fda70d321 Abp.Mailing.Smtp.UserName L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.UserName L:AbpEmailing,Description:Abp.Mailing.Smtp.UserName \N f \N t f {} +3a1f0a93-0455-72be-34db-171e144ac82c Abp.Identity.SignIn.RequireConfirmedPhoneNumber L:AbpIdentity,DisplayName:Abp.Identity.SignIn.RequireConfirmedPhoneNumber L:AbpIdentity,Description:Abp.Identity.SignIn.RequireConfirmedPhoneNumber False t \N t f {} +3a1f0a93-0455-76b6-ffe6-c04ed63ffaa9 Abp.Identity.Password.RequiredUniqueChars L:AbpIdentity,DisplayName:Abp.Identity.Password.RequiredUniqueChars L:AbpIdentity,Description:Abp.Identity.Password.RequiredUniqueChars 1 t \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-7a43-0e7c-bec5b4cca38f Setting.Group.Oidc.Gitee.RedirectUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.RedirectUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.RedirectUrl http://localhost:4200/auth/oidc-login f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-8676-bcdb-68f04622e999 Abp.Identity.Password.RequireDigit L:AbpIdentity,DisplayName:Abp.Identity.Password.RequireDigit L:AbpIdentity,Description:Abp.Identity.Password.RequireDigit True t \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +3a1f0a93-0455-8b84-f8eb-481f9319010a Abp.Mailing.Smtp.UseDefaultCredentials L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.UseDefaultCredentials L:AbpEmailing,Description:Abp.Mailing.Smtp.UseDefaultCredentials true f \N t f {} +3a1f0a93-0455-9590-bc3a-e6d7f4fe1342 Setting.Group.Oidc.Github.ClientName L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientName L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientName 应用名称,保持和github的一致 f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-98c0-e1cb-530e90af4049 Setting.Group.TwoFactory.QRCodeSize L:ServiceProLocalizationResource,JiShe.ServicePro:TwoFactory.QRCodeSize L:ServiceProLocalizationResource,JiShe.ServicePro:TwoFactory.QRCodeSize 3 f \N t f {"Setting.Group":"Setting.Group.TwoFactory","Type":"Number"} +3a1f0a93-0455-9cb1-f087-125ac0270b2e Setting.Group.Oidc.Github.Icon L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Icon L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.Icon mdi:github f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Type":"Text","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-a260-b7fa-e19e98fac5f8 Abp.Identity.Lockout.LockoutDuration L:AbpIdentity,DisplayName:Abp.Identity.Lockout.LockoutDuration L:AbpIdentity,Description:Abp.Identity.Lockout.LockoutDuration 300 t \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-a8bd-ead0-99725504cbd5 Setting.Group.Oidc.Github.HostUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.HostUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.HostUrl https://github.com f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-aa55-6361-2809a76e0146 Abp.Mailing.Smtp.Password L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.Password L:AbpEmailing,Description:Abp.Mailing.Smtp.Password \N f \N t t {} +3a1f0a93-0455-b028-9d94-8ec95cd2a825 Abp.Mailing.Smtp.Port L:AbpEmailing,DisplayName:Abp.Mailing.Smtp.Port L:AbpEmailing,Description:Abp.Mailing.Smtp.Port 25 f \N t f {} +3a1f0a93-0455-b2ca-fef2-2f489d5d6cc9 Abp.Identity.Password.RequireNonAlphanumeric L:AbpIdentity,DisplayName:Abp.Identity.Password.RequireNonAlphanumeric L:AbpIdentity,Description:Abp.Identity.Password.RequireNonAlphanumeric True t \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +3a1f0a93-0455-b435-9fc0-ca9e156ef878 Abp.Identity.SignIn.RequireConfirmedEmail L:AbpIdentity,DisplayName:Abp.Identity.SignIn.RequireConfirmedEmail L:AbpIdentity,Description:Abp.Identity.SignIn.RequireConfirmedEmail False t \N t f {} +3a1f0a93-0455-bb50-a9a5-2598f8df9a17 Abp.Identity.OrganizationUnit.MaxUserMembershipCount L:AbpIdentity,Identity.OrganizationUnit.MaxUserMembershipCount L:AbpIdentity,Identity.OrganizationUnit.MaxUserMembershipCount 2147483647 t \N t f {} +3a1f0a93-0455-bbe9-3e43-a235a2705eb2 Abp.Mailing.DefaultFromAddress L:AbpEmailing,DisplayName:Abp.Mailing.DefaultFromAddress L:AbpEmailing,Description:Abp.Mailing.DefaultFromAddress noreply@abp.io f \N t f {} +3a1f0a93-0455-c1cf-f402-8ca13f2c8b7e Setting.Group.Oidc.Gitee.HostUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.HostUrl L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.HostUrl https://gitee.com f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-c509-b1b5-f3344192eb29 Abp.Account.EnableLocalLogin L:AbpAccount,DisplayName:Abp.Account.EnableLocalLogin L:AbpAccount,Description:Abp.Account.EnableLocalLogin true t \N t f {} +3a1f0a93-0455-cb1d-27eb-676b7b25f51e Setting.Group.Oidc.Github.AuthUri L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.AuthUri L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.AuthUri https://github.com/login/oauth/authorize?client_id=你的clientId&state=Github f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-cd12-a26a-8deaea48af7b Setting.Group.Oidc.Github.ClientId L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientId L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientId github颁发的clientId f \N t f {"Setting.Group":"Setting.Group.Oidc.Github","Type":"Text","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-d02b-2c07-eeb1e103e357 Setting.Group.Oidc.Gitee.ClientName L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientName L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientName 应用名称,保持和gitee的一致 f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Setting.Oidc":"Setting.Oidc","Type":"Text"} +3a1f0a93-0455-d9cb-529b-0ea9c3cc1a8f Setting.Group.Oidc.Gitee.ClientId L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientId L:ServiceProLocalizationResource,JiShe.ServicePro:Oidc.ClientId gitee颁发的clientId f \N t f {"Setting.Group":"Setting.Group.Oidc.Gitee","Type":"Text","Setting.Oidc":"Setting.Oidc"} +3a1f0a93-0455-dc8f-7d7f-3fb1f7b6e7d0 Setting.Group.TwoFactory.Issuer L:ServiceProLocalizationResource,JiShe.ServicePro:TwoFactory.Issuer L:ServiceProLocalizationResource,JiShe.ServicePro:TwoFactory.Issuer JiShe.ServicePro f \N t f {"Setting.Group":"Setting.Group.TwoFactory","Type":"Text"} +3a1f0a93-0455-eed2-0c48-1907368da9ea PasswordExpireDay L:BasicManagement,PasswordExpireDay L:BasicManagement,Description:PasswordExpireDay 90 f \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-f4b8-b061-2e000b6d819b Abp.Identity.Lockout.MaxFailedAccessAttempts L:AbpIdentity,DisplayName:Abp.Identity.Lockout.MaxFailedAccessAttempts L:AbpIdentity,Description:Abp.Identity.Lockout.MaxFailedAccessAttempts 5 t \N t f {"Setting.Group":"Setting.Group.System","Type":"Number"} +3a1f0a93-0455-f538-16bd-13c42e409317 Abp.Identity.User.IsUserNameUpdateEnabled L:AbpIdentity,DisplayName:Abp.Identity.User.IsUserNameUpdateEnabled L:AbpIdentity,Description:Abp.Identity.User.IsUserNameUpdateEnabled True t \N t f {} +3a1f0a93-0455-f78f-3405-f1c2b9d5728a Abp.Identity.User.IsEmailUpdateEnabled L:AbpIdentity,DisplayName:Abp.Identity.User.IsEmailUpdateEnabled L:AbpIdentity,Description:Abp.Identity.User.IsEmailUpdateEnabled True t \N t f {} +3a1f0a93-0455-fdf9-fac2-6b4a4e0b8c15 Abp.Account.IsSelfRegistrationEnabled L:AbpAccount,DisplayName:Abp.Account.IsSelfRegistrationEnabled L:AbpAccount,Description:Abp.Account.IsSelfRegistrationEnabled true t \N t f {} +3a1f0a93-0455-fffd-9051-f1baa7895095 Abp.Identity.Password.RequireUppercase L:AbpIdentity,DisplayName:Abp.Identity.Password.RequireUppercase L:AbpIdentity,Description:Abp.Identity.Password.RequireUppercase True t \N t f {"Setting.Group":"Setting.Group.System","Type":"CheckBox"} +\. + + +-- +-- Data for Name: AbpSettings; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpSettings" ("Id", "Name", "Value", "ProviderName", "ProviderKey") FROM stdin; +3a1f0a5d-d09b-0710-18ab-57648a45d9cc Abp.Localization.DefaultLanguage zh-Hans G \N +\. + + +-- +-- Data for Name: AbpTenantConnectionStrings; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpTenantConnectionStrings" ("TenantId", "Name", "Value") FROM stdin; +\. + + +-- +-- Data for Name: AbpTenants; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpTenants" ("Id", "Name", "NormalizedName", "EntityVersion", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpUserClaims; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserClaims" ("Id", "UserId", "TenantId", "ClaimType", "ClaimValue") FROM stdin; +\. + + +-- +-- Data for Name: AbpUserDelegations; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserDelegations" ("Id", "TenantId", "SourceUserId", "TargetUserId", "StartTime", "EndTime") FROM stdin; +\. + + +-- +-- Data for Name: AbpUserLogins; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserLogins" ("UserId", "LoginProvider", "TenantId", "ProviderKey", "ProviderDisplayName") FROM stdin; +\. + + +-- +-- Data for Name: AbpUserOrganizationUnits; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserOrganizationUnits" ("UserId", "OrganizationUnitId", "TenantId", "CreationTime", "CreatorId") FROM stdin; +\. + + +-- +-- Data for Name: AbpUserRoles; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserRoles" ("UserId", "RoleId", "TenantId") FROM stdin; +3a1f0a5d-ccf0-c184-b021-29c09a12ff2e 3a1f0a5d-ceeb-3611-b0b0-bc9220d9c605 \N +\. + + +-- +-- Data for Name: AbpUserTokens; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUserTokens" ("UserId", "LoginProvider", "Name", "TenantId", "Value") FROM stdin; +\. + + +-- +-- Data for Name: AbpUsers; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."AbpUsers" ("Id", "TenantId", "UserName", "NormalizedUserName", "Name", "Surname", "Email", "NormalizedEmail", "EmailConfirmed", "PasswordHash", "SecurityStamp", "IsExternal", "PhoneNumber", "PhoneNumberConfirmed", "IsActive", "TwoFactorEnabled", "LockoutEnd", "LockoutEnabled", "AccessFailedCount", "ShouldChangePasswordOnNextLogin", "EntityVersion", "LastPasswordChangeTime", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +3a1f0a5d-ccf0-c184-b021-29c09a12ff2e \N admin ADMIN admin \N admin@abp.io ADMIN@ABP.IO f AQAAAAIAAYagAAAAEFNfRk95GoiUAZVFeag/JaYwpcTCgQuORAridkrRw5L5X9NwLSL200JAj1kz7/ZfbQ== C4UG66ONDJRLPHM4DB7S6N7K2ZJSS24N f \N f t f \N f 0 f 3 2026-01-26 10:45:16.733393+08 {} f7c8fdd8380643ca9046c317b7d054fa 2026-01-26 02:45:16.921061+08 \N 2026-01-26 02:45:17.631686+08 \N f \N \N +\. + + +-- +-- Data for Name: ServiceProCTWingAccountInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProCTWingAccountInfo" ("Id", "AccountName", "AccountId", "AppId", "AppKey", "AppSecret", "PlatformTenantId", "CommunicationAddress", "PhoneNumber", "ProductCount", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-e7d2-794b-fd4f-be20b4e32589 13682348795 2000651111 363080 8liCbZiNSed uotF82mylK 2000559711 \N 13682348795 0 d3b129a64e03405a85b90046e7a32fa1 2026-01-26 10:45:23.538957+08 \N \N \N f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProCTWingPrivateProductInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProCTWingPrivateProductInfo" ("Id", "CTWingAccountId", "AccountPhoneNumber", "CommunicationAddress", "MasterKey", "FeatureAccesskey", "IoTPlatformProductId", "ProductName", "Protocol", "ProductDesc", "ProductType", "SecondaryType", "ThirdType", "NodeType", "AccessType", "NetworkType", "ProductProtocol", "AuthType", "DataEncryption", "TupIsThrough", "TupDeviceModel", "DeviceCount", "ThingModelFileId", "ThingModelFileName", "IsEnabled", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-e8ec-2df1-85b2-582ae8a8adb7 2000651111 13682348795 2000559711.non-nb.ctwing.cn:8996 d0942558e7bd4f71af2585b0cfe5fac0 7sqBWEwrA1o65jpJqrJtuGAIvyrY7XE9-Txh7Wzxro4 17227673 集社云DDSU1980 \N \N \N \N \N 0 0 0 0 0 0 0 \N 0 \N \N f b76c1aa1b9bd4a03bf3072c042710a81 2026-01-26 10:45:23.820158+08 \N \N \N f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProDeviceFirmwareInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceFirmwareInfo" ("Id", "IoTPlatform", "IoTPlatformProductId", "IoTPlatformProductName", "FirmwareVersion", "FirmwareFileId", "FirmwareFileName", "FirmwareHashCode", "FirmwareLength", "IsEnable", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: ServiceProDeviceInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceInfo" ("Id", "DeviceName", "DeviceAddress", "IoTPlatform", "DeviceType", "IoTPlatformDeviceOpenInfo", "PlatformPassword", "IoTPlatformProductId", "IoTPlatformProductName", "IoTPlatformAccountId", "AccountPhoneNumber", "IoTPlatformResponse", "IsPlatformPushSuccess", "DeviceOnlineStatus", "LastOnlineTime", "LastOfflineTime", "DeviceSource", "IsNeedConfigDevicMdoel", "DeviceThingModelDataId", "FirmwareVersion", "UpgradeDate", "SubDeviceCapacity", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-ea80-6009-7421-608e0ddb071d 332018305 332018305 2 1 f9bAPyA1q7332018305 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 ca2cd0994d994f9384f6ae9bf1735a22 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-9c3b-35e4-a84a92225a7a 332053764 332053764 2 1 f9bAPyA1q7332053764 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 ea1d46b39d56445b87b76b85730d84cd 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-97f3-71b7-acc02ed67552 332063578 332063578 2 1 f9bAPyA1q7332063578 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 8dd9c668702742cba8a3e2ed138d1631 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-fad6-4f8c-fb32d7d92d9c 073500343 073500343 2 1 f9bAPyA1q7073500343 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 afc5e4f6c1234124ad7f9292e9197da0 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-6147-f25f-b92c1f4a8de1 342000794 342000794 2 1 f9bAPyA1q7342000794 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 3d09a26e4ebb46928f91c4bae2cac58a 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-7a5d-ba38-479205c0357d 332064601 332064601 2 1 f9bAPyA1q7332064601 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 86a7459516d04719ba3407a07c280c76 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-7114-1314-4045887bae53 053500469 053500469 2 1 f9bAPyA1q7053500469 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 d9ce4f39fd764be18c8881781383691c 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-a011-13c4-4d38a0e3a959 312003780 312003780 2 1 f9bAPyA1q7312003780 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 355eb8858f684647aeec73d5d5c8b595 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-4b7d-12af-346a8b7f0c36 332063566 332063566 2 1 f9bAPyA1q7332063566 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 f0ef7cb3c2104ca4bb24deb46470e4aa 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-f3f1-e510-ce50d35d3c79 322008363 322008363 2 1 f9bAPyA1q7322008363 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 2a6fd77a50e2460ebfdedcd8c073195d 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-3557-772e-ef79a9f24143 332055004 332055004 2 1 f9bAPyA1q7332055004 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 7d92427cd27e413c8ed0c1aeebbae05d 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-3636-db1c-1b69889ad4d9 312004911 312004911 2 1 f9bAPyA1q7312004911 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 104bcfd0dada4831a8d93bf2dbc75841 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-0288-3d95-8870b69777dd 332064606 332064606 2 1 f9bAPyA1q7332064606 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 2d7e5f7797aa4a36b05de20e8591f20a 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-e252-75b5-bcb30f122846 322008944 322008944 2 1 f9bAPyA1q7322008944 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 58562f247dfc401d9fb436f06143f247 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-8d2c-4099-9728db568ca1 332060662 332060662 2 1 f9bAPyA1q7332060662 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 72975f4e75e046c09bf9fcd853e379b9 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-5d14-481b-ff5276a43ce6 063500871 063500871 2 1 f9bAPyA1q7063500871 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 9d15932586454d37b848f20aa427f266 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-7d97-9918-315fc192853b 332063671 332063671 2 1 f9bAPyA1q7332063671 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 ab72f3c28b54466192ff4b27ce673cd8 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-15b5-6bb5-6e2cbf939265 332113767 332113767 2 1 f9bAPyA1q7332113767 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 73bff13c663e4ba2a040836e9a93c237 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-e51c-d7f5-dfcda6658273 342000578 342000578 2 1 f9bAPyA1q7342000578 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 cd64bcc34ab247cfb8b580446dcc2bd0 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-6fdc-14db-c4c3f628671d 322009178 322009178 2 1 f9bAPyA1q7322009178 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 d87269b4623c466693f9f34321240612 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-9a6a-356f-d455efdbb60b 542404965 542404965 2 1 f9bAPyA1q7542404965 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 8f9d1af725b7428fb03737ee0fc96ae9 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-6fc5-3038-508e27da3ac5 073503212 073503212 2 1 f9bAPyA1q7073503212 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 4492c76f65e64ea08c322f32d863a6a5 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-5b73-2054-2ac0211d0994 332102848 332102848 2 1 f9bAPyA1q7332102848 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 1be123156071439e912f7ce8842e3316 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-ee70-3eb3-f5773ca97c93 332057544 332057544 2 1 f9bAPyA1q7332057544 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 1cdefad0b808417191a6d9238c4804e3 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-c436-a161-844dfd1106bc 332013521 332013521 2 1 f9bAPyA1q7332013521 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 2d897ee09732455cb72335e12a2608dd 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-7ac8-3dab-f6a2ea3d9e9b 073500239 073500239 2 1 f9bAPyA1q7073500239 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 3e5b06f678fa44d2b56db0ab8f923583 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-3b5f-96f8-bed7eefccb42 332023923 332023923 2 1 f9bAPyA1q7332023923 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 199b1590542e480582885f2d6ccdd90e 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-4a49-590b-2f64a1dc7944 332104519 332104519 2 1 f9bAPyA1q7332104519 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 f0a6e38084ff461cba1cd71d9ba7be75 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-625d-8f6f-44c9044558f3 322007802 322007802 2 1 f9bAPyA1q7322007802 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 f2775c0b1d13469b8f60cf9f96c30531 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-b00a-5f72-279c683cba58 332105857 332105857 2 1 f9bAPyA1q7332105857 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 79bf0c3d93c34334be5b867c92ef1642 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-a8de-2174-9050fe1bab70 332019972 332019972 2 1 f9bAPyA1q7332019972 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 b651c5c0e7734118a748692bd551b39d 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-749e-acb0-838d25b08956 332020245 332020245 2 1 f9bAPyA1q7332020245 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 62cf79d3361d4c4fa28577f5a42487f2 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-7fa4-4c4c-5f0156d83062 312001968 312001968 2 1 f9bAPyA1q7312001968 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 db27779be1f0439386b1e80f9510be0f 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-bf8e-8980-e3f7c90b5274 073500996 073500996 2 1 f9bAPyA1q7073500996 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 ed2a3b19c64041eeab4b3bfdbdf7ff33 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-d0fa-7146-688bc77da08d 312003766 312003766 2 1 f9bAPyA1q7312003766 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 1b57e019450c4865b29f05c04469fc5e 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-cbaf-5310-08c54ab1522c 332036451 332036451 2 1 f9bAPyA1q7332036451 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 5398cf057da643a698025d5d6cee4a80 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-db18-f53b-db9f2b9b29b4 332035673 332035673 2 1 f9bAPyA1q7332035673 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 de3e54fca77446debc969d66e2b5f960 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-10e1-2395-4d13e803a8c4 073500684 073500684 2 1 f9bAPyA1q7073500684 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 005f7696ce5343258d946756e309d718 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-9251-5e2d-a586410aa395 332031054 332031054 2 1 f9bAPyA1q7332031054 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 e3f7c6a5e6b44144905b0505a491e0e9 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea80-0988-9e9b-1ad2e22cff2e 321005535 321005535 2 1 f9bAPyA1q7321005535 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 f66add2ffae14a36883e837852b61316 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-7536-3413-baa961b85bb2 332050141 332050141 2 1 f9bAPyA1q7332050141 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 2af8710c084b4f809740bb7578bbed3f 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-6412-70af-dd3b1c6a6a7e 063501129 063501129 2 1 f9bAPyA1q7063501129 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 68934d70ed4d4c7aa110d3f3afcf8529 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-9931-4193-a3980c4747a7 073504975 073504975 2 1 f9bAPyA1q7073504975 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 4892d6b01314403d82d2cb0891711c67 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-f6ab-eba6-9b704ca4f876 332106985 332106985 2 1 f9bAPyA1q7332106985 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 d2ea8ec04d324823acf675c78e36fddc 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-f366-3af6-be85505cd66e 322010918 322010918 2 1 f9bAPyA1q7322010918 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 c309352d24344b20b14c870180dabb1e 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-f44c-d378-2d5671bc9d7f 332001303 332001303 2 1 f9bAPyA1q7332001303 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 50c17fbcfc75456689f7f8bfc5e036a2 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-fe93-b6cd-b81318bb43ef 142411225 142411225 2 1 f9bAPyA1q7142411225 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 693e1d4321be46749e79c4f00236c936 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-d312-f830-75572dc84625 322008053 322008053 2 1 f9bAPyA1q7322008053 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 c2e9c259efea4478978d4b1a034ccc25 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-810a-1a07-2c1de3db30e2 342404317 342404317 2 1 f9bAPyA1q7342404317 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 6554f5b3e5124989a806b122d53911a8 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-3a65-2e49-c3e6730fc9a9 332059519 332059519 2 1 f9bAPyA1q7332059519 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= f9bAPyA1q7 云集云DTSU1980 453226 13682348795 \N f \N \N \N 1 f \N 453226 \N 64 ac5cdce9fe8e407ea6895fe2ce62f7e2 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea81-bf32-3cd1-2b9486d0d64b 4g 4g 2 1 F7S36uMObl4g v91mqJAILdsLVFN/moECptOe/IhCNSjEU8Sg5lzHkxkeJlRvZKUfEjc6PA7bRCxs F7S36uMObl flowmeter 426149 13657396784 \N f \N \N \N 1 f \N 426149 \N 64 c8396deab73642fdace646394ed4ef84 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProDeviceThingModelCommandInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceThingModelCommandInfo" ("Id", "DeviceThingModelId", "IoTPlatform", "IoTPlatformProductId", "CommandName", "IssueCommand", "PropertyArray", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-ea34-95af-81d7-22f9d8abc5d9 3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 2 f9bAPyA1q7 抄读1 01030000000EC40E ["temp","x1010","x1018"] 1b5132ada42b44eeb0d08663fc24cd6a 2026-01-26 10:45:24.210464+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea7c-d197-afee-943c6dd2b4ba 3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 2 f9bAPyA1q7 抄读2 02030000000EC43D ["temp","x1010","x1018"] b0b4e451deff45c6a494d3361b650a0e 2026-01-26 10:45:24.220857+08 \N \N \N f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProDeviceThingModelManagement; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceThingModelManagement" ("Id", "DeviceModelName", "IoTPlatform", "IoTPlatformProductId", "ScriptName", "FunctionScript", "FunctionAnalysisFlag", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-e9e8-c569-9a49-1a944cff83bb 电磁流量计 2 F7S36uMObl flowmeter \N f dd692cf186ac4250ac7314583656ef3d 2026-01-26 10:45:24.071833+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 电磁流量计DTSU1980 2 f9bAPyA1q7 DTSU1980 public static Dictionary DTSU1980(Dictionary telegramAnalyzerArray)\r\n{\r\n var readData = new Dictionary();\r\n foreach (var item in telegramAnalyzerArray)\r\n {\r\n if (item.Value == null)\r\n {\r\n continue;\r\n }\r\n var dataArray = Convert.ToString(item.Value).AnalyzerSplit(2, false);\r\n if (item.Key == "01030000000EC40E")\r\n {\r\n readData.Add("temp", string.Join("", dataArray.Skip(8).Take(4)).AnalyzerHexStringToDouble());\r\n readData.Add("x1010", string.Join("", dataArray.Skip(0).Take(4)).AnalyzerHexStringToDouble());\r\n readData.Add("x1018", string.Join("", dataArray.Skip(0).Take(4)).AnalyzerHexStringToDouble());\r\n }\r\n if (item.Key == "02030000000EC43D")\r\n {\r\n readData.Add("temp", string.Join("", dataArray.Skip(8).Take(4)).AnalyzerHexStringToDouble());\r\n readData.Add("x1010", string.Join("", dataArray.Skip(0).Take(4)).AnalyzerHexStringToDouble());\r\n readData.Add("x1018", string.Join("", dataArray.Skip(0).Take(4)).AnalyzerHexStringToDouble());\r\n }\r\n }\r\n return readData;\r\n}\r\n f 40026f2833a74b89ae8b3c002189be70 2026-01-26 10:45:24.071833+08 \N 2026-01-26 11:47:17.912378+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProDeviceThingModelPropertylInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceThingModelPropertylInfo" ("Id", "DeviceThingModelId", "IoTPlatform", "IoTPlatformProductId", "IoTPlatformThingModelDataId", "FiledType", "IoTPlatformRawFieldName", "IoTPlatformRawFieldDataType", "StandardFieldName", "StandardFieldValueType", "StandardFieldDisplayName", "IsValueNeedConvert", "NativeSkipNumber", "NativeTakeNumber", "ParsingSequence", "ReversalSkipNumber", "ReversalTakeNumber", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1ef09c-3dc6-e8a4-9ffe-6df47c3936b3 3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 2 f9bAPyA1q7 3a1eec9d-fbae-e23c-0d86-2bb3e20c893d FluidThingModelProperty temp FLOAT TEMPERATURE DOUBLE 温度 f 8 4 1 \N \N b2605f345c2c4bfda9afe8ca29fe3a41 2026-01-21 10:43:21.15411+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-21 10:46:42.453755+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc f \N \N \N \N \N \N \N \N +3a1ef09c-3dc6-f30e-5d9f-532d970c14b1 3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 2 f9bAPyA1q7 3a1eec9d-fbae-413b-d886-c4f6e9462065 FluidThingModelProperty x1010 FLOAT INSTANT_FLOW DOUBLE 瞬时流量 f 0 4 1 \N \N e51b6f530d544bc9b95dcd86e10acf7b 2026-01-21 10:43:21.15411+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-21 10:56:15.468012+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc f \N \N \N \N \N \N \N \N +3a1ef0a3-2024-a8ff-a039-cd5d3b08d162 3a1f0a5d-ea31-c4b2-c656-5b3ede78bb46 2 f9bAPyA1q7 3a1eec9d-fbae-3f42-f659-3c2087a7960d FluidThingModelProperty x1018 FLOAT TOTAL_VOLUME DOUBLE 正向累计体积 f 0 4 1 \N \N 69a15de202d14d1dbb30d791f6c239da 2026-01-21 10:50:52.324912+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-21 10:52:01.499591+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProDeviceUpgradeRecord; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProDeviceUpgradeRecord" ("Id", "DeviceDataId", "DeviceName", "DeviceAddress", "OldFirmwareVersion", "NowFirmwareVersion", "UpgradeDate", "UpgradeSource", "UpgradeMessage", "UpgradeStatus", "UpgradeIdentifier", "FirmwareSignature", "UpgradeResult", "UpgradeDescription", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: ServiceProIoTPlatformThingModelInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProIoTPlatformThingModelInfo" ("Id", "IoTPlatform", "IoTPlatformProductId", "FiledType", "IoTPlatformRawFieldName", "IoTPlatformRawFieldDataType", "StandardFieldName", "StandardFieldValueType", "StandardFieldDisplayName", "IsValueNeedConvert", "IsSpecialIdentifier", "IoTPlatformRawFieldExtension", "IsOperableIdentifier", "AccessMode", "IdentifierType", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1eec9d-fbab-0f7f-3c25-85dfb8dff822 2 f9bAPyA1q7 FluidThingModelProperty SubDevice \N SubDevice STRING 子设备地址 f f \N f r 1 6a9f8e2316564e6cb97050111f7e204c 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-9ea4-a6f0-5db4e373b1e4 2 f9bAPyA1q7 FluidThingModelProperty TOTAL_VOLUME_UNIT \N TOTAL_VOLUME_UNIT STRING 正向累计体积单位 f f \N f r 1 b7e3e628813e4c8da6f46908ba3b88f0 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-7785-a256-27e531127153 2 f9bAPyA1q7 FluidThingModelProperty AVERAGE_FLOW \N AVERAGE_FLOW DOUBLE 平均流量 f f \N f r 1 ab126cae662a446faa37c202abb37274 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-19e3-f3d8-324e9f1061e5 2 f9bAPyA1q7 FluidThingModelProperty PRESSURE \N PRESSURE DOUBLE 压力 f f \N f r 1 b14045b7dd0f48f0989bee679b37005f 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-a014-5ff5-5afeef25c874 2 f9bAPyA1q7 FluidThingModelProperty BATTERY_VOLTAGE \N BATTERY_VOLTAGE DOUBLE 电池电量/电压 f f \N f r 1 10ed4e16a8ec4acf91ec17f10d8171a5 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-dbf2-eb1b-cbbdd6a150c0 2 f9bAPyA1q7 FluidThingModelProperty SIGNAL_STRENGTH \N SIGNAL_STRENGTH DOUBLE 通信信号强度(RSSI/RSRP) f f \N f r 1 16628c7a6d214635b2ab8453b3ef4bc1 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-871d-b63a-bc8ee6adc1fb 2 f9bAPyA1q7 FluidThingModelProperty VALVE_STATUS \N VALVE_STATUS DOUBLE 阀门开关状态 f f \N f r 1 e114f2f0a12549499fd6611b13c514f8 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-e71f-fde2-7d6f4102164b 2 f9bAPyA1q7 FluidThingModelProperty REMAINING_BALANCE \N REMAINING_BALANCE DOUBLE 预付费剩余金额或量 f f \N f r 1 32495fb96b3247fb97c71588ee4ce752 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-84d0-6bee-8aa7af879561 2 f9bAPyA1q7 FluidThingModelProperty WORKING_HOURS \N WORKING_HOURS DOUBLE 设备累计运行时长 f f \N f r 1 a42baa0ba664435a951de985dd3070b6 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-dd55-d568-414f4467c58f 2 f9bAPyA1q7 FluidThingModelProperty LEAK_RATE \N LEAK_RATE DOUBLE 漏损率/估算漏损比例 f f \N f r 1 efddc8ec9ccd47e18921388fb9c0f738 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-2166-37b3-fa662d0128c4 2 f9bAPyA1q7 FluidThingModelProperty PUMP_POWER \N PUMP_POWER STRING 设备电量 f f \N f r 1 c2c13cfc92dd4823ac336c739058f047 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-39ba-df74-730e040d7f05 2 f9bAPyA1q7 FluidThingModelProperty FLUID_CONDUCTIVITY_RATIO \N FLUID_CONDUCTIVITY_RATIO STRING 流体电导比 f f \N f r 1 b73070bcf9d648e7a49480b5e02390df 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-728b-8c78-e9643f29b76b 2 f9bAPyA1q7 FluidThingModelEvent SubDevice \N SubDevice STRING 子设备地址 f f \N f r 1 2d0107bf1a404e6ca4cc25201edff4de 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-6e38-0efa-e1780c2e9a75 2 f9bAPyA1q7 FluidThingModelEvent DeviceLoginEvent \N DeviceLoginEvent STRUCT 设备登录事件 f f \N f r 1 eca3246c570e4d4b9210f0f4014d0cfd 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb0-9aad-8c45-2fd14ef7f7a3 2 f9bAPyA1q7 FluidThingModelEvent MeterInstallEvent \N MeterInstallEvent STRUCT 设备完成安装 f f \N f r 1 528795118d3f457f8b63d5f96a0a63c6 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb0-8093-eb38-f1f8350a7472 2 f9bAPyA1q7 FluidThingModelEvent MeterReplaceEvent \N MeterReplaceEvent STRUCT 设备被更换 f f \N f r 1 ee32316cf4e74951908e5db82703765c 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb0-0622-9d29-9e9f99381acb 2 f9bAPyA1q7 FluidThingModelEvent ValveOpenedEvent \N ValveOpenedEvent STRUCT 阀门切换为开启 f f \N f r 1 989944685d89445f813c9d3a34d94cdb 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb1-ea53-26b1-56820885530f 2 f9bAPyA1q7 FluidThingModelEvent ValveClosedEvent \N ValveClosedEvent STRUCT 阀门切换为关闭 f f \N f r 1 db25bd43579742be927374b33a63a468 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb1-bd31-bcf9-8e661c3502fe 2 f9bAPyA1q7 FluidThingModelEvent LeakDetectedEvent \N LeakDetectedEvent STRUCT 检测到漏水/漏气 f f \N f r 1 d24701c839cd4891a4d38361b05833da 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb2-009b-0e65-a2aed45f85d8 2 f9bAPyA1q7 FluidThingModelEvent BurstDetectedEvent \N BurstDetectedEvent STRUCT 爆管/管道破裂 f f \N f r 1 1dc3c144edbb4c9a82e6e40672b50d72 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb2-f75d-2b30-9d03d0c5036b 2 f9bAPyA1q7 FluidThingModelEvent ReverseFlowEvent \N ReverseFlowEvent STRUCT 出现反向流量/回流 f f \N f r 1 fce53cf04b954a4fbe936e8c59f8d5ab 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb2-33f4-2bc9-92683227fd58 2 f9bAPyA1q7 FluidThingModelEvent DryDetectionEvent \N DryDetectionEvent STRUCT 空转或无介质状态 f f \N f r 1 b55d9d86a547474f8c881442ce8a42a0 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb3-d12e-2670-1643af48f10f 2 f9bAPyA1q7 FluidThingModelEvent LowBatteryEvent \N LowBatteryEvent STRUCT 电池电压低于阈值 f f \N f r 1 badc8b45432b4d9dbf4be2b5426cfbaa 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb3-4363-7261-85a3bf2b646f 2 f9bAPyA1q7 FluidThingModelEvent BatteryFailureEvent \N BatteryFailureEvent STRUCT 电池异常或连接故障 f f \N f r 1 3b621b5cc8f94cd3af2084bc4ba093af 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb4-7332-2f72-1dbcf2342ce9 2 f9bAPyA1q7 FluidThingModelEvent MagneticTamperEvent \N MagneticTamperEvent STRUCT 磁干扰 f f \N f r 1 57b0114f5c614d50b73a44ac1faadfef 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb4-a165-982a-f894a94f3dcc 2 f9bAPyA1q7 FluidThingModelEvent MeterTamperEvent \N MeterTamperEvent STRUCT 设备被拆卸或撬动 f f \N f r 1 1cacea2defc94305930ccb94b148b886 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb4-e099-94eb-8e4fc7d6f035 2 f9bAPyA1q7 FluidThingModelEvent CoverOpenEvent \N CoverOpenEvent STRUCT 表盖开启 f f \N f r 1 98ec1317b7844739be65f24486454af1 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb5-c704-7c1b-608ae012b2ca 2 f9bAPyA1q7 FluidThingModelEvent PressureHighEvent \N PressureHighEvent STRUCT 压力超过上限 f f \N f r 1 c5150b8cd4c743da88764401cd39779b 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb5-afa3-3bfe-15a7c6299e8f 2 f9bAPyA1q7 FluidThingModelEvent PressureLowEvent \N PressureLowEvent STRUCT 压力低于下限 f f \N f r 1 a6e37ce1507e424bba2eb10222ca019b 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb6-e52c-8228-9adf6bc6ff80 2 f9bAPyA1q7 FluidThingModelEvent TempHighEvent \N TempHighEvent STRUCT 介质温度超上限 f f \N f r 1 c8cead5a00c143eb901642b12b6f8730 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb6-e6e9-7022-3d8bdc95a620 2 f9bAPyA1q7 FluidThingModelEvent TempLowEvent \N TempLowEvent STRUCT 介质温度低于下限 f f \N f r 1 12010dd1d22a44f1a0997818d14fdd0a 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb7-4d67-d7eb-c9f59a611d9e 2 f9bAPyA1q7 FluidThingModelEvent ZeroFlowLongEvent \N ZeroFlowLongEvent STRUCT 长时间零流量 f f \N f r 1 df6236118e33479aac2991c0a9ba356e 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb7-1c46-492a-ddbe537bb836 2 f9bAPyA1q7 FluidThingModelEvent AbnormalUsageEvent \N AbnormalUsageEvent STRUCT 短时异常高/低用量 f f \N f r 1 d979fca06bda4b3186ce463eedad3273 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb7-feb7-c90f-bbb4fe1dd9a9 2 f9bAPyA1q7 FluidThingModelEvent SensorFaultEvent \N SensorFaultEvent STRUCT 流量/压力/温度传感器异常 f f \N f r 1 4476eec179584aad85786f11dbd7abd2 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb8-383a-cc5a-876edd347d22 2 f9bAPyA1q7 FluidThingModelEvent ValveFaultEvent \N ValveFaultEvent STRUCT 阀门卡滞或驱动异常 f f \N f r 1 1a60dc2f63894e339fd7acb4eaa18163 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb8-937c-dd80-9c4ff1f4724f 2 f9bAPyA1q7 FluidThingModelEvent OnlineEvent \N OnlineEvent STRUCT 设备上线 f f \N f r 1 0f4668ca9338414cbcbbcebdfe427ef5 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb9-6d68-c09c-3cb7edc3d2bf 2 f9bAPyA1q7 FluidThingModelEvent OfflineEvent \N OfflineEvent STRUCT 设备下线 f f \N f r 1 180df5f442124ca487be20cac235ddc6 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb9-10b5-fd1d-0e13af8eee9c 2 f9bAPyA1q7 FluidThingModelEvent BalanceLowEvent \N BalanceLowEvent STRUCT 预付费余额低于阈值 f f \N f r 1 5462a84d67ee499e9e0352132ad32774 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbb9-b66d-a3f2-dd1a9d0f8ba5 2 f9bAPyA1q7 FluidThingModelEvent BalanceZeroEvent \N BalanceZeroEvent STRUCT 预付费余额耗尽 f f \N f r 1 187b671765b2415eaceff3060534e853 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1eec9d-fbbb-2ce9-446d-585149aaebca 2 f9bAPyA1q7 FluidThingModelEvent RechargeEvent \N RechargeEvent STRUCT 预付费充值到账 f f \N f r 1 a45bcc7466ad4e7f94e896355f364da6 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 \N \N f \N \N \N \N \N \N \N \N +3a1ef57e-feeb-ed47-f011-1d979189e1ff 2 F7S36uMObl FluidThingModelProperty ReadingInterval INT32 ReadingInterval INT64 抄读间隔 f f {"max":"999999999","min":"0","step":"","unit":""} t rw 1 fc6f9b68b41940b09714d8bc0b45a45e 2026-01-22 09:29:30.603577+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-26 11:44:52.033915+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1ef597-463b-b664-7128-295ca4966549 2 F7S36uMObl FluidThingModelProperty x1020 STRING ReadingMode INT32 抄读模式 f f {"length":256} t rw 1 0721b2d8cd41497485b5c9a1e12ec4c6 2026-01-22 09:56:01.723627+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-26 11:44:52.033915+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-0bc7-3159-79cdd1352f8d 2 f9bAPyA1q7 FluidThingModelProperty x1014 FLOAT FLOW_PERCENTAGE STRING 流量百分比 f f {"max":"100.00","min":"0","step":"0.01","unit":""} t r 1 13878eba858f4982942419a57050ac98 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-1c6e-de61-47503ed785e4 2 f9bAPyA1q7 FluidThingModelProperty x101c FLOAT REVERSE_VOLUME DOUBLE 反向累计读数 f f {"max":"999999999.999","min":"0","step":"0.001","unit":""} t r 1 f0126271aa384ac5951c6c43bbf1572d 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-67f2-10a4-2accde45de51 2 f9bAPyA1q7 FluidThingModelProperty x1020 STRING INSTANT_FLOW_UNIT STRING 瞬时流量单位 f f {"length":256} t r 1 f5d5fc2eb6f64fc78b9da40bedf2a77d 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-e276-0736-ec41a21fe220 2 f9bAPyA1q7 FluidThingModelProperty version STRING FIRMWARE_VERSION STRING 设备固件版本 f f {"length":512} t r 1 d27a0c1498424a49a34656ea0d0d2950 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-3f42-f659-3c2087a7960d 2 f9bAPyA1q7 FluidThingModelProperty x1018 FLOAT TOTAL_VOLUME DOUBLE 正向累计体积 f f {"max":"999999999.999","min":"0","step":"0.001","unit":""} t r 1 1767669e5a8c4e92944256c939074308 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-8c99-317d-a644f92c1d86 2 f9bAPyA1q7 FluidThingModelProperty x1012 FLOAT INSTANT_FLOW_VELOCITY DOUBLE 瞬时流速 f f {"max":"99.999","min":"-99.999","step":"0.001","unit":""} t r 1 201797f34a8049859bc3faa7f6453761 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbaf-7348-74d2-5538b501b7ee 2 f9bAPyA1q7 FluidThingModelEvent upgradeevent INFO FirmwareUpgradeEvent STRUCT 设备升级事件 f f {"upgraderesult":"升级结果","idf":"标识"} f r 1 63cac4e1a0ae4412b78c57c2cd296190 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbaf-8de9-48a8-ad5531c0f4c7 2 f9bAPyA1q7 FluidThingModelEvent heartbeatevent INFO DeviceHeartbeatEvent STRUCT 设备心跳事件 f f {"heartbeat":"心跳"} f r 1 02cb810440ca4564a800d3258516fdda 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbab-5732-174d-4c6cbf275859 2 f9bAPyA1q7 FluidThingModelProperty Gateway INT32 Gateway STRING 网关地址 f f {"max":"999999999","min":"0","step":"1","unit":""} f r 1 dd9bf31ed8d84d99b2964582fd1ff575 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-89f3-58b9-f88a4dac39b3 2 f9bAPyA1q7 FluidThingModelProperty ReportInterval INT32 ReportInterval INT64 上报间隔 f f {"max":"999999999","min":"0","step":"1","unit":""} t rw 1 5315f051dddf4692b3f0b1fb2425c9bc 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-413b-d886-c4f6e9462065 2 f9bAPyA1q7 FluidThingModelProperty x1010 FLOAT INSTANT_FLOW DOUBLE 瞬时流量 f f {"max":"99999.99999","min":"-99999.99999","step":"0.00001","unit":""} t r 1 f694b162dd394c8bb32f8fcad914b527 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbab-05eb-5e37-08262aefdecc 2 f9bAPyA1q7 FluidThingModelProperty Time INT64 Time INT64 时间戳 f f {"max":"999999999999999999","min":"0","step":"1","unit":""} f r 1 1a56244ff7904c049c02a83f2c3672ec 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-5063-b261-c2c54595b192 2 f9bAPyA1q7 FluidThingModelProperty updata STRING FIRMWARE_UPGRADE STRING 固件版本升级 f f {"length":512} f r 1 96978cd0f5384f3cbabf0686b6414aa9 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-e23c-0d86-2bb3e20c893d 2 f9bAPyA1q7 FluidThingModelProperty temp FLOAT TEMPERATURE DOUBLE 温度 f f {"max":"100","min":"0","step":"0.1","unit":"摄氏度 / °C"} f r 1 71275d59cd3c45e4a06d870c5d4cceb0 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-d1b4-c8d4-de1c7a4e5072 2 f9bAPyA1q7 FluidThingModelEvent Gateway INT32 Gateway STRING 网关地址 f f {"max":"999999999","min":"0","step":"1","unit":""} f r 1 7bf2345e12414322b173e934476618a6 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-5eba-8b38-21084a4dc90e 2 f9bAPyA1q7 FluidThingModelEvent Time INT64 Time INT64 时间戳 f f {"max":"999999999999999999","min":"0","step":"1","unit":""} f r 1 44884da8be00473cb803abf10a9a8f74 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-32f0-275f-c154fe104d21 2 f9bAPyA1q7 FluidThingModelProperty ReadingInterval INT32 ReadingInterval INT64 抄读间隔 f f {"max":"999999999","min":"0","step":"","unit":""} t rw 1 fdf333a84d6441a282cf419807efb1c5 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1ef5a0-c24c-4a07-850d-5957535b6c59 2 f9bAPyA1q7 FluidThingModelProperty hversion STRING HARDWARE_VERSION STRING 设备硬件版本 f f {"length":512} t r 1 71e27e09a7024cc6becb9bd2cc8aa6e8 2026-01-22 10:06:23.308225+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1ef591-2ee7-7a45-5785-08aef6feb84c 2 f9bAPyA1q7 FluidThingModelProperty ReadingMode INT32 ReadingMode INT32 抄读模式 f f {"max":"99","min":"1","step":"","unit":""} t r 1 040c2b31701442668660d01ac9699f22 2026-01-22 09:49:22.535468+08 3a1ef06b-e238-c351-ebce-eeb7f183bacc 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-3dd7-30a5-a231a290739b 2 f9bAPyA1q7 FluidThingModelProperty da_fz STRING DAILY_FREEZE STRING 每日冻结 f f {"length":256} t w 1 c7b82a326f494b7da2c7c486f35b2ed1 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-f581-2b35-c5879a16eb64 2 f9bAPyA1q7 FluidThingModelProperty mo_fz STRING MONTHLY_FREEZE STRING 每月冻结 f f {"length":256} t w 1 659ad22d6fac422398a8d78323a16175 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1eec9d-fbae-9afc-0094-eeabcc680ed1 2 f9bAPyA1q7 FluidThingModelProperty SpecialCommand STRUCT SpecialCommand STRUCT 特殊命令 f t {"logo1":512,"logo2":512} t r 1 20e0e3f1592c4e3b902ccc1e30209e4d 2026-01-20 16:06:46.406359+08 3a1eec6a-226d-bb1b-4f92-c8f14802cf33 2026-01-26 11:44:50.841598+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProMenus; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProMenus" ("Id", "TenantId", "ParentId", "Name", "Title", "DisplayTitle", "Icon", "KeepAlive", "HideInMenu", "Order", "Path", "MenuType", "OpenType", "Url", "Component", "Policy", "Enabled", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +3a1f0a5d-e739-e2ee-c9fb-f7416b490f80 \N \N dashboard 概览 JiShe.ServicePro.DynamicMenuManagement:Dashboard lucide:layout-dashboard f f 1 /dashboard 10 20 \N \N t {} 77b587bad5414508850f257a2bbac28f 2026-01-26 02:45:23.464351+08 \N \N \N f \N \N +3a1f0a5d-e73c-0343-c3b0-4b3a0a6bacfd \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpSetting 设置管理 JiShe.ServicePro.DynamicMenuManagement:Setting uil:setting f f 4 setting 20 20 \N /views/system/abpsetting/index.vue AbpIdentity.Setting t {} ef34def3b857408db24733c6c0d57c16 2026-01-26 02:45:23.478424+08 \N \N \N f \N \N +3a1f0a5d-e73c-04ff-e03c-6ee50c6f4671 \N \N file 文件管理 JiShe.ServicePro.DynamicMenuManagement:File ant-design:folder-open-outlined f f 4 /file 10 20 \N \N t {} ee57fd5f6e354dd685d953a21641dee7 2026-01-26 02:45:23.497155+08 \N \N \N f \N \N +3a1f0a5d-e73c-07bc-6e42-f5933e888194 \N 3a1f0a5d-e73c-a1c1-3e24-6a4add4bee32 abpTenant 租户列表 JiShe.ServicePro.DynamicMenuManagement:Tenant ph:user f f 1 tenant 20 20 \N /views/system/abptenant/index.vue AbpTenantManagement.Tenants t {} a67e9f1151264d8ca44f84fb6ce5f0ba 2026-01-26 02:45:23.495649+08 \N \N \N f \N \N +3a1f0a5d-e73c-07d5-a469-b86ba224c00e \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpMenu 菜单管理 JiShe.ServicePro.DynamicMenuManagement:Menu ant-design:bars-outlined f f 13 menu 20 20 \N /views/system/abpmenu/index.vue AbpIdentity.DynamicMenuManagement t {} 5dbc8138eb5041b2a06f594b51dd446f 2026-01-26 02:45:23.492677+08 \N \N \N f \N \N +3a1f0a5d-e73c-0b7b-d6d6-b84e2d0108f6 \N 3a1f0a5d-e73c-cec0-d4b1-19c5a6339a65 ctwingPrivateProduct CTWing产品 JiShe.ServicePro.CTWingManagement:PrivateProduct ant-design:phone-filled f f 2 ctwingPrivateProduct 20 20 \N /views/ctwingmanagement/privateProduct/index.vue CTWingManagement.PrivateProduct t {} 93744819f7234aca8c1c1633ccd3abbd 2026-01-26 02:45:23.510072+08 \N \N \N f \N \N +3a1f0a5d-e73c-151b-e1ec-84d08963916e \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpRole 角色管理 JiShe.ServicePro.DynamicMenuManagement:Role carbon:workspace f f 2 role 20 20 \N /views/system/abprole/index.vue AbpIdentity.Roles t {} 5d7196ec710a4346b2da3fea24cc5492 2026-01-26 02:45:23.474973+08 \N \N \N f \N \N +3a1f0a5d-e73c-1ba0-6114-8856c08f85eb \N 3a1f0a5d-e73c-cd7e-3dfd-56810dbb4ec8 oneNETAccount OneNET账号 JiShe.ServicePro.OneNETManagement:Account ph:user f f 1 oneNETAccount 20 20 \N /views/onenetmanagement/account/index.vue OneNETManagement.Account t {} e42a46431e1147b7b0091ed1c047ee1d 2026-01-26 02:45:23.513023+08 \N \N \N f \N \N +3a1f0a5d-e73c-1d94-0fe0-69409cdcdc8b \N 3a1f0a5d-e73c-cec0-d4b1-19c5a6339a65 ctwingAccount CTWing账号 JiShe.ServicePro.CTWingManagement:Account ph:user f f 1 ctwingAccount 20 20 \N /views/ctwingmanagement/account/index.vue CTWingManagement.Account t {} 26a2654d7b6f4af7b0edb53f634fea6f 2026-01-26 02:45:23.508426+08 \N \N \N f \N \N +3a1f0a5d-e73c-2201-cee3-0dba2848be95 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpfeature 功能管理 JiShe.ServicePro.DynamicMenuManagement:Feature ant-design:tool-outlined f f 5 feature 20 20 \N /views/system/abpfeature/index.vue AbpIdentity.FeatureManagement t {} 72b745aa6f1f4c828bf0f03ef4a0c845 2026-01-26 02:45:23.480126+08 \N \N \N f \N \N +3a1f0a5d-e73c-2a8c-1760-a33661a0dee3 \N \N iotdbdatamanagement IoTDB数据管理 JiShe.ServicePro.IoTDBManagement ant-design:database-filled f f 9 /iotdbdatamanagement 10 20 \N \N t {} 67761b124f764f259a8fbf8bc1130db1 2026-01-26 02:45:23.520623+08 \N \N \N f \N \N +3a1f0a5d-e73c-2c48-3f5a-d5c9a996ae9b \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpLoginLog 登录日志 JiShe.ServicePro.DynamicMenuManagement:LoginLog ant-design:snippets-twotone f f 7 loginlog 20 20 \N /views/system/abplog/login.vue AbpIdentity.IdentitySecurityLogs t {} eb17a965a5764c13b8d25ae6f3b89b5c 2026-01-26 02:45:23.483381+08 \N \N \N f \N \N +3a1f0a5d-e73c-3734-5523-1f535b45248b \N 3a1f0a5d-e73c-d4c8-9490-54dc070b244e deviceThingModelManagement 设备物模型 JiShe.ServicePro.ThingModelInfo:DeviceThingModelManagement ant-design:sound-outlined f f 2 deviceThingModelManagement 20 20 \N /views/thingmodelinfo/deviceThingModelManagement/index.vue ThingModelInfo.DeviceThingModelManagement t {} 667b7512745640438cc8b29eaf955cc5 2026-01-26 02:45:23.518942+08 \N \N \N f \N \N +3a1f0a5d-e73c-3793-bc54-e8ac36669964 \N 3a1f0a5d-e73c-cd7e-3dfd-56810dbb4ec8 oneNETPrivateProduct OneNET产品 JiShe.ServicePro.OneNETManagement:PrivateProduct ant-design:mobile-filled f f 2 oneNETPrivateProduct 20 20 \N /views/onenetmanagement/privateProduct/index.vue OneNETManagement.PrivateProduct t {} 4d20c0b073774c89a54fda6b9bc27616 2026-01-26 02:45:23.514405+08 \N \N \N f \N \N +3a1f0a5d-e73c-4f26-57eb-9af3e8c22288 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpLanguage 语言管理 JiShe.ServicePro.DynamicMenuManagement:Language ant-design:read-outlined f f 8 language 20 20 \N /views/system/abplanguage/language.vue AbpIdentity.Languages t {} b16794e3b7ab47f889de24a4063eeafd 2026-01-26 02:45:23.484926+08 \N \N \N f \N \N +3a1f0a5d-e73c-4fbd-a3d1-ba57f13cec48 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpMessage 消息管理 JiShe.ServicePro.DynamicMenuManagement:Message ant-design:customer-service-twotone f f 12 message 20 20 \N /views/system/abpnotification/message.vue AbpIdentity.NotificationManagement t {} 533e5b5445de4680819d01f480dfb4c2 2026-01-26 02:45:23.491186+08 \N \N \N f \N \N +3a1f0a5d-e73c-5846-8f88-8bb583bb190d \N \N system 系统管理 JiShe.ServicePro.DynamicMenuManagement:System lucide:layout-dashboard f f 2 /system 10 20 \N \N t {} 69ad70851cb4448d8609778781df3a25 2026-01-26 02:45:23.471279+08 \N \N \N f \N \N +3a1f0a5d-e73c-66a7-90fc-da1a50c99156 \N 3a1f0a5d-e739-e2ee-c9fb-f7416b490f80 Analytics 分析页 JiShe.ServicePro.DynamicMenuManagement:Analytics lucide:area-chart f f 1 /analytics 20 20 \N /views/dashboard/analytics/index.vue t {} dbc3abe9c4b44097960d65c5c124bdb3 2026-01-26 02:45:23.467299+08 \N \N \N f \N \N +3a1f0a5d-e73c-6bd8-8973-3a197e7fecd6 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpUser 用户管理 JiShe.ServicePro.DynamicMenuManagement:User ph:user f f 1 user 20 20 \N /views/system/abpuser/index.vue AbpIdentity.Users t {} 9fdfe24f197144819793c775a140a3ff 2026-01-26 02:45:23.473158+08 \N \N \N f \N \N +3a1f0a5d-e73c-6f7c-9903-b0ed130e3bbd \N 3a1f0a5d-e73c-2a8c-1760-a33661a0dee3 deviceData 设备数据 JiShe.ServicePro.IoTDBManagement:DeviceData ant-design:container-outlined f f 1 deviceData 20 20 \N /views/iotdbdatamanagement/deviceData/index.vue IoTDBManagement.DeviceData t {} 4d1874d77c8d464eb6fc7cb4491b01a9 2026-01-26 02:45:23.522537+08 \N \N \N f \N \N +3a1f0a5d-e73c-796d-cca8-75c7cc875970 \N 3a1f0a5d-e73c-2a8c-1760-a33661a0dee3 onenetLog OneNET日志 JiShe.ServicePro.IoTDBManagement:OneNETLog ant-design:sliders-filled f f 4 onenetLog 20 20 \N /views/iotdbdatamanagement/onenetLog/index.vue IoTDBManagement.OneNETLog t {} 11d4aea6332d41779a8a37d3e5a36c11 2026-01-26 02:45:23.527+08 \N \N \N f \N \N +3a1f0a5d-e73c-815b-5426-926d0a6677cd \N 3a1f0a5d-e73c-d4c8-9490-54dc070b244e ioTPlatformThingModelInfo 平台物模型 JiShe.ServicePro.ThingModelInfo:IoTPlatformThingModelInfo ant-design:medium-square-filled f f 1 ioTPlatformThingModelInfo 20 20 \N /views/thingmodelinfo/ioTPlatformThingModelInfo/index.vue ThingModelInfo.IoTPlatformThingModelInfo t {} e7329a644ca044deb135ffddc032e1cc 2026-01-26 02:45:23.517368+08 \N \N \N f \N \N +3a1f0a5d-e73c-946d-d4d8-34ff2e1b8104 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpLanguageText 语言文本管理 JiShe.ServicePro.DynamicMenuManagement:LanguageText ant-design:font-size-outlined f f 9 languagetext 20 20 \N /views/system/abplanguage/languagetext.vue AbpIdentity.LanguageTexts t {} 95dd035247174d7da44b5813424ad7d8 2026-01-26 02:45:23.486291+08 \N \N \N f \N \N +3a1f0a5d-e73c-9fc7-4f97-fcbd05b1de19 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpOrganizationUnit 组织机构管理 JiShe.ServicePro.DynamicMenuManagement:OrganizationUnit ant-design:team-outlined f f 3 organizationUnit 20 20 \N /views/system/abporganizationunit/index.vue AbpIdentity.OrganizationUnitManagement t {} 1089c9303f04422dbb5e13520b2715ea 2026-01-26 02:45:23.476722+08 \N \N \N f \N \N +3a1f0a5d-e73c-a1c1-3e24-6a4add4bee32 \N \N tenant 租户管理 JiShe.ServicePro.DynamicMenuManagement:Tenant ant-design:switcher-filled f f 3 /tenant 10 20 \N \N t {} 0d5ee112769f45589a5c0c7b722973f2 2026-01-26 02:45:23.494093+08 \N \N \N f \N \N +3a1f0a5d-e73c-b6e4-c401-16772b7c8389 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpAuditLog 审计日志 JiShe.ServicePro.DynamicMenuManagement:AuditLog ant-design:snippets-twotone f f 6 auditlog 20 20 \N /views/system/abplog/audit.vue AbpIdentity.AuditLog t {} ad2bd103739148aca9a4d0c1b687e402 2026-01-26 02:45:23.481824+08 \N \N \N f \N \N +3a1f0a5d-e73c-ba84-217d-ad6ca176edef \N \N devicemanagement 设备管理 JiShe.ServicePro.DeviceManagement ant-design:printer-filled f f 8 /devicemanagement 10 20 \N \N t {} 8fd4471a2335414ea67d6e564318d593 2026-01-26 02:45:23.500213+08 \N \N \N f \N \N +3a1f0a5d-e73c-bdad-6f0d-ae04aa32e94a \N 3a1f0a5d-e73c-ba84-217d-ad6ca176edef deviceUpgradeRecord 升级记录 JiShe.ServicePro.DeviceManagement:DeviceUpgradeRecord ant-design:reload-outlined f f 3 deviceUpgradeRecord 20 20 \N /views/devicemanagement/deviceupgraderecord/index.vue DeviceManagement.DeviceUpgradeRecord t {} 1b2b3c734b8f4424baaba1055d37d817 2026-01-26 02:45:23.5051+08 \N \N \N f \N \N +3a1f0a5d-e73c-bf91-8fe7-d82709449ca8 \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpDataDictionary 数据字典管理 JiShe.ServicePro.DynamicMenuManagement:DataDictionary ant-design:table-outlined f f 10 dataDictionary 20 20 \N /views/system/abpdatadictionary/index.vue AbpIdentity.DataDictionaryManagement t {} 1d98ecb8b05f43ce9fae1744b6c2d845 2026-01-26 02:45:23.487884+08 \N \N \N f \N \N +3a1f0a5d-e73c-c16a-7fc8-d851de475f3f \N 3a1f0a5d-e73c-5846-8f88-8bb583bb190d abpNotification 通告管理 JiShe.ServicePro.DynamicMenuManagement:Notification ant-design:comment-outlined f f 11 notification 20 20 \N /views/system/abpnotification/notification.vue AbpIdentity.NotificationSubscriptionManagement t {} 8bae58cabc354a91ba1b7e1d52f809d0 2026-01-26 02:45:23.489589+08 \N \N \N f \N \N +3a1f0a5d-e73c-c97a-5890-5aaaae569d3a \N 3a1f0a5d-e73c-ba84-217d-ad6ca176edef deviceFirmwareInfo 固件管理 JiShe.ServicePro.DeviceManagement:DeviceFirmwareInfo ant-design:paper-clip-outlined f f 2 deviceFirmwareInfo 20 20 \N /views/devicemanagement/devicefirmwareinfo/index.vue DeviceManagement.DeviceFirmwareInfo t {} f56f01421d8c4cc09af675936b88d842 2026-01-26 02:45:23.503344+08 \N \N \N f \N \N +3a1f0a5d-e73c-ca3b-2951-4521ef9117e1 \N 3a1f0a5d-e73c-04ff-e03c-6ee50c6f4671 abpFile 文件管理 JiShe.ServicePro.DynamicMenuManagement:File ant-design:file-text-twotone f f 1 file 20 20 \N /views/system/abpfiles/index.vue FileManagement.File t {} e05e564dc7c74ca087b415093681e1fd 2026-01-26 02:45:23.498681+08 \N \N \N f \N \N +3a1f0a5d-e73c-cd7e-3dfd-56810dbb4ec8 \N \N onenetmanagement OneNET管理 JiShe.ServicePro.OneNETManagement ant-design:dribbble-circle-filled f f 6 /onenetmanagement 10 20 \N \N t {} cea58d4124624dcc9ed84afcd7bf5f83 2026-01-26 02:45:23.511527+08 \N \N \N f \N \N +3a1f0a5d-e73c-cec0-d4b1-19c5a6339a65 \N \N ctwingmanagement CTWing管理 JiShe.ServicePro.CTWingManagement ant-design:copyright-circle-filled f f 5 /ctwingmanagement 10 20 \N \N t {} c74880a20d354b04b3a7487432630075 2026-01-26 02:45:23.506863+08 \N \N \N f \N \N +3a1f0a5d-e73c-d02c-758b-bb618e767969 \N 3a1f0a5d-e73c-2a8c-1760-a33661a0dee3 telemetryLog 遥测日志 JiShe.ServicePro.IoTDBManagement:TelemetryLog ant-design:snippets-twotone f f 2 telemetryLog 20 20 \N /views/iotdbdatamanagement/telemetryLog/index.vue IoTDBManagement.TelemetryLog t {} bd46125fc8ed4d51a8b4d8f7efa50de2 2026-01-26 02:45:23.524199+08 \N \N \N f \N \N +3a1f0a5d-e73c-d4c8-9490-54dc070b244e \N \N thingmodelinfo 物模型管理 JiShe.ServicePro.ThingModelInfo ant-design:tool-outlined f f 7 /thingmodelinfo 10 20 \N \N t {} bab484ce2c494dac8befa021b6bcb3c8 2026-01-26 02:45:23.515939+08 \N \N \N f \N \N +3a1f0a5d-e73c-e212-b473-deccfa29788b \N 3a1f0a5d-e73c-2a8c-1760-a33661a0dee3 ctwingLog CTWing日志 JiShe.ServicePro.IoTDBManagement:CTWingLog ant-design:pie-chart-filled f f 3 ctwingLog 20 20 \N /views/iotdbdatamanagement/ctwingLog/index.vue IoTDBManagement.CTWingLog t {} 12720ad12b1f4249bb50775fe50da233 2026-01-26 02:45:23.525649+08 \N \N \N f \N \N +3a1f0a5d-e73c-e6c1-2ede-ada842221cf1 \N 3a1f0a5d-e739-e2ee-c9fb-f7416b490f80 Workspace 工作台 JiShe.ServicePro.DynamicMenuManagement:Workspace carbon:workspace f f 2 /workspace 20 20 \N /views/dashboard/workspace/index.vue t {} 6b11291acb7f48d28ca60e393f98b60e 2026-01-26 02:45:23.469267+08 \N \N \N f \N \N +3a1f0a5d-e73c-f5e2-ef97-3cbd5a8c1df1 \N 3a1f0a5d-e73c-ba84-217d-ad6ca176edef deviceInfo 设备信息 JiShe.ServicePro.DeviceManagement:DeviceInfo ant-design:control-outlined f f 1 deviceInfo 20 20 \N /views/devicemanagement/deviceinfo/index.vue DeviceManagement.DeviceInfo t {} 3816809f21f545cc9a5cce71e46ecb83 2026-01-26 02:45:23.501863+08 \N \N \N f \N \N +\. + + +-- +-- Data for Name: ServiceProOneNETAccountInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProOneNETAccountInfo" ("Id", "AccountName", "OneNETAccountId", "PhoneNumber", "AccountAccesskey", "ProductCount", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-e944-bf25-40ad-1c0b84db3057 CM002022579846 453226 13682348795 J9p8StcuPDUfBv0ozMrDbQvT/OEMqtXMrvQgjm2bFoXgVXTWoIwR0xyHeELm8qgC 0 354d747224184b25838104f3eb969b83 2026-01-26 10:45:23.908291+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-e9e2-b34e-297f-0497745c6bac SSR72RusEJM 426149 13657396784 v91mqJAILdsLVFN/moECptOe/IhCNSjEU8Sg5lzHkxkeJlRvZKUfEjc6PA7bRCxs 0 e62a6b775ebf471b826802178ee057f4 2026-01-26 10:45:24.066386+08 \N \N \N f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProOneNETProductInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProOneNETProductInfo" ("Id", "OneNETAccountId", "AccountPhoneNumber", "IoTPlatformProductId", "ProductName", "ProductAccesskey", "ThingModelFileId", "ThingModelFileName", "IsEnabled", "AccessProtocol", "DataProtocol", "NodeType", "ProductCreateTime", "ProductUpdateTime", "Network", "Manufacturer", "Model", "Brand", "Status", "OwnDeviceCount", "OnlineDeviceCount", "OfflineDeviceCount", "NotActiveDeviceCount", "CommunicationAddress", "CommunicationAddressTLS", "ThingModelInfos", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +3a1f0a5d-e98c-9dc8-9a85-7720193ddd4a 453226 13682348795 PBJvyxvsA9 集社云DDSU1980 Q72FdY3lP0sLl6/xRSlNa9GJK1VtP89HcY8vbYtZfwM= \N \N f 0 0 0 \N \N \N \N \N \N 0 0 0 0 0 PBJvyxvsA9.mqtts.acc.cmcconenet.cn PBJvyxvsA9.mqttstls.acc.cmcconenet.cn \N c79675d7b91d422a8ae932e532939570 2026-01-26 10:45:23.980243+08 \N \N \N f \N \N \N \N \N \N \N \N +3a1f0a5d-e9df-062c-b7b2-a4712245f499 453226 13682348795 f9bAPyA1q7 云集云DTSU1980 U90vUVMX1zt3reMtv9Pr07//O1mtBx1lj5lZqbVTlQM= \N \N f 0 0 0 \N \N \N \N \N \N 0 0 0 0 0 f9bAPyA1q7.mqtts.acc.cmcconenet.cn f9bAPyA1q7.mqttstls.acc.cmcconenet.cn {"version":"1.0","profile":{"industryId":"","sceneId":"","categoryId":"","productId":""},"properties":[{"identifier":"Device","name":"设备地址","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"Gateway","name":"网关集中器地址","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"Power","name":"电量","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"ReadingInterval","name":"抄读间隔","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"","unit":""}},"functionMode":"property","required":false},{"identifier":"ReadingMode","name":"抄读模式","functionType":"u","accessMode":"rw","desc":"抄读模式,1 标准模型模式 2 透抄模式","dataType":{"type":"int32","specs":{"max":"99","min":"1","step":"","unit":""}},"functionMode":"property","required":false},{"identifier":"ReportInterval","name":"上报间隔","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"SpecialCommand","name":"特殊标识","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"struct","specs":[{"name":"标识1","identifier":"logo1","dataType":{"type":"string","specs":{"length":512}}},{"name":"标识2","identifier":"logo2","dataType":{"type":"string","specs":{"length":512}}}]},"functionMode":"property","required":false},{"identifier":"Time","name":"时间戳","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int64","specs":{"max":"999999999999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"da_fz","name":"第x日的日冻结","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"hversion","name":"硬件版本号","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"mo_fz","name":"第x月的月冻结","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"now","name":"当前数据","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"temp","name":"温度","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"100","min":"0","step":"0.1","unit":"摄氏度 / °C"}},"functionMode":"property","required":false},{"identifier":"updata","name":"升级","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"version","name":"软件版本号","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"x1010","name":"瞬时流量","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"99999.99999","min":"-99999.99999","step":"0.00001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1012","name":"瞬时流速","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"99.999","min":"-99.999","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1014","name":"流量百分比","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"100.00","min":"0","step":"0.01","unit":""}},"functionMode":"property","required":false},{"identifier":"x1016","name":"流体电导比","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"99999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"x1018","name":"正向流量累计值","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"999999999.999","min":"0","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x101c","name":"反向流量累计值","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"float","specs":{"max":"999999999.999","min":"0","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1020","name":"瞬时流量单位","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"x1021","name":"累积总量单位","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"x1022","name":"上限报警","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1023","name":"下限报警","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1024","name":"空管报警","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1025","name":"系统报警","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false}],"events":[{"identifier":"heartbeatevent","name":"心跳事件","functionType":"u","eventType":"info","desc":"","outputData":[{"identifier":"heartbeat","name":"心跳","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}}}],"functionMode":"event","required":false},{"identifier":"upgradeevent","name":"升级信息","functionType":"u","eventType":"info","desc":"","outputData":[{"identifier":"upgraderesult","name":"升级结果","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}}},{"identifier":"idf","name":"标识","dataType":{"type":"int64","specs":{"max":"9223372036854775807","min":"0","step":"","unit":""}}}],"functionMode":"event","required":false}],"services":[],"combs":[]} e7c20bbbf98945aebf0c46eef1ae46a8 2026-01-26 10:45:24.063404+08 \N 2026-01-26 11:44:50.766671+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +3a1f0a5d-e9e4-c37c-6a8b-074e45cde837 426149 13657396784 F7S36uMObl flowmeter L40lYelHHbVR2f/LxQPn3b3RYzcNLQFJ44mJGyPTb90= \N \N f 0 0 0 \N \N \N \N \N \N 0 0 0 0 0 F7S36uMObl.mqtts.acc.cmcconenet.cn F7S36uMObl.mqttstls.acc.cmcconenet.cn {"version":"1.0","profile":{"industryId":"","sceneId":"","categoryId":"","productId":""},"properties":[{"identifier":"Gateway","name":"网关集中器地址","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"ReadingInterval","name":"抄读间隔","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"","unit":""}},"functionMode":"property","required":false},{"identifier":"ReadingMode","name":"读当前模式","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"ReportInterval","name":"上报间隔","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"SpecialCommand","name":"特殊标识","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"struct","specs":[{"name":"标识1","identifier":"logo1","dataType":{"type":"string","specs":{"length":512}}},{"name":"标识2","identifier":"logo2","dataType":{"type":"string","specs":{"length":512}}}]},"functionMode":"property","required":false},{"identifier":"SubDevice","name":"设备地址","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"Time","name":"时间戳","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"int64","specs":{"max":"999999999999999999","min":"0","step":"1","unit":""}},"functionMode":"property","required":false},{"identifier":"da_fz","name":"第x日的日冻结","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"hversion","name":"硬件版本号","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"mo_fz","name":"第x月的月冻结","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"now","name":"当前数据","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"updata","name":"升级","functionType":"u","accessMode":"rw","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"version","name":"软件版本号","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"string","specs":{"length":512}},"functionMode":"property","required":false},{"identifier":"x1010","name":"瞬时流量","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"99999.99999","min":"-99999.99999","step":"0.00001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1012","name":"瞬时流速","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"99.999","min":"-99.999","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1014","name":"流量百分比","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"100.000","min":"0","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1016","name":"流体电导比","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"99999.999","min":"0","step":"0.01","unit":""}},"functionMode":"property","required":false},{"identifier":"x1018","name":"正向流量累计值","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"999999999.999","min":"0","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x101c","name":"反向流量累计值","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"float","specs":{"max":"999999999.999","min":"0","step":"0.001","unit":""}},"functionMode":"property","required":false},{"identifier":"x1020","name":"瞬时流量单位","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"x1021","name":"累积总量单位","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"string","specs":{"length":256}},"functionMode":"property","required":false},{"identifier":"x1022","name":"上限报警","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1023","name":"下限报警","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1024","name":"空管报警","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false},{"identifier":"x1025","name":"系统报警","functionType":"u","accessMode":"r","desc":"","dataType":{"type":"bool","specs":{"false":"1","true":"0"}},"functionMode":"property","required":false}],"events":[{"identifier":"heartbeatevent","name":"心跳事件","functionType":"u","eventType":"info","desc":"","outputData":[{"identifier":"heartbeat","name":"心跳","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}}}],"functionMode":"event","required":false},{"identifier":"upgradeevent","name":"升级信息","functionType":"u","eventType":"info","desc":"","outputData":[{"identifier":"upgraderesult","name":"升级结果","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}}},{"identifier":"idf","name":"标识","dataType":{"type":"int32","specs":{"max":"999999999","min":"0","step":"1","unit":""}}}],"functionMode":"event","required":false}],"services":[],"combs":[]} 0ac93d05bb7b4e1089ed9c4fbc0181aa 2026-01-26 10:45:24.068103+08 \N 2026-01-26 11:44:52.018825+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e f \N \N \N \N \N \N \N \N +\. + + +-- +-- Data for Name: ServiceProSubDeviceManagementInfo; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProSubDeviceManagementInfo" ("Id", "DeviceDataId", "DeviceAddress", "SubDeviceName", "SubDeviceAddress", "SubDeviceIndex", "SubDeviceBrandCode", "IsSynced", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime", "TenantId", "Remark", "OSACreatorId", "OSALastModifierId", "OSADeleterId", "ExtraProperties") FROM stdin; +\. + + +-- +-- Data for Name: ServiceProTextTemplates; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProTextTemplates" ("Id", "TenantId", "Name", "Code", "Content", "CultureName", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +\. + + +-- +-- Data for Name: ServiceProUserRefreshTokens; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."ServiceProUserRefreshTokens" ("Id", "UserId", "TenantId", "RefreshToken", "Token", "IsUsed", "ExpirationTime", "ExtraProperties", "ConcurrencyStamp", "CreationTime", "CreatorId", "LastModificationTime", "LastModifierId", "IsDeleted", "DeleterId", "DeletionTime") FROM stdin; +3a1f0a94-2148-19b9-df05-a371ffa0f175 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e \N 3a1f0a942148b5063ad80fa851bb7494 eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJKaVNoZS5Jb1QiLCJpc3MiOiJKaVNoZS5Jb1QiLCJuYW1laWQiOiIzYTFmMGE1ZC1jY2YwLWMxODQtYjAyMS0yOWMwOWExMmZmMmUiLCJnaXZlbl9uYW1lIjoiYWRtaW4iLCJ1bmlxdWVfbmFtZSI6ImFkbWluIiwiZW1haWwiOiJhZG1pbkBhYnAuaW8iLCJ0ZW5hbnRpZCI6IiIsInJvbGUiOiJhZG1pbiIsIm5iZiI6MTc2OTM5OTA3NywiZXhwIjoxNzY5NDA2Mjc3LCJpYXQiOjE3NjkzOTkwNzd9.wx-bFgL6szFMVLJ1hdW0W0JztSn3yKQKkKHfZFqlJ2k f 2026-02-02 03:44:37.192364+08 {} 4fad1b9621ca42119c27d81fdb7d7aba 2026-01-26 03:44:37.304442+08 3a1f0a5d-ccf0-c184-b021-29c09a12ff2e \N \N f \N \N +\. + + +-- +-- Data for Name: __EFMigrationsHistory; Type: TABLE DATA; Schema: public; Owner: postgres +-- + +COPY public."__EFMigrationsHistory" ("MigrationId", "ProductVersion") FROM stdin; +20260126022433_InitialCreate 10.0.2 +\. + + +-- +-- Name: AbpAuditLogActions PK_AbpAuditLogActions; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpAuditLogActions" + ADD CONSTRAINT "PK_AbpAuditLogActions" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpAuditLogExcelFiles PK_AbpAuditLogExcelFiles; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpAuditLogExcelFiles" + ADD CONSTRAINT "PK_AbpAuditLogExcelFiles" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpAuditLogs PK_AbpAuditLogs; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpAuditLogs" + ADD CONSTRAINT "PK_AbpAuditLogs" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpBackgroundJobs PK_AbpBackgroundJobs; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpBackgroundJobs" + ADD CONSTRAINT "PK_AbpBackgroundJobs" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpClaimTypes PK_AbpClaimTypes; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpClaimTypes" + ADD CONSTRAINT "PK_AbpClaimTypes" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpDataDictionaries PK_AbpDataDictionaries; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpDataDictionaries" + ADD CONSTRAINT "PK_AbpDataDictionaries" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpDataDictionaryDetails PK_AbpDataDictionaryDetails; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpDataDictionaryDetails" + ADD CONSTRAINT "PK_AbpDataDictionaryDetails" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpEntityChanges PK_AbpEntityChanges; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpEntityChanges" + ADD CONSTRAINT "PK_AbpEntityChanges" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpEntityPropertyChanges PK_AbpEntityPropertyChanges; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpEntityPropertyChanges" + ADD CONSTRAINT "PK_AbpEntityPropertyChanges" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpFeatureGroups PK_AbpFeatureGroups; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpFeatureGroups" + ADD CONSTRAINT "PK_AbpFeatureGroups" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpFeatureValues PK_AbpFeatureValues; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpFeatureValues" + ADD CONSTRAINT "PK_AbpFeatureValues" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpFeatures PK_AbpFeatures; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpFeatures" + ADD CONSTRAINT "PK_AbpFeatures" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpFileObjects PK_AbpFileObjects; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpFileObjects" + ADD CONSTRAINT "PK_AbpFileObjects" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpLanguageTexts PK_AbpLanguageTexts; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpLanguageTexts" + ADD CONSTRAINT "PK_AbpLanguageTexts" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpLanguages PK_AbpLanguages; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpLanguages" + ADD CONSTRAINT "PK_AbpLanguages" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpLinkUsers PK_AbpLinkUsers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpLinkUsers" + ADD CONSTRAINT "PK_AbpLinkUsers" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpNotificationSubscriptions PK_AbpNotificationSubscriptions; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpNotificationSubscriptions" + ADD CONSTRAINT "PK_AbpNotificationSubscriptions" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpNotifications PK_AbpNotifications; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpNotifications" + ADD CONSTRAINT "PK_AbpNotifications" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpOrganizationUnitRoles PK_AbpOrganizationUnitRoles; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpOrganizationUnitRoles" + ADD CONSTRAINT "PK_AbpOrganizationUnitRoles" PRIMARY KEY ("OrganizationUnitId", "RoleId"); + + +-- +-- Name: AbpOrganizationUnits PK_AbpOrganizationUnits; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpOrganizationUnits" + ADD CONSTRAINT "PK_AbpOrganizationUnits" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpPermissionGrants PK_AbpPermissionGrants; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpPermissionGrants" + ADD CONSTRAINT "PK_AbpPermissionGrants" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpPermissionGroups PK_AbpPermissionGroups; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpPermissionGroups" + ADD CONSTRAINT "PK_AbpPermissionGroups" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpPermissions PK_AbpPermissions; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpPermissions" + ADD CONSTRAINT "PK_AbpPermissions" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpRoleClaims PK_AbpRoleClaims; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpRoleClaims" + ADD CONSTRAINT "PK_AbpRoleClaims" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpRoles PK_AbpRoles; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpRoles" + ADD CONSTRAINT "PK_AbpRoles" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpSecurityLogs PK_AbpSecurityLogs; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpSecurityLogs" + ADD CONSTRAINT "PK_AbpSecurityLogs" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpSessions PK_AbpSessions; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpSessions" + ADD CONSTRAINT "PK_AbpSessions" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpSettingDefinitions PK_AbpSettingDefinitions; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpSettingDefinitions" + ADD CONSTRAINT "PK_AbpSettingDefinitions" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpSettings PK_AbpSettings; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpSettings" + ADD CONSTRAINT "PK_AbpSettings" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpTenantConnectionStrings PK_AbpTenantConnectionStrings; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpTenantConnectionStrings" + ADD CONSTRAINT "PK_AbpTenantConnectionStrings" PRIMARY KEY ("TenantId", "Name"); + + +-- +-- Name: AbpTenants PK_AbpTenants; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpTenants" + ADD CONSTRAINT "PK_AbpTenants" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpUserClaims PK_AbpUserClaims; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserClaims" + ADD CONSTRAINT "PK_AbpUserClaims" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpUserDelegations PK_AbpUserDelegations; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserDelegations" + ADD CONSTRAINT "PK_AbpUserDelegations" PRIMARY KEY ("Id"); + + +-- +-- Name: AbpUserLogins PK_AbpUserLogins; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserLogins" + ADD CONSTRAINT "PK_AbpUserLogins" PRIMARY KEY ("UserId", "LoginProvider"); + + +-- +-- Name: AbpUserOrganizationUnits PK_AbpUserOrganizationUnits; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserOrganizationUnits" + ADD CONSTRAINT "PK_AbpUserOrganizationUnits" PRIMARY KEY ("OrganizationUnitId", "UserId"); + + +-- +-- Name: AbpUserRoles PK_AbpUserRoles; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserRoles" + ADD CONSTRAINT "PK_AbpUserRoles" PRIMARY KEY ("UserId", "RoleId"); + + +-- +-- Name: AbpUserTokens PK_AbpUserTokens; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserTokens" + ADD CONSTRAINT "PK_AbpUserTokens" PRIMARY KEY ("UserId", "LoginProvider", "Name"); + + +-- +-- Name: AbpUsers PK_AbpUsers; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUsers" + ADD CONSTRAINT "PK_AbpUsers" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProCTWingAccountInfo PK_ServiceProCTWingAccountInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProCTWingAccountInfo" + ADD CONSTRAINT "PK_ServiceProCTWingAccountInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProCTWingPrivateProductInfo PK_ServiceProCTWingPrivateProductInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProCTWingPrivateProductInfo" + ADD CONSTRAINT "PK_ServiceProCTWingPrivateProductInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceFirmwareInfo PK_ServiceProDeviceFirmwareInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceFirmwareInfo" + ADD CONSTRAINT "PK_ServiceProDeviceFirmwareInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceInfo PK_ServiceProDeviceInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceInfo" + ADD CONSTRAINT "PK_ServiceProDeviceInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceThingModelCommandInfo PK_ServiceProDeviceThingModelCommandInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceThingModelCommandInfo" + ADD CONSTRAINT "PK_ServiceProDeviceThingModelCommandInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceThingModelManagement PK_ServiceProDeviceThingModelManagement; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceThingModelManagement" + ADD CONSTRAINT "PK_ServiceProDeviceThingModelManagement" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceThingModelPropertylInfo PK_ServiceProDeviceThingModelPropertylInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceThingModelPropertylInfo" + ADD CONSTRAINT "PK_ServiceProDeviceThingModelPropertylInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProDeviceUpgradeRecord PK_ServiceProDeviceUpgradeRecord; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProDeviceUpgradeRecord" + ADD CONSTRAINT "PK_ServiceProDeviceUpgradeRecord" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProIoTPlatformThingModelInfo PK_ServiceProIoTPlatformThingModelInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProIoTPlatformThingModelInfo" + ADD CONSTRAINT "PK_ServiceProIoTPlatformThingModelInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProMenus PK_ServiceProMenus; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProMenus" + ADD CONSTRAINT "PK_ServiceProMenus" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProOneNETAccountInfo PK_ServiceProOneNETAccountInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProOneNETAccountInfo" + ADD CONSTRAINT "PK_ServiceProOneNETAccountInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProOneNETProductInfo PK_ServiceProOneNETProductInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProOneNETProductInfo" + ADD CONSTRAINT "PK_ServiceProOneNETProductInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProSubDeviceManagementInfo PK_ServiceProSubDeviceManagementInfo; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProSubDeviceManagementInfo" + ADD CONSTRAINT "PK_ServiceProSubDeviceManagementInfo" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProTextTemplates PK_ServiceProTextTemplates; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProTextTemplates" + ADD CONSTRAINT "PK_ServiceProTextTemplates" PRIMARY KEY ("Id"); + + +-- +-- Name: ServiceProUserRefreshTokens PK_ServiceProUserRefreshTokens; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."ServiceProUserRefreshTokens" + ADD CONSTRAINT "PK_ServiceProUserRefreshTokens" PRIMARY KEY ("Id"); + + +-- +-- Name: __EFMigrationsHistory PK___EFMigrationsHistory; Type: CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."__EFMigrationsHistory" + ADD CONSTRAINT "PK___EFMigrationsHistory" PRIMARY KEY ("MigrationId"); + + +-- +-- Name: IX_AbpAuditLogActions_AuditLogId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpAuditLogActions_AuditLogId" ON public."AbpAuditLogActions" USING btree ("AuditLogId"); + + +-- +-- Name: IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_Executio~; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_Executio~" ON public."AbpAuditLogActions" USING btree ("TenantId", "ServiceName", "MethodName", "ExecutionTime"); + + +-- +-- Name: IX_AbpAuditLogs_TenantId_ExecutionTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpAuditLogs_TenantId_ExecutionTime" ON public."AbpAuditLogs" USING btree ("TenantId", "ExecutionTime"); + + +-- +-- Name: IX_AbpAuditLogs_TenantId_UserId_ExecutionTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpAuditLogs_TenantId_UserId_ExecutionTime" ON public."AbpAuditLogs" USING btree ("TenantId", "UserId", "ExecutionTime"); + + +-- +-- Name: IX_AbpBackgroundJobs_IsAbandoned_NextTryTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpBackgroundJobs_IsAbandoned_NextTryTime" ON public."AbpBackgroundJobs" USING btree ("IsAbandoned", "NextTryTime"); + + +-- +-- Name: IX_AbpDataDictionaryDetails_DataDictionaryId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpDataDictionaryDetails_DataDictionaryId" ON public."AbpDataDictionaryDetails" USING btree ("DataDictionaryId"); + + +-- +-- Name: IX_AbpEntityChanges_AuditLogId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpEntityChanges_AuditLogId" ON public."AbpEntityChanges" USING btree ("AuditLogId"); + + +-- +-- Name: IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId" ON public."AbpEntityChanges" USING btree ("TenantId", "EntityTypeFullName", "EntityId"); + + +-- +-- Name: IX_AbpEntityPropertyChanges_EntityChangeId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpEntityPropertyChanges_EntityChangeId" ON public."AbpEntityPropertyChanges" USING btree ("EntityChangeId"); + + +-- +-- Name: IX_AbpFeatureGroups_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpFeatureGroups_Name" ON public."AbpFeatureGroups" USING btree ("Name"); + + +-- +-- Name: IX_AbpFeatureValues_Name_ProviderName_ProviderKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpFeatureValues_Name_ProviderName_ProviderKey" ON public."AbpFeatureValues" USING btree ("Name", "ProviderName", "ProviderKey"); + + +-- +-- Name: IX_AbpFeatures_GroupName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpFeatures_GroupName" ON public."AbpFeatures" USING btree ("GroupName"); + + +-- +-- Name: IX_AbpFeatures_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpFeatures_Name" ON public."AbpFeatures" USING btree ("Name"); + + +-- +-- Name: IX_AbpFileObjects_FileName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpFileObjects_FileName" ON public."AbpFileObjects" USING btree ("FileName"); + + +-- +-- Name: IX_AbpLanguageTexts_TenantId_ResourceName_CultureName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpLanguageTexts_TenantId_ResourceName_CultureName" ON public."AbpLanguageTexts" USING btree ("TenantId", "ResourceName", "CultureName"); + + +-- +-- Name: IX_AbpLanguages_CultureName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpLanguages_CultureName" ON public."AbpLanguages" USING btree ("CultureName"); + + +-- +-- Name: IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Targe~; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Targe~" ON public."AbpLinkUsers" USING btree ("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId"); + + +-- +-- Name: IX_AbpNotificationSubscriptions_NotificationId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpNotificationSubscriptions_NotificationId" ON public."AbpNotificationSubscriptions" USING btree ("NotificationId"); + + +-- +-- Name: IX_AbpNotificationSubscriptions_ReceiveUserId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpNotificationSubscriptions_ReceiveUserId" ON public."AbpNotificationSubscriptions" USING btree ("ReceiveUserId"); + + +-- +-- Name: IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId" ON public."AbpOrganizationUnitRoles" USING btree ("RoleId", "OrganizationUnitId"); + + +-- +-- Name: IX_AbpOrganizationUnits_Code; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpOrganizationUnits_Code" ON public."AbpOrganizationUnits" USING btree ("Code"); + + +-- +-- Name: IX_AbpOrganizationUnits_ParentId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpOrganizationUnits_ParentId" ON public."AbpOrganizationUnits" USING btree ("ParentId"); + + +-- +-- Name: IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey" ON public."AbpPermissionGrants" USING btree ("TenantId", "Name", "ProviderName", "ProviderKey"); + + +-- +-- Name: IX_AbpPermissionGroups_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpPermissionGroups_Name" ON public."AbpPermissionGroups" USING btree ("Name"); + + +-- +-- Name: IX_AbpPermissions_GroupName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpPermissions_GroupName" ON public."AbpPermissions" USING btree ("GroupName"); + + +-- +-- Name: IX_AbpPermissions_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpPermissions_Name" ON public."AbpPermissions" USING btree ("Name"); + + +-- +-- Name: IX_AbpRoleClaims_RoleId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpRoleClaims_RoleId" ON public."AbpRoleClaims" USING btree ("RoleId"); + + +-- +-- Name: IX_AbpRoles_NormalizedName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpRoles_NormalizedName" ON public."AbpRoles" USING btree ("NormalizedName"); + + +-- +-- Name: IX_AbpSecurityLogs_TenantId_Action; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_Action" ON public."AbpSecurityLogs" USING btree ("TenantId", "Action"); + + +-- +-- Name: IX_AbpSecurityLogs_TenantId_ApplicationName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_ApplicationName" ON public."AbpSecurityLogs" USING btree ("TenantId", "ApplicationName"); + + +-- +-- Name: IX_AbpSecurityLogs_TenantId_Identity; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_Identity" ON public."AbpSecurityLogs" USING btree ("TenantId", "Identity"); + + +-- +-- Name: IX_AbpSecurityLogs_TenantId_UserId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSecurityLogs_TenantId_UserId" ON public."AbpSecurityLogs" USING btree ("TenantId", "UserId"); + + +-- +-- Name: IX_AbpSessions_Device; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSessions_Device" ON public."AbpSessions" USING btree ("Device"); + + +-- +-- Name: IX_AbpSessions_SessionId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSessions_SessionId" ON public."AbpSessions" USING btree ("SessionId"); + + +-- +-- Name: IX_AbpSessions_TenantId_UserId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpSessions_TenantId_UserId" ON public."AbpSessions" USING btree ("TenantId", "UserId"); + + +-- +-- Name: IX_AbpSettingDefinitions_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpSettingDefinitions_Name" ON public."AbpSettingDefinitions" USING btree ("Name"); + + +-- +-- Name: IX_AbpSettings_Name_ProviderName_ProviderKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_AbpSettings_Name_ProviderName_ProviderKey" ON public."AbpSettings" USING btree ("Name", "ProviderName", "ProviderKey"); + + +-- +-- Name: IX_AbpTenants_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpTenants_Name" ON public."AbpTenants" USING btree ("Name"); + + +-- +-- Name: IX_AbpTenants_NormalizedName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpTenants_NormalizedName" ON public."AbpTenants" USING btree ("NormalizedName"); + + +-- +-- Name: IX_AbpUserClaims_UserId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUserClaims_UserId" ON public."AbpUserClaims" USING btree ("UserId"); + + +-- +-- Name: IX_AbpUserLogins_LoginProvider_ProviderKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUserLogins_LoginProvider_ProviderKey" ON public."AbpUserLogins" USING btree ("LoginProvider", "ProviderKey"); + + +-- +-- Name: IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId" ON public."AbpUserOrganizationUnits" USING btree ("UserId", "OrganizationUnitId"); + + +-- +-- Name: IX_AbpUserRoles_RoleId_UserId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUserRoles_RoleId_UserId" ON public."AbpUserRoles" USING btree ("RoleId", "UserId"); + + +-- +-- Name: IX_AbpUsers_Email; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUsers_Email" ON public."AbpUsers" USING btree ("Email"); + + +-- +-- Name: IX_AbpUsers_NormalizedEmail; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUsers_NormalizedEmail" ON public."AbpUsers" USING btree ("NormalizedEmail"); + + +-- +-- Name: IX_AbpUsers_NormalizedUserName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUsers_NormalizedUserName" ON public."AbpUsers" USING btree ("NormalizedUserName"); + + +-- +-- Name: IX_AbpUsers_UserName; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_AbpUsers_UserName" ON public."AbpUsers" USING btree ("UserName"); + + +-- +-- Name: IX_Menus_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_Menus_IsNotUniqueKey" ON public."ServiceProMenus" USING btree ("Id" DESC, "Name" DESC, "Path" DESC, "MenuType" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProCTWingAccountInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProCTWingAccountInfo_CreationTime" ON public."ServiceProCTWingAccountInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProCTWingAccountInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProCTWingAccountInfo_IsNotUniqueKey" ON public."ServiceProCTWingAccountInfo" USING btree ("Id" DESC, "AccountId" DESC, "AccountName" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProCTWingPrivateProductInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProCTWingPrivateProductInfo_CreationTime" ON public."ServiceProCTWingPrivateProductInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProCTWingPrivateProductInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProCTWingPrivateProductInfo_IsNotUniqueKey" ON public."ServiceProCTWingPrivateProductInfo" USING btree ("Id" DESC, "IoTPlatformProductId" DESC, "ProductName" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProDeviceFirmwareInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceFirmwareInfo_CreationTime" ON public."ServiceProDeviceFirmwareInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceFirmwareInfo_IoTPlatformProductId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceFirmwareInfo_IoTPlatformProductId" ON public."ServiceProDeviceFirmwareInfo" USING btree ("IoTPlatformProductId"); + + +-- +-- Name: IX_ServiceProDeviceFirmwareInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceFirmwareInfo_IsNotUniqueKey" ON public."ServiceProDeviceFirmwareInfo" USING btree ("Id" DESC, "IoTPlatformProductId" DESC, "FirmwareVersion" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProDeviceInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceInfo_CreationTime" ON public."ServiceProDeviceInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceInfo_DeviceAddress; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceInfo_DeviceAddress" ON public."ServiceProDeviceInfo" USING btree ("DeviceAddress"); + + +-- +-- Name: IX_ServiceProDeviceInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceInfo_IsNotUniqueKey" ON public."ServiceProDeviceInfo" USING btree ("Id" DESC, "DeviceName" DESC, "DeviceAddress" DESC, "IoTPlatformProductId" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProDeviceThingModelCommandInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelCommandInfo_CreationTime" ON public."ServiceProDeviceThingModelCommandInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceThingModelCommandInfo_DeviceThingModelId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelCommandInfo_DeviceThingModelId" ON public."ServiceProDeviceThingModelCommandInfo" USING btree ("DeviceThingModelId"); + + +-- +-- Name: IX_ServiceProDeviceThingModelManagement_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelManagement_CreationTime" ON public."ServiceProDeviceThingModelManagement" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceThingModelManagement_IoTPlatformProductId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelManagement_IoTPlatformProductId" ON public."ServiceProDeviceThingModelManagement" USING btree ("IoTPlatformProductId"); + + +-- +-- Name: IX_ServiceProDeviceThingModelPropertylInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelPropertylInfo_CreationTime" ON public."ServiceProDeviceThingModelPropertylInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceThingModelPropertylInfo_IoTPlatformProductId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceThingModelPropertylInfo_IoTPlatformProductId" ON public."ServiceProDeviceThingModelPropertylInfo" USING btree ("IoTPlatformProductId"); + + +-- +-- Name: IX_ServiceProDeviceUpgradeRecord_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceUpgradeRecord_CreationTime" ON public."ServiceProDeviceUpgradeRecord" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProDeviceUpgradeRecord_DeviceAddress; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceUpgradeRecord_DeviceAddress" ON public."ServiceProDeviceUpgradeRecord" USING btree ("DeviceAddress"); + + +-- +-- Name: IX_ServiceProDeviceUpgradeRecord_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProDeviceUpgradeRecord_IsNotUniqueKey" ON public."ServiceProDeviceUpgradeRecord" USING btree ("Id" DESC, "DeviceAddress" DESC, "UpgradeIdentifier" DESC, "NowFirmwareVersion" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProDeviceUpgradeRecord_UpgradeIdentifier; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_ServiceProDeviceUpgradeRecord_UpgradeIdentifier" ON public."ServiceProDeviceUpgradeRecord" USING btree ("UpgradeIdentifier"); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_CreationTime" ON public."ServiceProIoTPlatformThingModelInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_IoTPlatformProductId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_IoTPlatformProductId" ON public."ServiceProIoTPlatformThingModelInfo" USING btree ("IoTPlatformProductId"); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey" ON public."ServiceProDeviceThingModelCommandInfo" USING btree ("Id" DESC, "DeviceThingModelId" DESC, "IoTPlatformProductId" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey1; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey1" ON public."ServiceProDeviceThingModelManagement" USING btree ("Id" DESC, "DeviceModelName" DESC, "IoTPlatformProductId" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey2; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey2" ON public."ServiceProDeviceThingModelPropertylInfo" USING btree ("Id" DESC, "IoTPlatformProductId" DESC, "IoTPlatformRawFieldName" DESC, "StandardFieldName" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey3; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey3" ON public."ServiceProIoTPlatformThingModelInfo" USING btree ("Id" DESC, "IoTPlatformProductId" DESC, "IoTPlatformRawFieldName" DESC, "StandardFieldName" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProMenus_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProMenus_CreationTime" ON public."ServiceProMenus" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProMenus_Name; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProMenus_Name" ON public."ServiceProMenus" USING btree ("Name"); + + +-- +-- Name: IX_ServiceProOneNETAccountInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProOneNETAccountInfo_CreationTime" ON public."ServiceProOneNETAccountInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProOneNETAccountInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProOneNETAccountInfo_IsNotUniqueKey" ON public."ServiceProOneNETAccountInfo" USING btree ("Id" DESC, "OneNETAccountId" DESC, "AccountName" DESC, "PhoneNumber" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProOneNETProductInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProOneNETProductInfo_CreationTime" ON public."ServiceProOneNETProductInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProOneNETProductInfo_IoTPlatformProductId; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE UNIQUE INDEX "IX_ServiceProOneNETProductInfo_IoTPlatformProductId" ON public."ServiceProOneNETProductInfo" USING btree ("IoTPlatformProductId"); + + +-- +-- Name: IX_ServiceProOneNETProductInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProOneNETProductInfo_IsNotUniqueKey" ON public."ServiceProOneNETProductInfo" USING btree ("Id" DESC, "IoTPlatformProductId" DESC, "ProductName" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProSubDeviceManagementInfo_CreationTime; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProSubDeviceManagementInfo_CreationTime" ON public."ServiceProSubDeviceManagementInfo" USING btree ("CreationTime"); + + +-- +-- Name: IX_ServiceProSubDeviceManagementInfo_DeviceAddress; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProSubDeviceManagementInfo_DeviceAddress" ON public."ServiceProSubDeviceManagementInfo" USING btree ("DeviceAddress"); + + +-- +-- Name: IX_ServiceProSubDeviceManagementInfo_IsNotUniqueKey; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProSubDeviceManagementInfo_IsNotUniqueKey" ON public."ServiceProSubDeviceManagementInfo" USING btree ("Id" DESC, "DeviceAddress" DESC, "SubDeviceIndex" DESC, "SubDeviceAddress" DESC, "CreationTime" DESC); + + +-- +-- Name: IX_ServiceProSubDeviceManagementInfo_SubDeviceAddress; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProSubDeviceManagementInfo_SubDeviceAddress" ON public."ServiceProSubDeviceManagementInfo" USING btree ("SubDeviceAddress"); + + +-- +-- Name: IX_ServiceProSubDeviceManagementInfo_SubDeviceIndex; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProSubDeviceManagementInfo_SubDeviceIndex" ON public."ServiceProSubDeviceManagementInfo" USING btree ("SubDeviceIndex"); + + +-- +-- Name: IX_ServiceProTextTemplates_Code; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProTextTemplates_Code" ON public."ServiceProTextTemplates" USING btree ("Code"); + + +-- +-- Name: IX_ServiceProUserRefreshTokens_RefreshToken; Type: INDEX; Schema: public; Owner: postgres +-- + +CREATE INDEX "IX_ServiceProUserRefreshTokens_RefreshToken" ON public."ServiceProUserRefreshTokens" USING btree ("RefreshToken"); + + +-- +-- Name: AbpAuditLogActions FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpAuditLogActions" + ADD CONSTRAINT "FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId" FOREIGN KEY ("AuditLogId") REFERENCES public."AbpAuditLogs"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpDataDictionaryDetails FK_AbpDataDictionaryDetails_AbpDataDictionaries_DataDictionary~; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpDataDictionaryDetails" + ADD CONSTRAINT "FK_AbpDataDictionaryDetails_AbpDataDictionaries_DataDictionary~" FOREIGN KEY ("DataDictionaryId") REFERENCES public."AbpDataDictionaries"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpEntityChanges FK_AbpEntityChanges_AbpAuditLogs_AuditLogId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpEntityChanges" + ADD CONSTRAINT "FK_AbpEntityChanges_AbpAuditLogs_AuditLogId" FOREIGN KEY ("AuditLogId") REFERENCES public."AbpAuditLogs"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpEntityPropertyChanges FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpEntityPropertyChanges" + ADD CONSTRAINT "FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId" FOREIGN KEY ("EntityChangeId") REFERENCES public."AbpEntityChanges"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpOrganizationUnitRoles FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationU~; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpOrganizationUnitRoles" + ADD CONSTRAINT "FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationU~" FOREIGN KEY ("OrganizationUnitId") REFERENCES public."AbpOrganizationUnits"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpOrganizationUnitRoles FK_AbpOrganizationUnitRoles_AbpRoles_RoleId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpOrganizationUnitRoles" + ADD CONSTRAINT "FK_AbpOrganizationUnitRoles_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES public."AbpRoles"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpOrganizationUnits FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpOrganizationUnits" + ADD CONSTRAINT "FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId" FOREIGN KEY ("ParentId") REFERENCES public."AbpOrganizationUnits"("Id"); + + +-- +-- Name: AbpRoleClaims FK_AbpRoleClaims_AbpRoles_RoleId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpRoleClaims" + ADD CONSTRAINT "FK_AbpRoleClaims_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES public."AbpRoles"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpTenantConnectionStrings FK_AbpTenantConnectionStrings_AbpTenants_TenantId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpTenantConnectionStrings" + ADD CONSTRAINT "FK_AbpTenantConnectionStrings_AbpTenants_TenantId" FOREIGN KEY ("TenantId") REFERENCES public."AbpTenants"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserClaims FK_AbpUserClaims_AbpUsers_UserId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserClaims" + ADD CONSTRAINT "FK_AbpUserClaims_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES public."AbpUsers"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserLogins FK_AbpUserLogins_AbpUsers_UserId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserLogins" + ADD CONSTRAINT "FK_AbpUserLogins_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES public."AbpUsers"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserOrganizationUnits FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationU~; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserOrganizationUnits" + ADD CONSTRAINT "FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationU~" FOREIGN KEY ("OrganizationUnitId") REFERENCES public."AbpOrganizationUnits"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserOrganizationUnits FK_AbpUserOrganizationUnits_AbpUsers_UserId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserOrganizationUnits" + ADD CONSTRAINT "FK_AbpUserOrganizationUnits_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES public."AbpUsers"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserRoles FK_AbpUserRoles_AbpRoles_RoleId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserRoles" + ADD CONSTRAINT "FK_AbpUserRoles_AbpRoles_RoleId" FOREIGN KEY ("RoleId") REFERENCES public."AbpRoles"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserRoles FK_AbpUserRoles_AbpUsers_UserId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserRoles" + ADD CONSTRAINT "FK_AbpUserRoles_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES public."AbpUsers"("Id") ON DELETE CASCADE; + + +-- +-- Name: AbpUserTokens FK_AbpUserTokens_AbpUsers_UserId; Type: FK CONSTRAINT; Schema: public; Owner: postgres +-- + +ALTER TABLE ONLY public."AbpUserTokens" + ADD CONSTRAINT "FK_AbpUserTokens_AbpUsers_UserId" FOREIGN KEY ("UserId") REFERENCES public."AbpUsers"("Id") ON DELETE CASCADE; + + +-- +-- Name: SCHEMA public; Type: ACL; Schema: -; Owner: pg_database_owner +-- + +GRANT ALL ON SCHEMA public TO iotmanage; + + +-- +-- Name: DEFAULT PRIVILEGES FOR SEQUENCES; Type: DEFAULT ACL; Schema: public; Owner: postgres +-- + +ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA public GRANT ALL ON SEQUENCES TO iotmanage; + + +-- +-- Name: DEFAULT PRIVILEGES FOR FUNCTIONS; Type: DEFAULT ACL; Schema: public; Owner: postgres +-- + +ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA public GRANT ALL ON FUNCTIONS TO iotmanage; + + +-- +-- Name: DEFAULT PRIVILEGES FOR TABLES; Type: DEFAULT ACL; Schema: public; Owner: postgres +-- + +ALTER DEFAULT PRIVILEGES FOR ROLE postgres IN SCHEMA public GRANT ALL ON TABLES TO iotmanage; + + +-- +-- PostgreSQL database dump complete +-- + +\unrestrict f8FK7UocFp9nzTPzZE6Tnrmv2dZp3kKAB4z8Mf1pn1gjculYxc5ntZQAcMZLCPx + diff --git a/DockerComposeShells/postgresql/init/01-create-user.sql b/DockerComposeShells/postgresql/init/02-create-user.sql similarity index 100% rename from DockerComposeShells/postgresql/init/01-create-user.sql rename to DockerComposeShells/postgresql/init/02-create-user.sql diff --git a/DockerComposeShells/postgresql/init/02-grant-schema-permissions.sql b/DockerComposeShells/postgresql/init/03-grant-schema-permissions.sql similarity index 100% rename from DockerComposeShells/postgresql/init/02-grant-schema-permissions.sql rename to DockerComposeShells/postgresql/init/03-grant-schema-permissions.sql diff --git a/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.Designer.cs b/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.Designer.cs new file mode 100644 index 0000000..d89a2f8 --- /dev/null +++ b/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.Designer.cs @@ -0,0 +1,4299 @@ +// +using System; +using JiShe.IoT.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using Volo.Abp.EntityFrameworkCore; + +#nullable disable + +namespace JiShe.IoT.Migrations +{ + [DbContext(typeof(IoTDbContext))] + [Migration("20260126022433_InitialCreate")] + partial class InitialCreate + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) + .HasAnnotation("ProductVersion", "10.0.2") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("JiShe.ServicePro.BasicManagement.UserRefreshTokens.UserRefreshToken", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExpirationTime") + .HasColumnType("timestamp with time zone") + .HasComment("过期时间"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsUsed") + .HasColumnType("boolean") + .HasComment("是否使用"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("RefreshToken") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("刷新token"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Token") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)") + .HasComment("Token"); + + b.Property("UserId") + .HasColumnType("uuid") + .HasComment("用户id"); + + b.HasKey("Id"); + + b.HasIndex("RefreshToken"); + + b.ToTable("ServiceProUserRefreshTokens", null, t => + { + t.HasComment("刷新Token"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.CTWingManagement.CTWingAccount.CTWingAccountInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccountId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账号ID"); + + b.Property("AccountName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("账号名称"); + + b.Property("AppId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("应用 ID"); + + b.Property("AppKey") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("应用 AppKey"); + + b.Property("AppSecret") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("应用 AppSecret"); + + b.Property("CommunicationAddress") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("通讯服务地址"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("PhoneNumber") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("手机号码"); + + b.Property("PlatformTenantId") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("平台租户ID"); + + b.Property("ProductCount") + .HasColumnType("integer"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex(new[] { "Id", "AccountId", "AccountName", "CreationTime" }, "IX_ServiceProCTWingAccountInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProCTWingAccountInfo", null, t => + { + t.HasComment("CTWing账号信息"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.CTWingManagement.CTWingProduct.CTWingPrivateProductInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessType") + .HasColumnType("integer"); + + b.Property("AccountPhoneNumber") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账户手机号"); + + b.Property("AuthType") + .HasColumnType("integer"); + + b.Property("CTWingAccountId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账号ID"); + + b.Property("CommunicationAddress") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("通讯服务地址"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DataEncryption") + .HasColumnType("integer"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceCount") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FeatureAccesskey") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("设备访问密钥"); + + b.Property("IoTPlatformProductId") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("产品ID"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEnabled") + .HasColumnType("boolean") + .HasComment("是否启用"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("MasterKey") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("OpenAPI 通信主密钥"); + + b.Property("NetworkType") + .HasColumnType("integer"); + + b.Property("NodeType") + .HasColumnType("integer"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("ProductDesc") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("必填,产品描述"); + + b.Property("ProductName") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("产品名称"); + + b.Property("ProductProtocol") + .HasColumnType("integer"); + + b.Property("ProductType") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("一级分类名"); + + b.Property("Protocol") + .HasMaxLength(20) + .HasColumnType("character varying(20)") + .HasComment("通讯协议"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("SecondaryType") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("二级分类名"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.Property("ThingModelFileId") + .HasColumnType("uuid") + .HasComment("物模型文件Id"); + + b.Property("ThingModelFileName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("物模型文件名称"); + + b.Property("ThirdType") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("三级分类名"); + + b.Property("TupDeviceModel") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("设备型号"); + + b.Property("TupIsThrough") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex(new[] { "Id", "IoTPlatformProductId", "ProductName", "CreationTime" }, "IX_ServiceProCTWingPrivateProductInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProCTWingPrivateProductInfo", null, t => + { + t.HasComment("CTWing产品信息"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionary", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("Description") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("DisplayText") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpDataDictionaries", null, t => + { + t.HasComment("数据字典"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionaryDetail", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DataDictionaryId") + .HasColumnType("uuid"); + + b.Property("Description") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("DisplayText") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtendedAttribute") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("IsEnabled") + .HasColumnType("boolean"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Order") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.HasIndex("DataDictionaryId"); + + b.ToTable("AbpDataDictionaryDetails", null, t => + { + t.HasComment("数据字典详情"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.DeviceInfos.DeviceFirmwareInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FirmwareFileId") + .HasColumnType("uuid") + .HasComment("固件文件Id"); + + b.Property("FirmwareFileName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("固件文件名称"); + + b.Property("FirmwareHashCode") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("固件哈希值"); + + b.Property("FirmwareLength") + .HasColumnType("bigint"); + + b.Property("FirmwareVersion") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("固件版本"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IoTPlatformProductName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("物联网平台中对应的产品名称"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEnable") + .HasColumnType("boolean") + .HasComment("是否启用"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("IoTPlatformProductId"); + + b.HasIndex(new[] { "Id", "IoTPlatformProductId", "FirmwareVersion", "CreationTime" }, "IX_ServiceProDeviceFirmwareInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProDeviceFirmwareInfo", null, t => + { + t.HasComment("设备固件信息"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.DeviceInfos.DeviceManagementInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccountPhoneNumber") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账户手机号"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceAddress") + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasComment("设备地址"); + + b.Property("DeviceName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("设备名称"); + + b.Property("DeviceOnlineStatus") + .HasColumnType("integer") + .HasComment("设备在线状态"); + + b.Property("DeviceSource") + .HasColumnType("integer") + .HasComment("设备来源类型"); + + b.Property("DeviceThingModelDataId") + .HasColumnType("uuid") + .HasComment("设备物模型数据Id"); + + b.Property("DeviceType") + .HasColumnType("integer") + .HasComment("设备类型,与业务系统无关,主要区分是网关设备、直连设备"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FirmwareVersion") + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("固件版本"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型,默认没有指定"); + + b.Property("IoTPlatformAccountId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的账号Id"); + + b.Property("IoTPlatformDeviceOpenInfo") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("物联网平台中对应的设备Id或者名称"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IoTPlatformProductName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("物联网平台中对应的产品Name"); + + b.Property("IoTPlatformResponse") + .HasColumnType("text") + .HasComment("物联网平台返回的响应信息"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsNeedConfigDevicMdoel") + .HasColumnType("boolean") + .HasComment("是否需要配置设备模型"); + + b.Property("IsPlatformPushSuccess") + .HasColumnType("boolean") + .HasComment("物联网平台推送是否成功"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("LastOfflineTime") + .HasColumnType("timestamp with time zone") + .HasComment("最后离线时间"); + + b.Property("LastOnlineTime") + .HasColumnType("timestamp with time zone") + .HasComment("最后在线时间"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("PlatformPassword") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("物联网平台设备密码"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("SubDeviceCapacity") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasDefaultValue(64) + .HasComment("子设备容量"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.Property("UpgradeDate") + .HasColumnType("timestamp with time zone") + .HasComment("升级日期"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("DeviceAddress"); + + b.HasIndex(new[] { "Id", "DeviceName", "DeviceAddress", "IoTPlatformProductId", "CreationTime" }, "IX_ServiceProDeviceInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProDeviceInfo", null, t => + { + t.HasComment("设备信息"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.DeviceInfos.DeviceUpgradeRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceAddress") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("设备地址"); + + b.Property("DeviceDataId") + .HasColumnType("uuid") + .HasComment("设备数据Id"); + + b.Property("DeviceName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("设备名称"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FirmwareSignature") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("签名校验值"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("NowFirmwareVersion") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("当前固件版本"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("OldFirmwareVersion") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("旧的固件版本"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.Property("UpgradeDate") + .HasColumnType("timestamp with time zone") + .HasComment("升级日期"); + + b.Property("UpgradeDescription") + .IsRequired() + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasComment("升级描述"); + + b.Property("UpgradeIdentifier") + .HasColumnType("bigint") + .HasComment("升级标识符号"); + + b.Property("UpgradeMessage") + .IsRequired() + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasComment("升级信息"); + + b.Property("UpgradeResult") + .HasColumnType("integer") + .HasComment("升级结果"); + + b.Property("UpgradeSource") + .HasColumnType("integer") + .HasComment("升级来源"); + + b.Property("UpgradeStatus") + .HasColumnType("integer") + .HasComment("升级状态"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("DeviceAddress"); + + b.HasIndex("UpgradeIdentifier") + .IsUnique(); + + b.HasIndex(new[] { "Id", "DeviceAddress", "UpgradeIdentifier", "NowFirmwareVersion", "CreationTime" }, "IX_ServiceProDeviceUpgradeRecord_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProDeviceUpgradeRecord", null, t => + { + t.HasComment("设备升级记录"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.DeviceInfos.SubDeviceManagementInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceAddress") + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasComment("网关设备或直连设备地址"); + + b.Property("DeviceDataId") + .HasColumnType("uuid") + .HasComment("网关设备或直连设备数据Id"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsSynced") + .HasColumnType("boolean") + .HasComment("是否同步"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("SubDeviceAddress") + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasComment("子设备地址"); + + b.Property("SubDeviceBrandCode") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("子设备品牌编码"); + + b.Property("SubDeviceIndex") + .HasColumnType("integer") + .HasComment("子设备索引,抑或是主设备下唯一标识符、计量代码"); + + b.Property("SubDeviceName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("子设备名称"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("DeviceAddress"); + + b.HasIndex("SubDeviceAddress"); + + b.HasIndex("SubDeviceIndex"); + + b.HasIndex(new[] { "Id", "DeviceAddress", "SubDeviceIndex", "SubDeviceAddress", "CreationTime" }, "IX_ServiceProSubDeviceManagementInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProSubDeviceManagementInfo", null, t => + { + t.HasComment("子设备信息,需要下发配置的网关设备才用到"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.ThingModelInfos.DeviceThingModelCommandInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("CommandName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("指令名称"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceThingModelId") + .HasColumnType("uuid") + .HasComment("设备端物模型Id"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IssueCommand") + .IsRequired() + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasComment("完整的单个下发指令"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("PropertyArray") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)") + .HasComment("指令设备端物模型的属性名称集合,JSON格式字符串数组"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("DeviceThingModelId"); + + b.HasIndex(new[] { "Id", "DeviceThingModelId", "IoTPlatformProductId", "CreationTime" }, "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProDeviceThingModelCommandInfo", null, t => + { + t.HasComment("设备端透传指令详情"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.ThingModelInfos.DeviceThingModelManagement", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceModelName") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("设备端物模型名称"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FunctionAnalysisFlag") + .HasColumnType("boolean") + .HasComment("函数解析标记,默认为false, 不能解析"); + + b.Property("FunctionScript") + .HasColumnType("text") + .HasComment("脚本函数体"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型,默认没有指定"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("ScriptName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("脚本函数名称"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("IoTPlatformProductId"); + + b.HasIndex(new[] { "Id", "DeviceModelName", "IoTPlatformProductId", "CreationTime" }, "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey") + .IsDescending() + .HasDatabaseName("IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey1"); + + b.ToTable("ServiceProDeviceThingModelManagement", null, t => + { + t.HasComment("设备端物模型管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.ThingModelInfos.DeviceThingModelPropertyInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DeviceThingModelId") + .HasColumnType("uuid") + .HasComment("设备端物模型Id"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FiledType") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应产品物模型属性或者事件类型"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IoTPlatformRawFieldDataType") + .HasMaxLength(20) + .HasColumnType("character varying(20)") + .HasComment("物联网平台中对应的产品物模型属性或者事件数据类型"); + + b.Property("IoTPlatformRawFieldName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("物联网平台中对应的产品物模型属性或者事件名称"); + + b.Property("IoTPlatformThingModelDataId") + .HasColumnType("uuid") + .HasComment("系统中平台端物模型数据Id"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsValueNeedConvert") + .HasColumnType("boolean") + .HasComment("是否需要值类型转换"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("NativeSkipNumber") + .HasColumnType("integer") + .HasComment("正序跳过数量"); + + b.Property("NativeTakeNumber") + .HasColumnType("integer") + .HasComment("正序获取数量"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("ParsingSequence") + .HasColumnType("integer") + .HasComment("解析顺序,1234或者3412(高低反转)"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("ReversalSkipNumber") + .HasColumnType("integer") + .HasComment("反转跳过数量"); + + b.Property("ReversalTakeNumber") + .HasColumnType("integer") + .HasComment("反转获取数量"); + + b.Property("StandardFieldDisplayName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("管理后台产品标准的物模型属性或者事件名称"); + + b.Property("StandardFieldName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("管理后台产品标准的物模型属性或者事件名称"); + + b.Property("StandardFieldValueType") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("character varying(20)") + .HasComment("标准物模型字段值类型"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("IoTPlatformProductId"); + + b.HasIndex(new[] { "Id", "IoTPlatformProductId", "IoTPlatformRawFieldName", "StandardFieldName", "CreationTime" }, "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey") + .IsDescending() + .HasDatabaseName("IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey2"); + + b.ToTable("ServiceProDeviceThingModelPropertylInfo", null, t => + { + t.HasComment("设备端物模型属性信息,是指设备端支持的属性或者事件"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DeviceManagement.ThingModelInfos.IoTPlatformThingModelInfo", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessMode") + .IsRequired() + .ValueGeneratedOnAdd() + .HasMaxLength(10) + .HasColumnType("character varying(10)") + .HasDefaultValue("r") + .HasComment("物模型标识符访问模式"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("FiledType") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应产品物模型属性或者事件类型"); + + b.Property("IdentifierType") + .HasColumnType("integer") + .HasComment("物模型标识符类型"); + + b.Property("IoTPlatform") + .HasColumnType("integer") + .HasComment("物联网平台类型,默认没有指定"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台中对应的产品Id"); + + b.Property("IoTPlatformRawFieldDataType") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("物联网平台中对应的产品物模型属性或者事件数据类型"); + + b.Property("IoTPlatformRawFieldExtension") + .HasColumnType("text") + .HasComment("物联网平台中对应产品物模型标识符扩展,结构体或者数组的时候,是参数的名称与长度的键值对,其他类型就是长度或者值范围"); + + b.Property("IoTPlatformRawFieldName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("物联网平台中对应的产品物模型属性或者事件名称"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsOperableIdentifier") + .HasColumnType("boolean") + .HasComment("是否可操作物模型标识符"); + + b.Property("IsSpecialIdentifier") + .HasColumnType("boolean") + .HasComment("是否是特殊物模型标识符"); + + b.Property("IsValueNeedConvert") + .HasColumnType("boolean") + .HasComment("是否需要值类型转换"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("StandardFieldDisplayName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("管理后台产品标准的物模型属性或者事件名称"); + + b.Property("StandardFieldName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasComment("管理后台产品标准的物模型属性或者事件名称"); + + b.Property("StandardFieldValueType") + .IsRequired() + .HasMaxLength(20) + .HasColumnType("character varying(20)") + .HasComment("标准物模型字段值类型"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("IoTPlatformProductId"); + + b.HasIndex(new[] { "Id", "IoTPlatformProductId", "IoTPlatformRawFieldName", "StandardFieldName", "CreationTime" }, "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey") + .IsDescending() + .HasDatabaseName("IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey3"); + + b.ToTable("ServiceProIoTPlatformThingModelInfo", null, t => + { + t.HasComment("平台端物模型信息"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.DynamicMenuManagement.Menus.Menu", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Component") + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasComment("组件地址"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DisplayTitle") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("标准多语言"); + + b.Property("Enabled") + .HasColumnType("boolean"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("HideInMenu") + .HasColumnType("boolean") + .HasComment("是否显示"); + + b.Property("Icon") + .HasColumnType("text") + .HasComment("图标"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("KeepAlive") + .HasColumnType("boolean") + .HasComment("是否缓存"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("MenuType") + .HasColumnType("integer") + .HasComment("菜单类型"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("唯一编码"); + + b.Property("OpenType") + .HasColumnType("integer") + .HasComment("打开类型"); + + b.Property("Order") + .HasColumnType("integer") + .HasComment("排序"); + + b.Property("ParentId") + .HasColumnType("uuid"); + + b.Property("Path") + .IsRequired() + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasComment("路由/接口地址"); + + b.Property("Policy") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("授权策略名称"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Title") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("标题"); + + b.Property("Url") + .HasColumnType("text") + .HasComment("内外链地址"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("Name"); + + b.HasIndex(new[] { "Id", "Name", "Path", "MenuType", "CreationTime" }, "IX_Menus_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProMenus", null, t => + { + t.HasComment("动态菜单管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.FileManagement.Files.FileObject", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("ContentType") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("文件名称"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("FileName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("文件名称"); + + b.Property("FileSize") + .HasColumnType("bigint") + .HasComment("文件大小"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Md5Hash") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("文件MD5"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("FileName"); + + b.ToTable("AbpFileObjects", null, t => + { + t.HasComment("文件管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.LanguageManagement.LanguageTexts.Aggregates.LanguageText", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("语言名称"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("名称"); + + b.Property("ResourceName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("资源名称"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("值"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "ResourceName", "CultureName"); + + b.ToTable("AbpLanguageTexts", null, t => + { + t.HasComment("语言文本管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.LanguageManagement.Languages.Aggregates.Language", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("语言名称"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("显示名称"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("FlagIcon") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("图标"); + + b.Property("IsDefault") + .HasColumnType("boolean"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEnabled") + .HasColumnType("boolean"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UiCultureName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("Ui语言名称"); + + b.HasKey("Id"); + + b.HasIndex("CultureName"); + + b.ToTable("AbpLanguages", null, t => + { + t.HasComment("语言管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.NotificationManagement.Notifications.Aggregates.Notification", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Content") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("MessageLevel") + .HasColumnType("integer"); + + b.Property("MessageType") + .HasColumnType("integer"); + + b.Property("Read") + .HasColumnType("boolean"); + + b.Property("ReadTime") + .HasColumnType("timestamp with time zone"); + + b.Property("ReceiveUserId") + .HasColumnType("uuid"); + + b.Property("ReceiveUserName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("SenderUserId") + .HasColumnType("uuid"); + + b.Property("SenderUserName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Title") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.HasKey("Id"); + + b.ToTable("AbpNotifications", null, t => + { + t.HasComment("消息通知管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.NotificationManagement.Notifications.Aggregates.NotificationSubscription", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("NotificationId") + .HasColumnType("uuid"); + + b.Property("Read") + .HasColumnType("boolean"); + + b.Property("ReadTime") + .HasColumnType("timestamp with time zone"); + + b.Property("ReceiveUserId") + .HasColumnType("uuid"); + + b.Property("ReceiveUserName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("NotificationId"); + + b.HasIndex("ReceiveUserId"); + + b.ToTable("AbpNotificationSubscriptions", null, t => + { + t.HasComment("消息订阅者"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.OneNETManagement.OneNETAccounts.OneNETAccountInfos", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccountAccesskey") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)") + .HasComment("账户通信密钥,平台可以重置密钥"); + + b.Property("AccountName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("账号名称"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("OneNETAccountId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账户Id"); + + b.Property("PhoneNumber") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("手机号码"); + + b.Property("ProductCount") + .HasColumnType("integer") + .HasComment("产品数量"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex(new[] { "Id", "OneNETAccountId", "AccountName", "PhoneNumber", "CreationTime" }, "IX_ServiceProOneNETAccountInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProOneNETAccountInfo", null, t => + { + t.HasComment("OneNET账号管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.OneNETManagement.OneNETProducts.OneNETProductInfos", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessProtocol") + .HasColumnType("integer") + .HasComment("接入协议"); + + b.Property("AccountPhoneNumber") + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账户手机号"); + + b.Property("Brand") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("产品品牌"); + + b.Property("CommunicationAddress") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("通讯服务地址"); + + b.Property("CommunicationAddressTLS") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("TLS通讯服务地址"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DataProtocol") + .HasColumnType("integer") + .HasComment("数据协议"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties") + .HasComment("扩展属性,用于存储自定义字段,JSON格式"); + + b.Property("IoTPlatformProductId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("物联网平台对应的产品Id"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsEnabled") + .HasColumnType("boolean"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Manufacturer") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("产品厂商"); + + b.Property("Model") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("产品型号"); + + b.Property("Network") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("联网方式"); + + b.Property("NodeType") + .HasColumnType("integer") + .HasComment("节点类型"); + + b.Property("NotActiveDeviceCount") + .HasColumnType("integer") + .HasComment("未激活设备数"); + + b.Property("OSACreatorId") + .HasColumnType("integer") + .HasComment("旧系统授权创建者Id"); + + b.Property("OSADeleterId") + .HasColumnType("integer") + .HasComment("旧系统授权最后删除者Id"); + + b.Property("OSALastModifierId") + .HasColumnType("integer") + .HasComment("旧系统授权最后修改者Id"); + + b.Property("OfflineDeviceCount") + .HasColumnType("integer") + .HasComment("离线设备数"); + + b.Property("OneNETAccountId") + .IsRequired() + .HasMaxLength(50) + .HasColumnType("character varying(50)") + .HasComment("账户Id"); + + b.Property("OnlineDeviceCount") + .HasColumnType("integer") + .HasComment("在线设备总数"); + + b.Property("OwnDeviceCount") + .HasColumnType("integer") + .HasComment("自有设备总数"); + + b.Property("ProductAccesskey") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)") + .HasComment("产品访问密钥"); + + b.Property("ProductCreateTime") + .HasColumnType("timestamp with time zone") + .HasComment("产品创建时间"); + + b.Property("ProductName") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("产品名称"); + + b.Property("ProductUpdateTime") + .HasColumnType("timestamp with time zone") + .HasComment("最近修改时间"); + + b.Property("Remark") + .HasColumnType("text") + .HasComment("备注"); + + b.Property("Status") + .HasColumnType("integer") + .HasComment("开发状态"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId") + .HasComment("租户ID"); + + b.Property("ThingModelFileId") + .HasColumnType("uuid") + .HasComment("物模型文件Id"); + + b.Property("ThingModelFileName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasComment("物模型文件名称"); + + b.Property("ThingModelInfos") + .HasColumnType("text") + .HasComment("平台物模型信息"); + + b.HasKey("Id"); + + b.HasIndex("CreationTime"); + + b.HasIndex("IoTPlatformProductId") + .IsUnique(); + + b.HasIndex(new[] { "Id", "IoTPlatformProductId", "ProductName", "CreationTime" }, "IX_ServiceProOneNETProductInfo_IsNotUniqueKey") + .IsDescending(); + + b.ToTable("ServiceProOneNETProductInfo", null, t => + { + t.HasComment("OneNET产品管理"); + }); + }); + + modelBuilder.Entity("JiShe.ServicePro.TemplateManagement.TextTemplates.TextTemplate", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("编码"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Content") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)") + .HasComment("内容"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("CultureName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("语言"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasComment("名称"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code"); + + b.ToTable("ServiceProTextTemplates", null, t => + { + t.HasComment("模板管理"); + }); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("character varying(96)") + .HasColumnName("ApplicationName"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasColumnName("BrowserInfo"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("ClientId"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("ClientIpAddress"); + + b.Property("ClientName") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("ClientName"); + + b.Property("Comments") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Comments"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("CorrelationId"); + + b.Property("Exceptions") + .HasColumnType("text"); + + b.Property("ExecutionDuration") + .HasColumnType("integer") + .HasColumnName("ExecutionDuration"); + + b.Property("ExecutionTime") + .HasColumnType("timestamp with time zone"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("HttpMethod") + .HasMaxLength(16) + .HasColumnType("character varying(16)") + .HasColumnName("HttpMethod"); + + b.Property("HttpStatusCode") + .HasColumnType("integer") + .HasColumnName("HttpStatusCode"); + + b.Property("ImpersonatorTenantId") + .HasColumnType("uuid") + .HasColumnName("ImpersonatorTenantId"); + + b.Property("ImpersonatorTenantName") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("ImpersonatorTenantName"); + + b.Property("ImpersonatorUserId") + .HasColumnType("uuid") + .HasColumnName("ImpersonatorUserId"); + + b.Property("ImpersonatorUserName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("ImpersonatorUserName"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("TenantName"); + + b.Property("Url") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Url"); + + b.Property("UserId") + .HasColumnType("uuid") + .HasColumnName("UserId"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "ExecutionTime"); + + b.HasIndex("TenantId", "UserId", "ExecutionTime"); + + b.ToTable("AbpAuditLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AuditLogId") + .HasColumnType("uuid") + .HasColumnName("AuditLogId"); + + b.Property("ExecutionDuration") + .HasColumnType("integer") + .HasColumnName("ExecutionDuration"); + + b.Property("ExecutionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("ExecutionTime"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("MethodName") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("MethodName"); + + b.Property("Parameters") + .HasMaxLength(2000) + .HasColumnType("character varying(2000)") + .HasColumnName("Parameters"); + + b.Property("ServiceName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("ServiceName"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("AuditLogId"); + + b.HasIndex("TenantId", "ServiceName", "MethodName", "ExecutionTime"); + + b.ToTable("AbpAuditLogActions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogExcelFile", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("FileName") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("FileName"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpAuditLogExcelFiles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AuditLogId") + .HasColumnType("uuid") + .HasColumnName("AuditLogId"); + + b.Property("ChangeTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("ChangeTime"); + + b.Property("ChangeType") + .HasColumnType("smallint") + .HasColumnName("ChangeType"); + + b.Property("EntityId") + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("EntityId"); + + b.Property("EntityTenantId") + .HasColumnType("uuid"); + + b.Property("EntityTypeFullName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("EntityTypeFullName"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("AuditLogId"); + + b.HasIndex("TenantId", "EntityTypeFullName", "EntityId"); + + b.ToTable("AbpEntityChanges", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("EntityChangeId") + .HasColumnType("uuid"); + + b.Property("NewValue") + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasColumnName("NewValue"); + + b.Property("OriginalValue") + .HasMaxLength(512) + .HasColumnType("character varying(512)") + .HasColumnName("OriginalValue"); + + b.Property("PropertyName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("PropertyName"); + + b.Property("PropertyTypeFullName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("PropertyTypeFullName"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("EntityChangeId"); + + b.ToTable("AbpEntityPropertyChanges", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsAbandoned") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false); + + b.Property("JobArgs") + .IsRequired() + .HasMaxLength(1048576) + .HasColumnType("character varying(1048576)"); + + b.Property("JobName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("LastTryTime") + .HasColumnType("timestamp with time zone"); + + b.Property("NextTryTime") + .HasColumnType("timestamp with time zone"); + + b.Property("Priority") + .ValueGeneratedOnAdd() + .HasColumnType("smallint") + .HasDefaultValue((byte)15); + + b.Property("TryCount") + .ValueGeneratedOnAdd() + .HasColumnType("smallint") + .HasDefaultValue((short)0); + + b.HasKey("Id"); + + b.HasIndex("IsAbandoned", "NextTryTime"); + + b.ToTable("AbpBackgroundJobs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureDefinitionRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AllowedProviders") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("DefaultValue") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("GroupName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("IsAvailableToHost") + .HasColumnType("boolean"); + + b.Property("IsVisibleToClients") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ParentName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ValueType") + .HasMaxLength(2048) + .HasColumnType("character varying(2048)"); + + b.HasKey("Id"); + + b.HasIndex("GroupName"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpFeatures", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureGroupDefinitionRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpFeatureGroups", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderName") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name", "ProviderName", "ProviderKey") + .IsUnique(); + + b.ToTable("AbpFeatureValues", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsStatic") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("Regex") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("RegexDescription") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("Required") + .HasColumnType("boolean"); + + b.Property("ValueType") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.ToTable("AbpClaimTypes", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("SourceTenantId") + .HasColumnType("uuid"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("TargetTenantId") + .HasColumnType("uuid"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") + .IsUnique(); + + b.ToTable("AbpLinkUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDefault") + .HasColumnType("boolean") + .HasColumnName("IsDefault"); + + b.Property("IsPublic") + .HasColumnType("boolean") + .HasColumnName("IsPublic"); + + b.Property("IsStatic") + .HasColumnType("boolean") + .HasColumnName("IsStatic"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.ToTable("AbpRoleClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Action") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("Identity") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Action"); + + b.HasIndex("TenantId", "ApplicationName"); + + b.HasIndex("TenantId", "Identity"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSecurityLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySession", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Device") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("DeviceInfo") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IpAddresses") + .HasMaxLength(2048) + .HasColumnType("character varying(2048)"); + + b.Property("LastAccessed") + .HasColumnType("timestamp with time zone"); + + b.Property("SessionId") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("SignedIn") + .HasColumnType("timestamp with time zone"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("Device"); + + b.HasIndex("SessionId"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSessions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessFailedCount") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasDefaultValue(0) + .HasColumnName("AccessFailedCount"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Email"); + + b.Property("EmailConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("EmailConfirmed"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsActive") + .HasColumnType("boolean") + .HasColumnName("IsActive"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsExternal") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsExternal"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("LastPasswordChangeTime") + .HasColumnType("timestamp with time zone"); + + b.Property("LockoutEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("LockoutEnabled"); + + b.Property("LockoutEnd") + .HasColumnType("timestamp with time zone"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Name"); + + b.Property("NormalizedEmail") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedEmail"); + + b.Property("NormalizedUserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedUserName"); + + b.Property("PasswordHash") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("PasswordHash"); + + b.Property("PhoneNumber") + .HasMaxLength(16) + .HasColumnType("character varying(16)") + .HasColumnName("PhoneNumber"); + + b.Property("PhoneNumberConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("PhoneNumberConfirmed"); + + b.Property("SecurityStamp") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("SecurityStamp"); + + b.Property("ShouldChangePasswordOnNextLogin") + .HasColumnType("boolean"); + + b.Property("Surname") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Surname"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TwoFactorEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("TwoFactorEnabled"); + + b.Property("UserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("Email"); + + b.HasIndex("NormalizedEmail"); + + b.HasIndex("NormalizedUserName"); + + b.HasIndex("UserName"); + + b.ToTable("AbpUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("AbpUserClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("EndTime") + .HasColumnType("timestamp with time zone"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("StartTime") + .HasColumnType("timestamp with time zone"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpUserDelegations", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderDisplayName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(196) + .HasColumnType("character varying(196)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "LoginProvider"); + + b.HasIndex("LoginProvider", "ProviderKey"); + + b.ToTable("AbpUserLogins", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "UserId"); + + b.HasIndex("UserId", "OrganizationUnitId"); + + b.ToTable("AbpUserOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "RoleId"); + + b.HasIndex("RoleId", "UserId"); + + b.ToTable("AbpUserRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Name") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Value") + .HasColumnType("text"); + + b.HasKey("UserId", "LoginProvider", "Name"); + + b.ToTable("AbpUserTokens", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(95) + .HasColumnType("character varying(95)") + .HasColumnName("Code"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("DisplayName"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("ParentId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code"); + + b.HasIndex("ParentId"); + + b.ToTable("AbpOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "RoleId"); + + b.HasIndex("RoleId", "OrganizationUnitId"); + + b.ToTable("AbpOrganizationUnitRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionDefinitionRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("GroupName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("IsEnabled") + .HasColumnType("boolean"); + + b.Property("MultiTenancySide") + .HasColumnType("smallint"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ParentName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("Providers") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("StateCheckers") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.HasKey("Id"); + + b.HasIndex("GroupName"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpPermissions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Name", "ProviderName", "ProviderKey") + .IsUnique(); + + b.ToTable("AbpPermissionGrants", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGroupDefinitionRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpPermissionGroups", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderName") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(2048) + .HasColumnType("character varying(2048)"); + + b.HasKey("Id"); + + b.HasIndex("Name", "ProviderName", "ProviderKey") + .IsUnique(); + + b.ToTable("AbpSettings", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.SettingManagement.SettingDefinitionRecord", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("DefaultValue") + .HasMaxLength(2048) + .HasColumnType("character varying(2048)"); + + b.Property("Description") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsEncrypted") + .HasColumnType("boolean"); + + b.Property("IsInherited") + .HasColumnType("boolean"); + + b.Property("IsVisibleToClients") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("Providers") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.HasKey("Id"); + + b.HasIndex("Name") + .IsUnique(); + + b.ToTable("AbpSettingDefinitions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("DeletionTime"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp with time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.HasKey("Id"); + + b.HasIndex("Name"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpTenants", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => + { + b.Property("TenantId") + .HasColumnType("uuid"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Value") + .IsRequired() + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.HasKey("TenantId", "Name"); + + b.ToTable("AbpTenantConnectionStrings", (string)null); + }); + + modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionaryDetail", b => + { + b.HasOne("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionary", null) + .WithMany("Details") + .HasForeignKey("DataDictionaryId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => + { + b.HasOne("Volo.Abp.AuditLogging.AuditLog", null) + .WithMany("Actions") + .HasForeignKey("AuditLogId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.HasOne("Volo.Abp.AuditLogging.AuditLog", null) + .WithMany("EntityChanges") + .HasForeignKey("AuditLogId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => + { + b.HasOne("Volo.Abp.AuditLogging.EntityChange", null) + .WithMany("PropertyChanges") + .HasForeignKey("EntityChangeId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany("Claims") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Claims") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Logins") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("OrganizationUnits") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Roles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Tokens") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("ParentId"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany("Roles") + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.TenantConnectionString", b => + { + b.HasOne("Volo.Abp.TenantManagement.Tenant", null) + .WithMany("ConnectionStrings") + .HasForeignKey("TenantId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("JiShe.ServicePro.DataDictionaryManagement.DataDictionaries.Aggregates.DataDictionary", b => + { + b.Navigation("Details"); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => + { + b.Navigation("Actions"); + + b.Navigation("EntityChanges"); + }); + + modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => + { + b.Navigation("PropertyChanges"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Navigation("Claims"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Navigation("Claims"); + + b.Navigation("Logins"); + + b.Navigation("OrganizationUnits"); + + b.Navigation("Roles"); + + b.Navigation("Tokens"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Navigation("Roles"); + }); + + modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => + { + b.Navigation("ConnectionStrings"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.cs b/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.cs new file mode 100644 index 0000000..6a430d9 --- /dev/null +++ b/src/JiShe.IoT.EntityFrameworkCore/Migrations/20260126022433_InitialCreate.cs @@ -0,0 +1,2066 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace JiShe.IoT.Migrations +{ + /// + public partial class InitialCreate : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "AbpAuditLogExcelFiles", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + FileName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpAuditLogExcelFiles", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpAuditLogs", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + ApplicationName = table.Column(type: "character varying(96)", maxLength: 96, nullable: true), + UserId = table.Column(type: "uuid", nullable: true), + UserName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + TenantId = table.Column(type: "uuid", nullable: true), + TenantName = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ImpersonatorUserId = table.Column(type: "uuid", nullable: true), + ImpersonatorUserName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + ImpersonatorTenantId = table.Column(type: "uuid", nullable: true), + ImpersonatorTenantName = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ExecutionTime = table.Column(type: "timestamp with time zone", nullable: false), + ExecutionDuration = table.Column(type: "integer", nullable: false), + ClientIpAddress = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ClientName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + ClientId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + CorrelationId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + BrowserInfo = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + HttpMethod = table.Column(type: "character varying(16)", maxLength: 16, nullable: true), + Url = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + Exceptions = table.Column(type: "text", nullable: true), + Comments = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + HttpStatusCode = table.Column(type: "integer", nullable: true), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpAuditLogs", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpBackgroundJobs", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + ApplicationName = table.Column(type: "character varying(96)", maxLength: 96, nullable: true), + JobName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + JobArgs = table.Column(type: "character varying(1048576)", maxLength: 1048576, nullable: false), + TryCount = table.Column(type: "smallint", nullable: false, defaultValue: (short)0), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + NextTryTime = table.Column(type: "timestamp with time zone", nullable: false), + LastTryTime = table.Column(type: "timestamp with time zone", nullable: true), + IsAbandoned = table.Column(type: "boolean", nullable: false, defaultValue: false), + Priority = table.Column(type: "smallint", nullable: false, defaultValue: (byte)15), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpBackgroundJobs", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpClaimTypes", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Required = table.Column(type: "boolean", nullable: false), + IsStatic = table.Column(type: "boolean", nullable: false), + Regex = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + RegexDescription = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + Description = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + ValueType = table.Column(type: "integer", nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpClaimTypes", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpDataDictionaries", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Code = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + DisplayText = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Description = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpDataDictionaries", x => x.Id); + }, + comment: "数据字典"); + + migrationBuilder.CreateTable( + name: "AbpFeatureGroups", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + DisplayName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpFeatureGroups", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpFeatures", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + GroupName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ParentName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + DisplayName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Description = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + DefaultValue = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + IsVisibleToClients = table.Column(type: "boolean", nullable: false), + IsAvailableToHost = table.Column(type: "boolean", nullable: false), + AllowedProviders = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + ValueType = table.Column(type: "character varying(2048)", maxLength: 2048, nullable: true), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpFeatures", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpFeatureValues", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Value = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ProviderName = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ProviderKey = table.Column(type: "character varying(64)", maxLength: 64, nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpFeatureValues", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpFileObjects", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + FileName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "文件名称"), + FileSize = table.Column(type: "bigint", nullable: false, comment: "文件大小"), + ContentType = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "文件名称"), + Md5Hash = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "文件MD5"), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpFileObjects", x => x.Id); + }, + comment: "文件管理"); + + migrationBuilder.CreateTable( + name: "AbpLanguages", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + CultureName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "语言名称"), + UiCultureName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "Ui语言名称"), + DisplayName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "显示名称"), + FlagIcon = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "图标"), + IsEnabled = table.Column(type: "boolean", nullable: false), + IsDefault = table.Column(type: "boolean", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpLanguages", x => x.Id); + }, + comment: "语言管理"); + + migrationBuilder.CreateTable( + name: "AbpLanguageTexts", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + CultureName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "语言名称"), + ResourceName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "资源名称"), + Name = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "名称"), + Value = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "值"), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpLanguageTexts", x => x.Id); + }, + comment: "语言文本管理"); + + migrationBuilder.CreateTable( + name: "AbpLinkUsers", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + SourceUserId = table.Column(type: "uuid", nullable: false), + SourceTenantId = table.Column(type: "uuid", nullable: true), + TargetUserId = table.Column(type: "uuid", nullable: false), + TargetTenantId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpLinkUsers", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpNotifications", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Title = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Content = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false), + MessageType = table.Column(type: "integer", nullable: false), + MessageLevel = table.Column(type: "integer", nullable: false), + SenderUserId = table.Column(type: "uuid", nullable: false), + SenderUserName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ReceiveUserId = table.Column(type: "uuid", nullable: true), + ReceiveUserName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + Read = table.Column(type: "boolean", nullable: false), + ReadTime = table.Column(type: "timestamp with time zone", nullable: true), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpNotifications", x => x.Id); + }, + comment: "消息通知管理"); + + migrationBuilder.CreateTable( + name: "AbpNotificationSubscriptions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + NotificationId = table.Column(type: "uuid", nullable: false), + ReceiveUserId = table.Column(type: "uuid", nullable: false), + ReceiveUserName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + Read = table.Column(type: "boolean", nullable: false), + ReadTime = table.Column(type: "timestamp with time zone", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpNotificationSubscriptions", x => x.Id); + }, + comment: "消息订阅者"); + + migrationBuilder.CreateTable( + name: "AbpOrganizationUnits", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ParentId = table.Column(type: "uuid", nullable: true), + Code = table.Column(type: "character varying(95)", maxLength: 95, nullable: false), + DisplayName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + EntityVersion = table.Column(type: "integer", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpOrganizationUnits", x => x.Id); + table.ForeignKey( + name: "FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId", + column: x => x.ParentId, + principalTable: "AbpOrganizationUnits", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "AbpPermissionGrants", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ProviderName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + ProviderKey = table.Column(type: "character varying(64)", maxLength: 64, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpPermissionGrants", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpPermissionGroups", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + DisplayName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpPermissionGroups", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpPermissions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + GroupName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ParentName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + DisplayName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + IsEnabled = table.Column(type: "boolean", nullable: false), + MultiTenancySide = table.Column(type: "smallint", nullable: false), + Providers = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + StateCheckers = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpPermissions", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpRoles", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Name = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + NormalizedName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + IsDefault = table.Column(type: "boolean", nullable: false), + IsStatic = table.Column(type: "boolean", nullable: false), + IsPublic = table.Column(type: "boolean", nullable: false), + EntityVersion = table.Column(type: "integer", nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpRoles", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpSecurityLogs", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ApplicationName = table.Column(type: "character varying(96)", maxLength: 96, nullable: true), + Identity = table.Column(type: "character varying(96)", maxLength: 96, nullable: true), + Action = table.Column(type: "character varying(96)", maxLength: 96, nullable: true), + UserId = table.Column(type: "uuid", nullable: true), + UserName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + TenantName = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ClientId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + CorrelationId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ClientIpAddress = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + BrowserInfo = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpSecurityLogs", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpSessions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + SessionId = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Device = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + DeviceInfo = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + TenantId = table.Column(type: "uuid", nullable: true), + UserId = table.Column(type: "uuid", nullable: false), + ClientId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + IpAddresses = table.Column(type: "character varying(2048)", maxLength: 2048, nullable: true), + SignedIn = table.Column(type: "timestamp with time zone", nullable: false), + LastAccessed = table.Column(type: "timestamp with time zone", nullable: true), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpSessions", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpSettingDefinitions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + DisplayName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Description = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + DefaultValue = table.Column(type: "character varying(2048)", maxLength: 2048, nullable: true), + IsVisibleToClients = table.Column(type: "boolean", nullable: false), + Providers = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: true), + IsInherited = table.Column(type: "boolean", nullable: false), + IsEncrypted = table.Column(type: "boolean", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpSettings", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Value = table.Column(type: "character varying(2048)", maxLength: 2048, nullable: false), + ProviderName = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + ProviderKey = table.Column(type: "character varying(64)", maxLength: 64, nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpSettings", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpTenants", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + NormalizedName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + EntityVersion = table.Column(type: "integer", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpTenants", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpUserDelegations", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + SourceUserId = table.Column(type: "uuid", nullable: false), + TargetUserId = table.Column(type: "uuid", nullable: false), + StartTime = table.Column(type: "timestamp with time zone", nullable: false), + EndTime = table.Column(type: "timestamp with time zone", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserDelegations", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "AbpUsers", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + UserName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + NormalizedUserName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Name = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + Surname = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + Email = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + NormalizedEmail = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + EmailConfirmed = table.Column(type: "boolean", nullable: false, defaultValue: false), + PasswordHash = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + SecurityStamp = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + IsExternal = table.Column(type: "boolean", nullable: false, defaultValue: false), + PhoneNumber = table.Column(type: "character varying(16)", maxLength: 16, nullable: true), + PhoneNumberConfirmed = table.Column(type: "boolean", nullable: false, defaultValue: false), + IsActive = table.Column(type: "boolean", nullable: false), + TwoFactorEnabled = table.Column(type: "boolean", nullable: false, defaultValue: false), + LockoutEnd = table.Column(type: "timestamp with time zone", nullable: true), + LockoutEnabled = table.Column(type: "boolean", nullable: false, defaultValue: false), + AccessFailedCount = table.Column(type: "integer", nullable: false, defaultValue: 0), + ShouldChangePasswordOnNextLogin = table.Column(type: "boolean", nullable: false), + EntityVersion = table.Column(type: "integer", nullable: false), + LastPasswordChangeTime = table.Column(type: "timestamp with time zone", nullable: true), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUsers", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "ServiceProCTWingAccountInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + AccountName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "账号名称"), + AccountId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账号ID"), + AppId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "应用 ID"), + AppKey = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "应用 AppKey"), + AppSecret = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "应用 AppSecret"), + PlatformTenantId = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "平台租户ID"), + CommunicationAddress = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "通讯服务地址"), + PhoneNumber = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "手机号码"), + ProductCount = table.Column(type: "integer", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProCTWingAccountInfo", x => x.Id); + }, + comment: "CTWing账号信息"); + + migrationBuilder.CreateTable( + name: "ServiceProCTWingPrivateProductInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + CTWingAccountId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账号ID"), + AccountPhoneNumber = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账户手机号"), + CommunicationAddress = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "通讯服务地址"), + MasterKey = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "OpenAPI 通信主密钥"), + FeatureAccesskey = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "设备访问密钥"), + IoTPlatformProductId = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "产品ID"), + ProductName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "产品名称"), + Protocol = table.Column(type: "character varying(20)", maxLength: 20, nullable: true, comment: "通讯协议"), + ProductDesc = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "必填,产品描述"), + ProductType = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "一级分类名"), + SecondaryType = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "二级分类名"), + ThirdType = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "三级分类名"), + NodeType = table.Column(type: "integer", nullable: false), + AccessType = table.Column(type: "integer", nullable: false), + NetworkType = table.Column(type: "integer", nullable: false), + ProductProtocol = table.Column(type: "integer", nullable: false), + AuthType = table.Column(type: "integer", nullable: false), + DataEncryption = table.Column(type: "integer", nullable: false), + TupIsThrough = table.Column(type: "integer", nullable: false), + TupDeviceModel = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "设备型号"), + DeviceCount = table.Column(type: "integer", nullable: false), + ThingModelFileId = table.Column(type: "uuid", nullable: true, comment: "物模型文件Id"), + ThingModelFileName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "物模型文件名称"), + IsEnabled = table.Column(type: "boolean", nullable: false, comment: "是否启用"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProCTWingPrivateProductInfo", x => x.Id); + }, + comment: "CTWing产品信息"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceFirmwareInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + IoTPlatformProductName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "物联网平台中对应的产品名称"), + FirmwareVersion = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "固件版本"), + FirmwareFileId = table.Column(type: "uuid", nullable: false, comment: "固件文件Id"), + FirmwareFileName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "固件文件名称"), + FirmwareHashCode = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "固件哈希值"), + FirmwareLength = table.Column(type: "bigint", nullable: false), + IsEnable = table.Column(type: "boolean", nullable: false, comment: "是否启用"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceFirmwareInfo", x => x.Id); + }, + comment: "设备固件信息"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "设备名称"), + DeviceAddress = table.Column(type: "character varying(40)", maxLength: 40, nullable: false, comment: "设备地址"), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型,默认没有指定"), + DeviceType = table.Column(type: "integer", nullable: false, comment: "设备类型,与业务系统无关,主要区分是网关设备、直连设备"), + IoTPlatformDeviceOpenInfo = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "物联网平台中对应的设备Id或者名称"), + PlatformPassword = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "物联网平台设备密码"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + IoTPlatformProductName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "物联网平台中对应的产品Name"), + IoTPlatformAccountId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的账号Id"), + AccountPhoneNumber = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账户手机号"), + IoTPlatformResponse = table.Column(type: "text", nullable: true, comment: "物联网平台返回的响应信息"), + IsPlatformPushSuccess = table.Column(type: "boolean", nullable: false, comment: "物联网平台推送是否成功"), + DeviceOnlineStatus = table.Column(type: "integer", nullable: true, comment: "设备在线状态"), + LastOnlineTime = table.Column(type: "timestamp with time zone", nullable: true, comment: "最后在线时间"), + LastOfflineTime = table.Column(type: "timestamp with time zone", nullable: true, comment: "最后离线时间"), + DeviceSource = table.Column(type: "integer", nullable: false, comment: "设备来源类型"), + IsNeedConfigDevicMdoel = table.Column(type: "boolean", nullable: false, comment: "是否需要配置设备模型"), + DeviceThingModelDataId = table.Column(type: "uuid", nullable: true, comment: "设备物模型数据Id"), + FirmwareVersion = table.Column(type: "character varying(50)", maxLength: 50, nullable: true, comment: "固件版本"), + UpgradeDate = table.Column(type: "timestamp with time zone", nullable: true, comment: "升级日期"), + SubDeviceCapacity = table.Column(type: "integer", nullable: false, defaultValue: 64, comment: "子设备容量"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceInfo", x => x.Id); + }, + comment: "设备信息"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceThingModelCommandInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceThingModelId = table.Column(type: "uuid", nullable: false, comment: "设备端物模型Id"), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + CommandName = table.Column(type: "character varying(256)", maxLength: 256, nullable: false, comment: "指令名称"), + IssueCommand = table.Column(type: "character varying(512)", maxLength: 512, nullable: false, comment: "完整的单个下发指令"), + PropertyArray = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false, comment: "指令设备端物模型的属性名称集合,JSON格式字符串数组"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceThingModelCommandInfo", x => x.Id); + }, + comment: "设备端透传指令详情"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceThingModelManagement", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceModelName = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "设备端物模型名称"), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型,默认没有指定"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + ScriptName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "脚本函数名称"), + FunctionScript = table.Column(type: "text", nullable: true, comment: "脚本函数体"), + FunctionAnalysisFlag = table.Column(type: "boolean", nullable: false, comment: "函数解析标记,默认为false, 不能解析"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceThingModelManagement", x => x.Id); + }, + comment: "设备端物模型管理"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceThingModelPropertylInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceThingModelId = table.Column(type: "uuid", nullable: false, comment: "设备端物模型Id"), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + IoTPlatformThingModelDataId = table.Column(type: "uuid", nullable: false, comment: "系统中平台端物模型数据Id"), + FiledType = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应产品物模型属性或者事件类型"), + IoTPlatformRawFieldName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "物联网平台中对应的产品物模型属性或者事件名称"), + IoTPlatformRawFieldDataType = table.Column(type: "character varying(20)", maxLength: 20, nullable: true, comment: "物联网平台中对应的产品物模型属性或者事件数据类型"), + StandardFieldName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称"), + StandardFieldValueType = table.Column(type: "character varying(20)", maxLength: 20, nullable: false, comment: "标准物模型字段值类型"), + StandardFieldDisplayName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称"), + IsValueNeedConvert = table.Column(type: "boolean", nullable: false, comment: "是否需要值类型转换"), + NativeSkipNumber = table.Column(type: "integer", nullable: false, comment: "正序跳过数量"), + NativeTakeNumber = table.Column(type: "integer", nullable: false, comment: "正序获取数量"), + ParsingSequence = table.Column(type: "integer", nullable: false, comment: "解析顺序,1234或者3412(高低反转)"), + ReversalSkipNumber = table.Column(type: "integer", nullable: true, comment: "反转跳过数量"), + ReversalTakeNumber = table.Column(type: "integer", nullable: true, comment: "反转获取数量"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceThingModelPropertylInfo", x => x.Id); + }, + comment: "设备端物模型属性信息,是指设备端支持的属性或者事件"); + + migrationBuilder.CreateTable( + name: "ServiceProDeviceUpgradeRecord", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceDataId = table.Column(type: "uuid", nullable: false, comment: "设备数据Id"), + DeviceName = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "设备名称"), + DeviceAddress = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "设备地址"), + OldFirmwareVersion = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "旧的固件版本"), + NowFirmwareVersion = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "当前固件版本"), + UpgradeDate = table.Column(type: "timestamp with time zone", nullable: false, comment: "升级日期"), + UpgradeSource = table.Column(type: "integer", nullable: false, comment: "升级来源"), + UpgradeMessage = table.Column(type: "character varying(512)", maxLength: 512, nullable: false, comment: "升级信息"), + UpgradeStatus = table.Column(type: "integer", nullable: false, comment: "升级状态"), + UpgradeIdentifier = table.Column(type: "bigint", nullable: false, comment: "升级标识符号"), + FirmwareSignature = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "签名校验值"), + UpgradeResult = table.Column(type: "integer", nullable: true, comment: "升级结果"), + UpgradeDescription = table.Column(type: "character varying(512)", maxLength: 512, nullable: false, comment: "升级描述"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProDeviceUpgradeRecord", x => x.Id); + }, + comment: "设备升级记录"); + + migrationBuilder.CreateTable( + name: "ServiceProIoTPlatformThingModelInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + IoTPlatform = table.Column(type: "integer", nullable: false, comment: "物联网平台类型,默认没有指定"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应的产品Id"), + FiledType = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台中对应产品物模型属性或者事件类型"), + IoTPlatformRawFieldName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "物联网平台中对应的产品物模型属性或者事件名称"), + IoTPlatformRawFieldDataType = table.Column(type: "character varying(64)", maxLength: 64, nullable: true, comment: "物联网平台中对应的产品物模型属性或者事件数据类型"), + StandardFieldName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称"), + StandardFieldValueType = table.Column(type: "character varying(20)", maxLength: 20, nullable: false, comment: "标准物模型字段值类型"), + StandardFieldDisplayName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false, comment: "管理后台产品标准的物模型属性或者事件名称"), + IsValueNeedConvert = table.Column(type: "boolean", nullable: false, comment: "是否需要值类型转换"), + IsSpecialIdentifier = table.Column(type: "boolean", nullable: false, comment: "是否是特殊物模型标识符"), + IoTPlatformRawFieldExtension = table.Column(type: "text", nullable: true, comment: "物联网平台中对应产品物模型标识符扩展,结构体或者数组的时候,是参数的名称与长度的键值对,其他类型就是长度或者值范围"), + IsOperableIdentifier = table.Column(type: "boolean", nullable: false, comment: "是否可操作物模型标识符"), + AccessMode = table.Column(type: "character varying(10)", maxLength: 10, nullable: false, defaultValue: "r", comment: "物模型标识符访问模式"), + IdentifierType = table.Column(type: "integer", nullable: false, comment: "物模型标识符类型"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProIoTPlatformThingModelInfo", x => x.Id); + }, + comment: "平台端物模型信息"); + + migrationBuilder.CreateTable( + name: "ServiceProMenus", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ParentId = table.Column(type: "uuid", nullable: true), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "唯一编码"), + Title = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "标题"), + DisplayTitle = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "标准多语言"), + Icon = table.Column(type: "text", nullable: true, comment: "图标"), + KeepAlive = table.Column(type: "boolean", nullable: false, comment: "是否缓存"), + HideInMenu = table.Column(type: "boolean", nullable: false, comment: "是否显示"), + Order = table.Column(type: "integer", nullable: false, comment: "排序"), + Path = table.Column(type: "character varying(512)", maxLength: 512, nullable: false, comment: "路由/接口地址"), + MenuType = table.Column(type: "integer", nullable: false, comment: "菜单类型"), + OpenType = table.Column(type: "integer", nullable: false, comment: "打开类型"), + Url = table.Column(type: "text", nullable: true, comment: "内外链地址"), + Component = table.Column(type: "character varying(512)", maxLength: 512, nullable: true, comment: "组件地址"), + Policy = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "授权策略名称"), + Enabled = table.Column(type: "boolean", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProMenus", x => x.Id); + }, + comment: "动态菜单管理"); + + migrationBuilder.CreateTable( + name: "ServiceProOneNETAccountInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + AccountName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "账号名称"), + OneNETAccountId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账户Id"), + PhoneNumber = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "手机号码"), + AccountAccesskey = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false, comment: "账户通信密钥,平台可以重置密钥"), + ProductCount = table.Column(type: "integer", nullable: false, comment: "产品数量"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProOneNETAccountInfo", x => x.Id); + }, + comment: "OneNET账号管理"); + + migrationBuilder.CreateTable( + name: "ServiceProOneNETProductInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + OneNETAccountId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "账户Id"), + AccountPhoneNumber = table.Column(type: "character varying(50)", maxLength: 50, nullable: true, comment: "账户手机号"), + IoTPlatformProductId = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "物联网平台对应的产品Id"), + ProductName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true, comment: "产品名称"), + ProductAccesskey = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false, comment: "产品访问密钥"), + ThingModelFileId = table.Column(type: "uuid", nullable: true, comment: "物模型文件Id"), + ThingModelFileName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "物模型文件名称"), + IsEnabled = table.Column(type: "boolean", nullable: false), + AccessProtocol = table.Column(type: "integer", nullable: false, comment: "接入协议"), + DataProtocol = table.Column(type: "integer", nullable: false, comment: "数据协议"), + NodeType = table.Column(type: "integer", nullable: false, comment: "节点类型"), + ProductCreateTime = table.Column(type: "timestamp with time zone", nullable: true, comment: "产品创建时间"), + ProductUpdateTime = table.Column(type: "timestamp with time zone", nullable: true, comment: "最近修改时间"), + Network = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "联网方式"), + Manufacturer = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "产品厂商"), + Model = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "产品型号"), + Brand = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "产品品牌"), + Status = table.Column(type: "integer", nullable: false, comment: "开发状态"), + OwnDeviceCount = table.Column(type: "integer", nullable: false, comment: "自有设备总数"), + OnlineDeviceCount = table.Column(type: "integer", nullable: false, comment: "在线设备总数"), + OfflineDeviceCount = table.Column(type: "integer", nullable: false, comment: "离线设备数"), + NotActiveDeviceCount = table.Column(type: "integer", nullable: false, comment: "未激活设备数"), + CommunicationAddress = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "通讯服务地址"), + CommunicationAddressTLS = table.Column(type: "character varying(256)", maxLength: 256, nullable: true, comment: "TLS通讯服务地址"), + ThingModelInfos = table.Column(type: "text", nullable: true, comment: "平台物模型信息"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProOneNETProductInfo", x => x.Id); + }, + comment: "OneNET产品管理"); + + migrationBuilder.CreateTable( + name: "ServiceProSubDeviceManagementInfo", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DeviceDataId = table.Column(type: "uuid", nullable: false, comment: "网关设备或直连设备数据Id"), + DeviceAddress = table.Column(type: "character varying(40)", maxLength: 40, nullable: false, comment: "网关设备或直连设备地址"), + SubDeviceName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "子设备名称"), + SubDeviceAddress = table.Column(type: "character varying(40)", maxLength: 40, nullable: false, comment: "子设备地址"), + SubDeviceIndex = table.Column(type: "integer", nullable: false, comment: "子设备索引,抑或是主设备下唯一标识符、计量代码"), + SubDeviceBrandCode = table.Column(type: "character varying(50)", maxLength: 50, nullable: false, comment: "子设备品牌编码"), + IsSynced = table.Column(type: "boolean", nullable: false, comment: "是否同步"), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true), + TenantId = table.Column(type: "uuid", nullable: true, comment: "租户ID"), + Remark = table.Column(type: "text", nullable: true, comment: "备注"), + OSACreatorId = table.Column(type: "integer", nullable: true, comment: "旧系统授权创建者Id"), + OSALastModifierId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后修改者Id"), + OSADeleterId = table.Column(type: "integer", nullable: true, comment: "旧系统授权最后删除者Id"), + ExtraProperties = table.Column(type: "text", nullable: true, comment: "扩展属性,用于存储自定义字段,JSON格式") + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProSubDeviceManagementInfo", x => x.Id); + }, + comment: "子设备信息,需要下发配置的网关设备才用到"); + + migrationBuilder.CreateTable( + name: "ServiceProTextTemplates", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "名称"), + Code = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "编码"), + Content = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false, comment: "内容"), + CultureName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "语言"), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProTextTemplates", x => x.Id); + }, + comment: "模板管理"); + + migrationBuilder.CreateTable( + name: "ServiceProUserRefreshTokens", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + UserId = table.Column(type: "uuid", nullable: false, comment: "用户id"), + TenantId = table.Column(type: "uuid", nullable: true), + RefreshToken = table.Column(type: "character varying(128)", maxLength: 128, nullable: false, comment: "刷新token"), + Token = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false, comment: "Token"), + IsUsed = table.Column(type: "boolean", nullable: false, comment: "是否使用"), + ExpirationTime = table.Column(type: "timestamp with time zone", nullable: false, comment: "过期时间"), + ExtraProperties = table.Column(type: "text", nullable: false), + ConcurrencyStamp = table.Column(type: "character varying(40)", maxLength: 40, nullable: false), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true), + IsDeleted = table.Column(type: "boolean", nullable: false, defaultValue: false), + DeleterId = table.Column(type: "uuid", nullable: true), + DeletionTime = table.Column(type: "timestamp with time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_ServiceProUserRefreshTokens", x => x.Id); + }, + comment: "刷新Token"); + + migrationBuilder.CreateTable( + name: "AbpAuditLogActions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + AuditLogId = table.Column(type: "uuid", nullable: false), + ServiceName = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + MethodName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + Parameters = table.Column(type: "character varying(2000)", maxLength: 2000, nullable: true), + ExecutionTime = table.Column(type: "timestamp with time zone", nullable: false), + ExecutionDuration = table.Column(type: "integer", nullable: false), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpAuditLogActions", x => x.Id); + table.ForeignKey( + name: "FK_AbpAuditLogActions_AbpAuditLogs_AuditLogId", + column: x => x.AuditLogId, + principalTable: "AbpAuditLogs", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpEntityChanges", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + AuditLogId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ChangeTime = table.Column(type: "timestamp with time zone", nullable: false), + ChangeType = table.Column(type: "smallint", nullable: false), + EntityTenantId = table.Column(type: "uuid", nullable: true), + EntityId = table.Column(type: "character varying(128)", maxLength: 128, nullable: true), + EntityTypeFullName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + ExtraProperties = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpEntityChanges", x => x.Id); + table.ForeignKey( + name: "FK_AbpEntityChanges_AbpAuditLogs_AuditLogId", + column: x => x.AuditLogId, + principalTable: "AbpAuditLogs", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpDataDictionaryDetails", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + DataDictionaryId = table.Column(type: "uuid", nullable: false), + Code = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + Order = table.Column(type: "integer", nullable: false), + DisplayText = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + Description = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: true), + IsEnabled = table.Column(type: "boolean", nullable: false), + ExtendedAttribute = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true), + LastModificationTime = table.Column(type: "timestamp with time zone", nullable: true), + LastModifierId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpDataDictionaryDetails", x => x.Id); + table.ForeignKey( + name: "FK_AbpDataDictionaryDetails_AbpDataDictionaries_DataDictionary~", + column: x => x.DataDictionaryId, + principalTable: "AbpDataDictionaries", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }, + comment: "数据字典详情"); + + migrationBuilder.CreateTable( + name: "AbpOrganizationUnitRoles", + columns: table => new + { + RoleId = table.Column(type: "uuid", nullable: false), + OrganizationUnitId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpOrganizationUnitRoles", x => new { x.OrganizationUnitId, x.RoleId }); + table.ForeignKey( + name: "FK_AbpOrganizationUnitRoles_AbpOrganizationUnits_OrganizationU~", + column: x => x.OrganizationUnitId, + principalTable: "AbpOrganizationUnits", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_AbpOrganizationUnitRoles_AbpRoles_RoleId", + column: x => x.RoleId, + principalTable: "AbpRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpRoleClaims", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + RoleId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ClaimType = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + ClaimValue = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpRoleClaims", x => x.Id); + table.ForeignKey( + name: "FK_AbpRoleClaims_AbpRoles_RoleId", + column: x => x.RoleId, + principalTable: "AbpRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpTenantConnectionStrings", + columns: table => new + { + TenantId = table.Column(type: "uuid", nullable: false), + Name = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + Value = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpTenantConnectionStrings", x => new { x.TenantId, x.Name }); + table.ForeignKey( + name: "FK_AbpTenantConnectionStrings_AbpTenants_TenantId", + column: x => x.TenantId, + principalTable: "AbpTenants", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpUserClaims", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + UserId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ClaimType = table.Column(type: "character varying(256)", maxLength: 256, nullable: false), + ClaimValue = table.Column(type: "character varying(1024)", maxLength: 1024, nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserClaims", x => x.Id); + table.ForeignKey( + name: "FK_AbpUserClaims_AbpUsers_UserId", + column: x => x.UserId, + principalTable: "AbpUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpUserLogins", + columns: table => new + { + UserId = table.Column(type: "uuid", nullable: false), + LoginProvider = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + ProviderKey = table.Column(type: "character varying(196)", maxLength: 196, nullable: false), + ProviderDisplayName = table.Column(type: "character varying(128)", maxLength: 128, nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserLogins", x => new { x.UserId, x.LoginProvider }); + table.ForeignKey( + name: "FK_AbpUserLogins_AbpUsers_UserId", + column: x => x.UserId, + principalTable: "AbpUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpUserOrganizationUnits", + columns: table => new + { + UserId = table.Column(type: "uuid", nullable: false), + OrganizationUnitId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + CreationTime = table.Column(type: "timestamp with time zone", nullable: false), + CreatorId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserOrganizationUnits", x => new { x.OrganizationUnitId, x.UserId }); + table.ForeignKey( + name: "FK_AbpUserOrganizationUnits_AbpOrganizationUnits_OrganizationU~", + column: x => x.OrganizationUnitId, + principalTable: "AbpOrganizationUnits", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_AbpUserOrganizationUnits_AbpUsers_UserId", + column: x => x.UserId, + principalTable: "AbpUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpUserRoles", + columns: table => new + { + UserId = table.Column(type: "uuid", nullable: false), + RoleId = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserRoles", x => new { x.UserId, x.RoleId }); + table.ForeignKey( + name: "FK_AbpUserRoles_AbpRoles_RoleId", + column: x => x.RoleId, + principalTable: "AbpRoles", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_AbpUserRoles_AbpUsers_UserId", + column: x => x.UserId, + principalTable: "AbpUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpUserTokens", + columns: table => new + { + UserId = table.Column(type: "uuid", nullable: false), + LoginProvider = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + Name = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + Value = table.Column(type: "text", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpUserTokens", x => new { x.UserId, x.LoginProvider, x.Name }); + table.ForeignKey( + name: "FK_AbpUserTokens_AbpUsers_UserId", + column: x => x.UserId, + principalTable: "AbpUsers", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "AbpEntityPropertyChanges", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + TenantId = table.Column(type: "uuid", nullable: true), + EntityChangeId = table.Column(type: "uuid", nullable: false), + NewValue = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + OriginalValue = table.Column(type: "character varying(512)", maxLength: 512, nullable: true), + PropertyName = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + PropertyTypeFullName = table.Column(type: "character varying(64)", maxLength: 64, nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpEntityPropertyChanges", x => x.Id); + table.ForeignKey( + name: "FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId", + column: x => x.EntityChangeId, + principalTable: "AbpEntityChanges", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_AbpAuditLogActions_AuditLogId", + table: "AbpAuditLogActions", + column: "AuditLogId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpAuditLogActions_TenantId_ServiceName_MethodName_Executio~", + table: "AbpAuditLogActions", + columns: new[] { "TenantId", "ServiceName", "MethodName", "ExecutionTime" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpAuditLogs_TenantId_ExecutionTime", + table: "AbpAuditLogs", + columns: new[] { "TenantId", "ExecutionTime" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpAuditLogs_TenantId_UserId_ExecutionTime", + table: "AbpAuditLogs", + columns: new[] { "TenantId", "UserId", "ExecutionTime" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpBackgroundJobs_IsAbandoned_NextTryTime", + table: "AbpBackgroundJobs", + columns: new[] { "IsAbandoned", "NextTryTime" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpDataDictionaryDetails_DataDictionaryId", + table: "AbpDataDictionaryDetails", + column: "DataDictionaryId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpEntityChanges_AuditLogId", + table: "AbpEntityChanges", + column: "AuditLogId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpEntityChanges_TenantId_EntityTypeFullName_EntityId", + table: "AbpEntityChanges", + columns: new[] { "TenantId", "EntityTypeFullName", "EntityId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpEntityPropertyChanges_EntityChangeId", + table: "AbpEntityPropertyChanges", + column: "EntityChangeId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpFeatureGroups_Name", + table: "AbpFeatureGroups", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpFeatures_GroupName", + table: "AbpFeatures", + column: "GroupName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpFeatures_Name", + table: "AbpFeatures", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpFeatureValues_Name_ProviderName_ProviderKey", + table: "AbpFeatureValues", + columns: new[] { "Name", "ProviderName", "ProviderKey" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpFileObjects_FileName", + table: "AbpFileObjects", + column: "FileName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpLanguages_CultureName", + table: "AbpLanguages", + column: "CultureName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpLanguageTexts_TenantId_ResourceName_CultureName", + table: "AbpLanguageTexts", + columns: new[] { "TenantId", "ResourceName", "CultureName" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Targe~", + table: "AbpLinkUsers", + columns: new[] { "SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpNotificationSubscriptions_NotificationId", + table: "AbpNotificationSubscriptions", + column: "NotificationId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpNotificationSubscriptions_ReceiveUserId", + table: "AbpNotificationSubscriptions", + column: "ReceiveUserId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpOrganizationUnitRoles_RoleId_OrganizationUnitId", + table: "AbpOrganizationUnitRoles", + columns: new[] { "RoleId", "OrganizationUnitId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpOrganizationUnits_Code", + table: "AbpOrganizationUnits", + column: "Code"); + + migrationBuilder.CreateIndex( + name: "IX_AbpOrganizationUnits_ParentId", + table: "AbpOrganizationUnits", + column: "ParentId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpPermissionGrants_TenantId_Name_ProviderName_ProviderKey", + table: "AbpPermissionGrants", + columns: new[] { "TenantId", "Name", "ProviderName", "ProviderKey" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpPermissionGroups_Name", + table: "AbpPermissionGroups", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpPermissions_GroupName", + table: "AbpPermissions", + column: "GroupName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpPermissions_Name", + table: "AbpPermissions", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpRoleClaims_RoleId", + table: "AbpRoleClaims", + column: "RoleId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpRoles_NormalizedName", + table: "AbpRoles", + column: "NormalizedName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpSecurityLogs_TenantId_Action", + table: "AbpSecurityLogs", + columns: new[] { "TenantId", "Action" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSecurityLogs_TenantId_ApplicationName", + table: "AbpSecurityLogs", + columns: new[] { "TenantId", "ApplicationName" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSecurityLogs_TenantId_Identity", + table: "AbpSecurityLogs", + columns: new[] { "TenantId", "Identity" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSecurityLogs_TenantId_UserId", + table: "AbpSecurityLogs", + columns: new[] { "TenantId", "UserId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_Device", + table: "AbpSessions", + column: "Device"); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_SessionId", + table: "AbpSessions", + column: "SessionId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_TenantId_UserId", + table: "AbpSessions", + columns: new[] { "TenantId", "UserId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSettingDefinitions_Name", + table: "AbpSettingDefinitions", + column: "Name", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpSettings_Name_ProviderName_ProviderKey", + table: "AbpSettings", + columns: new[] { "Name", "ProviderName", "ProviderKey" }, + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_AbpTenants_Name", + table: "AbpTenants", + column: "Name"); + + migrationBuilder.CreateIndex( + name: "IX_AbpTenants_NormalizedName", + table: "AbpTenants", + column: "NormalizedName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpUserClaims_UserId", + table: "AbpUserClaims", + column: "UserId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpUserLogins_LoginProvider_ProviderKey", + table: "AbpUserLogins", + columns: new[] { "LoginProvider", "ProviderKey" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpUserOrganizationUnits_UserId_OrganizationUnitId", + table: "AbpUserOrganizationUnits", + columns: new[] { "UserId", "OrganizationUnitId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpUserRoles_RoleId_UserId", + table: "AbpUserRoles", + columns: new[] { "RoleId", "UserId" }); + + migrationBuilder.CreateIndex( + name: "IX_AbpUsers_Email", + table: "AbpUsers", + column: "Email"); + + migrationBuilder.CreateIndex( + name: "IX_AbpUsers_NormalizedEmail", + table: "AbpUsers", + column: "NormalizedEmail"); + + migrationBuilder.CreateIndex( + name: "IX_AbpUsers_NormalizedUserName", + table: "AbpUsers", + column: "NormalizedUserName"); + + migrationBuilder.CreateIndex( + name: "IX_AbpUsers_UserName", + table: "AbpUsers", + column: "UserName"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProCTWingAccountInfo_CreationTime", + table: "ServiceProCTWingAccountInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProCTWingAccountInfo_IsNotUniqueKey", + table: "ServiceProCTWingAccountInfo", + columns: new[] { "Id", "AccountId", "AccountName", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProCTWingPrivateProductInfo_CreationTime", + table: "ServiceProCTWingPrivateProductInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProCTWingPrivateProductInfo_IsNotUniqueKey", + table: "ServiceProCTWingPrivateProductInfo", + columns: new[] { "Id", "IoTPlatformProductId", "ProductName", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceFirmwareInfo_CreationTime", + table: "ServiceProDeviceFirmwareInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceFirmwareInfo_IoTPlatformProductId", + table: "ServiceProDeviceFirmwareInfo", + column: "IoTPlatformProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceFirmwareInfo_IsNotUniqueKey", + table: "ServiceProDeviceFirmwareInfo", + columns: new[] { "Id", "IoTPlatformProductId", "FirmwareVersion", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceInfo_CreationTime", + table: "ServiceProDeviceInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceInfo_DeviceAddress", + table: "ServiceProDeviceInfo", + column: "DeviceAddress"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceInfo_IsNotUniqueKey", + table: "ServiceProDeviceInfo", + columns: new[] { "Id", "DeviceName", "DeviceAddress", "IoTPlatformProductId", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelCommandInfo_CreationTime", + table: "ServiceProDeviceThingModelCommandInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelCommandInfo_DeviceThingModelId", + table: "ServiceProDeviceThingModelCommandInfo", + column: "DeviceThingModelId"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey", + table: "ServiceProDeviceThingModelCommandInfo", + columns: new[] { "Id", "DeviceThingModelId", "IoTPlatformProductId", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelManagement_CreationTime", + table: "ServiceProDeviceThingModelManagement", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelManagement_IoTPlatformProductId", + table: "ServiceProDeviceThingModelManagement", + column: "IoTPlatformProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey1", + table: "ServiceProDeviceThingModelManagement", + columns: new[] { "Id", "DeviceModelName", "IoTPlatformProductId", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelPropertylInfo_CreationTime", + table: "ServiceProDeviceThingModelPropertylInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceThingModelPropertylInfo_IoTPlatformProductId", + table: "ServiceProDeviceThingModelPropertylInfo", + column: "IoTPlatformProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey2", + table: "ServiceProDeviceThingModelPropertylInfo", + columns: new[] { "Id", "IoTPlatformProductId", "IoTPlatformRawFieldName", "StandardFieldName", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceUpgradeRecord_CreationTime", + table: "ServiceProDeviceUpgradeRecord", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceUpgradeRecord_DeviceAddress", + table: "ServiceProDeviceUpgradeRecord", + column: "DeviceAddress"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceUpgradeRecord_IsNotUniqueKey", + table: "ServiceProDeviceUpgradeRecord", + columns: new[] { "Id", "DeviceAddress", "UpgradeIdentifier", "NowFirmwareVersion", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProDeviceUpgradeRecord_UpgradeIdentifier", + table: "ServiceProDeviceUpgradeRecord", + column: "UpgradeIdentifier", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_CreationTime", + table: "ServiceProIoTPlatformThingModelInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_IoTPlatformProductId", + table: "ServiceProIoTPlatformThingModelInfo", + column: "IoTPlatformProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProIoTPlatformThingModelInfo_IsNotUniqueKey3", + table: "ServiceProIoTPlatformThingModelInfo", + columns: new[] { "Id", "IoTPlatformProductId", "IoTPlatformRawFieldName", "StandardFieldName", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_Menus_IsNotUniqueKey", + table: "ServiceProMenus", + columns: new[] { "Id", "Name", "Path", "MenuType", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProMenus_CreationTime", + table: "ServiceProMenus", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProMenus_Name", + table: "ServiceProMenus", + column: "Name"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProOneNETAccountInfo_CreationTime", + table: "ServiceProOneNETAccountInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProOneNETAccountInfo_IsNotUniqueKey", + table: "ServiceProOneNETAccountInfo", + columns: new[] { "Id", "OneNETAccountId", "AccountName", "PhoneNumber", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProOneNETProductInfo_CreationTime", + table: "ServiceProOneNETProductInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProOneNETProductInfo_IoTPlatformProductId", + table: "ServiceProOneNETProductInfo", + column: "IoTPlatformProductId", + unique: true); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProOneNETProductInfo_IsNotUniqueKey", + table: "ServiceProOneNETProductInfo", + columns: new[] { "Id", "IoTPlatformProductId", "ProductName", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProSubDeviceManagementInfo_CreationTime", + table: "ServiceProSubDeviceManagementInfo", + column: "CreationTime"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProSubDeviceManagementInfo_DeviceAddress", + table: "ServiceProSubDeviceManagementInfo", + column: "DeviceAddress"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProSubDeviceManagementInfo_IsNotUniqueKey", + table: "ServiceProSubDeviceManagementInfo", + columns: new[] { "Id", "DeviceAddress", "SubDeviceIndex", "SubDeviceAddress", "CreationTime" }, + descending: new bool[0]); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProSubDeviceManagementInfo_SubDeviceAddress", + table: "ServiceProSubDeviceManagementInfo", + column: "SubDeviceAddress"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProSubDeviceManagementInfo_SubDeviceIndex", + table: "ServiceProSubDeviceManagementInfo", + column: "SubDeviceIndex"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProTextTemplates_Code", + table: "ServiceProTextTemplates", + column: "Code"); + + migrationBuilder.CreateIndex( + name: "IX_ServiceProUserRefreshTokens_RefreshToken", + table: "ServiceProUserRefreshTokens", + column: "RefreshToken"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "AbpAuditLogActions"); + + migrationBuilder.DropTable( + name: "AbpAuditLogExcelFiles"); + + migrationBuilder.DropTable( + name: "AbpBackgroundJobs"); + + migrationBuilder.DropTable( + name: "AbpClaimTypes"); + + migrationBuilder.DropTable( + name: "AbpDataDictionaryDetails"); + + migrationBuilder.DropTable( + name: "AbpEntityPropertyChanges"); + + migrationBuilder.DropTable( + name: "AbpFeatureGroups"); + + migrationBuilder.DropTable( + name: "AbpFeatures"); + + migrationBuilder.DropTable( + name: "AbpFeatureValues"); + + migrationBuilder.DropTable( + name: "AbpFileObjects"); + + migrationBuilder.DropTable( + name: "AbpLanguages"); + + migrationBuilder.DropTable( + name: "AbpLanguageTexts"); + + migrationBuilder.DropTable( + name: "AbpLinkUsers"); + + migrationBuilder.DropTable( + name: "AbpNotifications"); + + migrationBuilder.DropTable( + name: "AbpNotificationSubscriptions"); + + migrationBuilder.DropTable( + name: "AbpOrganizationUnitRoles"); + + migrationBuilder.DropTable( + name: "AbpPermissionGrants"); + + migrationBuilder.DropTable( + name: "AbpPermissionGroups"); + + migrationBuilder.DropTable( + name: "AbpPermissions"); + + migrationBuilder.DropTable( + name: "AbpRoleClaims"); + + migrationBuilder.DropTable( + name: "AbpSecurityLogs"); + + migrationBuilder.DropTable( + name: "AbpSessions"); + + migrationBuilder.DropTable( + name: "AbpSettingDefinitions"); + + migrationBuilder.DropTable( + name: "AbpSettings"); + + migrationBuilder.DropTable( + name: "AbpTenantConnectionStrings"); + + migrationBuilder.DropTable( + name: "AbpUserClaims"); + + migrationBuilder.DropTable( + name: "AbpUserDelegations"); + + migrationBuilder.DropTable( + name: "AbpUserLogins"); + + migrationBuilder.DropTable( + name: "AbpUserOrganizationUnits"); + + migrationBuilder.DropTable( + name: "AbpUserRoles"); + + migrationBuilder.DropTable( + name: "AbpUserTokens"); + + migrationBuilder.DropTable( + name: "ServiceProCTWingAccountInfo"); + + migrationBuilder.DropTable( + name: "ServiceProCTWingPrivateProductInfo"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceFirmwareInfo"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceInfo"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceThingModelCommandInfo"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceThingModelManagement"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceThingModelPropertylInfo"); + + migrationBuilder.DropTable( + name: "ServiceProDeviceUpgradeRecord"); + + migrationBuilder.DropTable( + name: "ServiceProIoTPlatformThingModelInfo"); + + migrationBuilder.DropTable( + name: "ServiceProMenus"); + + migrationBuilder.DropTable( + name: "ServiceProOneNETAccountInfo"); + + migrationBuilder.DropTable( + name: "ServiceProOneNETProductInfo"); + + migrationBuilder.DropTable( + name: "ServiceProSubDeviceManagementInfo"); + + migrationBuilder.DropTable( + name: "ServiceProTextTemplates"); + + migrationBuilder.DropTable( + name: "ServiceProUserRefreshTokens"); + + migrationBuilder.DropTable( + name: "AbpDataDictionaries"); + + migrationBuilder.DropTable( + name: "AbpEntityChanges"); + + migrationBuilder.DropTable( + name: "AbpTenants"); + + migrationBuilder.DropTable( + name: "AbpOrganizationUnits"); + + migrationBuilder.DropTable( + name: "AbpRoles"); + + migrationBuilder.DropTable( + name: "AbpUsers"); + + migrationBuilder.DropTable( + name: "AbpAuditLogs"); + } + } +} diff --git a/src/JiShe.IoT.EntityFrameworkCore/Migrations/IoTDbContextModelSnapshot.cs b/src/JiShe.IoT.EntityFrameworkCore/Migrations/IoTDbContextModelSnapshot.cs index b1b1dde..7732d2d 100644 --- a/src/JiShe.IoT.EntityFrameworkCore/Migrations/IoTDbContextModelSnapshot.cs +++ b/src/JiShe.IoT.EntityFrameworkCore/Migrations/IoTDbContextModelSnapshot.cs @@ -904,6 +904,10 @@ namespace JiShe.IoT.Migrations .HasColumnType("character varying(50)") .HasComment("设备地址"); + b.Property("DeviceDataId") + .HasColumnType("uuid") + .HasComment("设备数据Id"); + b.Property("DeviceName") .IsRequired() .HasMaxLength(50) @@ -1578,6 +1582,10 @@ namespace JiShe.IoT.Migrations .HasColumnType("character varying(50)") .HasComment("物联网平台中对应产品物模型属性或者事件类型"); + b.Property("IdentifierType") + .HasColumnType("integer") + .HasComment("物模型标识符类型"); + b.Property("IoTPlatform") .HasColumnType("integer") .HasComment("物联网平台类型,默认没有指定");