Files
Migu2.0/MiGu.Server/data/platform.db
T

297 lines
136 KiB
Plaintext
Raw Normal View History

SQLite format 3@ ".fêöûö øA£ëò®®; O)indexsqlite_autoindex_wms_containers_1wms_containers
 ;;tablewms_container_materialswms_container_materials
CREATE TABLE "wms_container_materials" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_materials" PRIMARY KEY,
"ContainerId" TEXT NOT NULL,
"MaterialId" TEXT NOT NULL,
"Quantity" TEXT NOT NULL,
"BatchNo" TEXT NOT NULL,
"SerialNo" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"LoadedAt" TEXT NOT NULL,
"UnloadedAt" TEXT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)M
a;indexsqlite_autoindex_wms_container_materials_1wms_container_materials „_IIˆ9tablewms_container_material_historywms_container_material_historyCREATE TABLE "wms_container_material_history" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_material_history" PRIMARY KEY,
"MaterialId" TEXT NULL,
"QuantityDelta" TEXT NOT NULL,
"RelationId" TEXT NULL,
"EventType" TEXT NOT NULL,
"BeforeJson" text NOT NULL,
"AfterJson" text NOT NULL,
"ContainerId" TEXT NULL,
"Operator" TEXT NOT NULL,
"OperatedAt" TEXT NOT NULL,
"Source" TEXT NOT NULL,
"Reason" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)[oIindexsqlite_autoindex_wms_container_material_history_1wms_container_material_history …u;;tablewms_container_locationswms_container_locationsCREATE TABLE "wms_container_locations" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_locations" PRIMARY KEY,
"ContainerId" TEXT NOT NULL,
"LocationType" TEXT NOT NULL,
"LocationId" TEXT NOT NULL,
"LocationCode" TEXT NOT NULL,
"LocationName" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"EnteredAt" TEXT NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)Ma;indexsqlite_autoindex_wms_container_locations_1wms_container_locations…2II‰_tablewms_container_location_historywms_container_location_historyCREATE TABLE "wms_container_location_history" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_location_history" PRIMARY KEY,
"FromLocationType" TEXT NOT NULL,
"FromLocationId" TEXT NOT NULL,
"ToLocationType" TEXT NOT NULL,
"ToLocationId" TEXT NOT NULL,
"RelationId" TEXT NULL,
"EventType" TEXT NOT NULL,
"BeforeJson" text NOT NULL,
"AfterJson" text NOT NULL,
"ContainerId" TEXT NULL,
"Operator" TEXT NOT NULL,
"OperatedAt" TEXT NOT NULL,
"Source" TEXT NOT NULL,
"Reason" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)[oIindexsqlite_autoindex_wms_container_location_history_1wms_container_location_history„i‰!tablewms_areaswms_areasCREATE TABLE "wms_areas" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_areas" PRIMARY KEY,
"Code" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"Type" TEXT NOT NULL,
"Enabled" INTEGER NOT NULL,
"SortOrder" INTEGER NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)1Eindexsqlite_autoindex_wms_areas_1wms_area
CgÎCU OO
85ab5356-4fd0-47d2-91b3-7383760e617d1112026-06-09 03:34:23.4491652+00:002026-06-09 03:34:23.4491652+00:00adminadmin1{}U MM

f3728ef8-a194-40ee-9651-fb6c437d3778AREA-BB 区Buffer2026-06-09 03:32:15.853144+00:002026-06-09 03:32:15.853144+00:00systemsystem{}U MM

11a8d0eb-ba20-446a-a102-1e8849102b5aAREA-AA 区Storage2026-06-09 03:32:
د(U85ab5356-4fd0-47d2-91b3-7383760e617d(Uf3728ef8-a194-40ee-9651-fb6c437d3778'U 11a8d0eb-ba20-446a-a102-1e8849102b5a
ØØ'U 3ae753d8-5d08-42b0-b687-5853610c04cf
ØØ'U d1a0acbd-246c-46d8-aeb9-120ab325736c
ØØ'U 4d2e3d73-cde9-47f5-a80b-f48be7e1ea8a
ØØ'U fe48ed20-1ac5-4d40-8087-60ff5d8ab21b
¯Ø¯(U73582c36-c389-4791-a582-2e6069a77202'U 0158d1af-720c-4b71-9def-e72f283f2945
G ü øžA:ò®®; O)indexsqlite_autoindex_wms_containers_1wms_contaiøRO)indexsqlite_autoindex_wms_containers_1wms_containers
ø;;tablewms_container_materialswms_container_materials
CREATE TABLE "wmsø;;tablewms_container_materialswms_container_materials
CREATE TABLE "wms_container_materials" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_materials" PRIMARY KEY,
"ContainerId" TEXT NOT NULL,
"MaterialId" TEXT NOT NULL,
"Quantity" TEXT NOT NULL,
"BatchNo" TEXT NOT NULL,
"SerialNo" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"LoadedAt" TEXT NOT NULL,
"UnloadedAt" TEXT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)[oIindexsqlite_autoindex_wms_container_material_history_1wms_container_material_history „_IIˆ9tablewms_container_material_historywms_container_material_historyCREATE TABLE "wms_container_material_history" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_material_history" PRIMARY KEY,
"MaterialId" TEXT NULL,
"QuantityDelta" TEXT NOT NULL,
"RelationId" TEXT NULL,
"EventType" TEXT NOT NULL,
"BeforeJson" text NOT NULL,
"AfterJson" text NOT NULL,
"ContainerId" TEXT NULL,
"Operator" TEXT NOT NULL,
"OperatedAt" TEXT NOT NULL,
"Source" TEXT NOT NULL,
"Reason" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)…u;;tablewms_container_locationswms_container_locationsCREATE TABLE "wms_container_locations" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_locations" PRIMARY KEY,
"ContainerId" TEXT NOT NULL,
"LocationType" TEXT NOT NULL,
"LocationId" TEXT NOT NULL,
"LocationCode" TEXT NOT NULL,
"LocationName" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"EnteredAt" TEXT NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)Ma;indexsqlite_autoindex_wms_container_locations_1wms_container_locations…2II‰_tablewms_container_location_historywms_container_location_historyCREATE TABLE "wms_container_location_history" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_location_history" PRIMARY KEY,
"FromLocationType" TEXT NOT NULL,
"FromLocationId" TEXT NOT NULL,
"ToLocationType" TEXT NOT NULL,
"ToLocationId" TEXT NOT NULL,
"RelationId" TEXT NULL,
"EventType" TEXT NOT NULL,
"BeforeJson" text NOT NULL,
"AfterJson" text NOT NULL,
"ContainerId" TEXT NULL,
"Operator" TEXT NOT NULL,
"OperatedAt" TEXT NOT NULL,
"Source" TEXT NOT NULL,
"Reason" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)[oIindexsqlite_autoindex_wms_container_location_history_1wms_container_location_history„i‰!tablewms_areaswms_areasCREATE TABLE "wms_areas" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_areas" PRIMARY KEY,
"Code" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"Type" TEXT NOT NULL,
"Enabled" INTEGER NOT NULL,
"SortOrder" INTEGER NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)1Eindexsqlite_autoindex_wms_areas_1wms_areas
d ù ëh+Uèdü1;s
½ ç  W
3gImindexIX_wms_container_location_history_ContainerIdwms_container_location_historyCREATE INDEX "IX_wms_container_location_history_ContainerId" ON "wms_container_location_history" ("ContainerId")f/ indexIX_wms_areas_Codewms_areasCREATE UNIQUE INDEX "IX_wms_areas_Code" ON "wms_areas" ("Code")…5%%Š-tablewms_storageswms_storagesCREATE TABLE "wms_storages" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_storages" PRIMARY KEY,
"AreaId" TEXT NOT NULL,
"Code" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"StorageType" TEXT NOT NULL,
"SiteId" TEXT NOT NULL,
"Capacity" INTEGER NOT NULL,
"Enabled" INTEGER NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)#9K%indexsqlite_autoindex_wms_storages_1wms_storages
''‰_tablewms_materialswms_materialsCREATE TABLE "wms_materials" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_materials" PRIMARY KEY,
"Code" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"Spec" TEXT NOT NULL,
"Unit" TEXT NOT NULL,
"Category" TEXT NOT NULL,
"Enabled" INTEGER NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)9M'indexsqlite_autoindex_wms_materials_1wms_materials
:; O)indexsqlite_autoindex_wms_containers_1wms_containers
))‰;tablewms_containerswms_containers CREATE TABLE "wms_containers" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_containers" PRIMARY KEY,
"Code" TEXT NOT NULL,
"Name" TEXT NOT NULL,
"ContainerType" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"Enabled" INTEGER NOT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)M
a;indexsqlite_autoindex_wms_container_materials_1wms_container_materials ¿;;tablewms_container_materialswms_container_materials
CREATE TABLE "wms_contaEeIiindexIX_wms_container_material_history_OperatedAtwms_container_material_historyCREATE INDEX "IX_wms_container_material_history_OperatedAt" ON "wms_container_material_history" ("OperatedAt")BcIeindexIX_wms_container_material_history_EventTypewms_container_material_historyCREATE INDEX "IX_wms_container_material_history_EventType" ON "wms_container_material_history" ("EventType")HgImindexIX_wms_container_material_history_ContainerIdwms_container_material_historyCREATE INDEX "IX_wms_container_material_history_ContainerId" ON "wms_container_material_history" ("ContainerId")Sq;indexIX_† ;;tablewms_container_materialswms_container_materials
CREATE TABLE "wms_container_materials" (
"Id" TEXT NOT NULL CONSTRAINT "PK_wms_container_materials" PRIMARY KEY,
"ContainerId" TEXT NOT NULL,
"MaterialId" TEXT NOT NULL,
"Quantity" TEXT NOT NULL,
"BatchNo" TEXT NOT NULL,
"SerialNo" TEXT NOT NULL,
"Status" TEXT NOT NULL,
"LoadedAt" TEXT NOT NULL,
"UnloadedAt" TEXT NULL,
"CreatedAt" TEXT NOT NULL,
"UpdatedAt" TEXT NOT NULL,
"IsDeleted" INTEGER NOT NULL,
"DeletedAt" TEXT NULL,
"DeletedBy" TEXT NOT NULL,
"Version" INTEGER NOT NULL,
"IsLock" INTEGER NOT NULL,
"CreatedBy" TEXT NOT NULL,
"UpdatedBy" TEXT NOT NULL,
"Remark" TEXT NOT NULL,
"Extend" text NOT NULL
)
TT)U% MM

f57436f3-0dd4-4e6c-b12e-5f8388913803PalletAPalletA托盘物料pcsDefault2026-06-09 03:32:15.853144+00:002026-06-09 03:32:15.853144+00:00systemsystem
ØØ'U f57436f3-0dd4-4e6c-b12e-5f8388913803
د(Ud85e2bc1-8535-4985-981a-e85879167332(Ua1485e9a-2f42-4d69-b812-198afca8ebb7'U 1c320b02-b5a9-424f-b62f-8c1a50ae7a0f
ååöë1
AREA-B  AREA-A
ØØ'U 73582c36-c389-4791-a582-2e6069a77202