当前位置:   article > 正文

【愚公系列】2023年02月 WMS智能仓储系统-011.数据库文档设计_wms库存库位表设计

wms库存库位表设计

文章目录


前言

数据库设计文档是一项重要工作,它涉及到数据库设计的方方面面,是保证数据库能够正常工作,运行稳定,以满足用户需求的重要工具。其中包括数据库设计的方案,对不同类型的数据存储,数据存储结构,数据库调优功能,数据库安全方案,数据库实现方式,安装配置和其他内容。

WMS智能仓储系统的数据库文档设计下面会介绍。

一、数据库文档设计

1.chm版本

在这里插入图片描述

2.PDF版本

在这里插入图片描述

3.html版本

在这里插入图片描述

二、数据库表目录

表结构

__EFMigrationsHistory

序号列名数据类型长度主键自增允许空默认值列说明
1MigrationIdTEXT
2ProductVersionTEXT

asn

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2asn_noTEXT
3asn_statusINTEGER
4spu_idINTEGER
5sku_idINTEGER
6asn_qtyINTEGER
7actual_qtyINTEGER
8sorted_qtyINTEGER
9shortage_qtyINTEGER
10more_qtyINTEGER
11damage_qtyINTEGER
12weightTEXT
13volumeTEXT
14supplier_idINTEGER
15supplier_nameTEXT
16goods_owner_idINTEGER
17goods_owner_nameTEXT
18creatorTEXT
19create_timeTEXT
20last_update_timeTEXT
21is_validINTEGER
22tenant_idINTEGER

asnsort

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2asn_idINTEGER
3sorted_qtyINTEGER
4creatorTEXT
5create_timeTEXT
6last_update_timeTEXT
7is_validINTEGER
8tenant_idINTEGER

category

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2category_nameTEXT
3parent_idINTEGER
4creatorTEXT
5create_timeTEXT
6last_update_timeTEXT
7is_validINTEGER
8tenant_idINTEGER

company

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2company_nameTEXT
3cityTEXT
4addressTEXT
5managerTEXT
6contact_telTEXT
7create_timeTEXT
8last_update_timeTEXT
9tenant_idINTEGER

customer

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2customer_nameTEXT
3cityTEXT
4addressTEXT
5emailTEXT
6managerTEXT
7contact_telTEXT
8creatorTEXT
9create_timeTEXT
10last_update_timeTEXT
11is_validINTEGER
12tenant_idINTEGER

dispatchlist

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2dispatch_noTEXT
3dispatch_statusINTEGER
4customer_idINTEGER
5customer_nameTEXT
6sku_idINTEGER
7qtyINTEGER
8weightTEXT
9volumeTEXT
10creatorTEXT
11create_timeTEXT
12damage_qtyINTEGER
13lock_qtyINTEGER
14picked_qtyINTEGER
15intrasit_qtyINTEGER
16package_qtyINTEGER
17weighing_qtyINTEGER
18actual_qtyINTEGER
19sign_qtyINTEGER
20package_noTEXT
21package_personTEXT
22package_timeTEXT
23weighing_noTEXT
24weighing_personTEXT
25weighing_weightTEXT
26waybill_noTEXT
27carrierTEXT
28freightfeeTEXT
29last_update_timeTEXT
30tenant_idINTEGER

dispatchpicklist

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2dispatchlist_idINTEGER
3goods_owner_idINTEGER
4goods_location_idINTEGER
5sku_idINTEGER
6pick_qtyINTEGER
7picked_qtyINTEGER
8is_update_stockINTEGER
9last_update_timeTEXT

freightfee

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2carrierTEXT
3departure_cityTEXT
4arrival_cityTEXT
5price_per_weightTEXT
6price_per_volumeTEXT
7min_paymentTEXT
8creatorTEXT
9create_timeTEXT
10last_update_timeTEXT
11is_validINTEGER
12tenant_idINTEGER

goodslocation

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2warehouse_idINTEGER
3warehouse_nameTEXT
4warehouse_area_nameTEXT
5warehouse_area_propertyINTEGER
6location_nameTEXT
7location_lengthTEXT
8location_widthTEXT
9location_heigthTEXT
10location_volumeTEXT
11location_loadTEXT
12roadway_numberTEXT
13shelf_numberTEXT
14layer_numberTEXT
15tag_numberTEXT
16create_timeTEXT
17last_update_timeTEXT
18is_validINTEGER
19tenant_idINTEGER
20warehouse_area_idINTEGER

goodsowner

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2goods_owner_nameTEXT
3cityTEXT
4addressTEXT
5managerTEXT
6contact_telTEXT
7creatorTEXT
8create_timeTEXT
9last_update_timeTEXT
10is_validINTEGER
11tenant_idINTEGER

menu

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2menu_nameTEXT
3moduleTEXT
4vue_pathTEXT
5vue_path_detailTEXT
6vue_directoryTEXT
7sortINTEGER
8tenant_idINTEGER

rolemenu

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2userrole_idINTEGER
3menu_idINTEGER
4authorityINTEGER
5create_timeTEXT
6last_update_timeTEXT
7tenant_idINTEGER

sku

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2spu_idINTEGER
3sku_codeTEXT
4sku_nameTEXT
5weightTEXT
6lenghtTEXT
7widthTEXT
8heightTEXT
9volumeTEXT
10unitTEXT
11costTEXT
12priceTEXT
13create_timeTEXT
14last_update_timeTEXT

spu

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2spu_codeTEXT
3spu_nameTEXT
4category_idINTEGER
5spu_descriptionTEXT
6bar_codeTEXT
7supplier_idINTEGER
8supplier_nameTEXT
9brandTEXT
10originTEXT
11length_unitINTEGER
12volume_unitINTEGER
13weight_unitINTEGER
14creatorTEXT
15create_timeTEXT
16last_update_timeTEXT
17is_validINTEGER
18tenant_idINTEGER

stock

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2sku_idINTEGER
3goods_location_idINTEGER
4qtyINTEGER
5goods_owner_idINTEGER
6is_freezeINTEGER
7last_update_timeTEXT
8tenant_idINTEGER

stockadjust

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2job_codeTEXT
3sku_idINTEGER
4goods_owner_idINTEGER
5goods_location_idINTEGER
6qtyINTEGER
7creatorTEXT
8create_timeTEXT
9last_update_timeTEXT
10tenant_idINTEGER
11is_update_stockINTEGER
12job_typeINTEGER
13source_table_idINTEGER

stockfreeze

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2job_codeTEXT
3job_typeINTEGER
4sku_idINTEGER
5goods_owner_idINTEGER
6goods_location_idINTEGER
7handlerTEXT
8handle_timeTEXT
9last_update_timeTEXT
10tenant_idINTEGER

stockmove

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2job_codeTEXT
3move_statusINTEGER
4sku_idINTEGER
5orig_goods_location_idINTEGER
6dest_googs_location_idINTEGER
7qtyINTEGER
8goods_owner_idINTEGER
9handlerTEXT
10handle_timeTEXT
11creatorTEXT
12create_timeTEXT
13last_update_timeTEXT
14tenant_idINTEGER

stockprocess

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2job_codeTEXT
3job_typeINTEGER
4process_statusINTEGER
5processorTEXT
6process_timeTEXT
7creatorTEXT
8create_timeTEXT
9last_update_timeTEXT
10tenant_idINTEGER

stockprocessdetail

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2stock_process_idINTEGER
3sku_idINTEGER
4goods_owner_idINTEGER
5goods_location_idINTEGER
6qtyINTEGER
7last_update_timeTEXT
8tenant_idINTEGER
9is_sourceINTEGER
10is_update_stockINTEGER

stocktaking

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2job_codeTEXT
3job_statusINTEGER
4sku_idINTEGER
5goods_owner_idINTEGER
6goods_location_idINTEGER
7book_qtyINTEGER
8counted_qtyINTEGER
9difference_qtyINTEGER
10creatorTEXT
11create_timeTEXT
12last_update_timeTEXT
13tenant_idINTEGER
14handlerTEXT
15handle_timeTEXT

supplier

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2supplier_nameTEXT
3cityTEXT
4addressTEXT
5emailTEXT
6managerTEXT
7contact_telTEXT
8creatorTEXT
9create_timeTEXT
10last_update_timeTEXT
11is_validINTEGER
12tenant_idINTEGER

user

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2user_numTEXT
3user_nameTEXT
4contact_telTEXT
5user_roleTEXT
6sexTEXT
7is_validINTEGER
8auth_stringTEXT
9emailTEXT
10creatorTEXT
11create_timeTEXT
12last_update_timeTEXT
13tenant_idINTEGER

userrole

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2role_nameTEXT
3is_validINTEGER
4create_timeTEXT
5last_update_timeTEXT
6tenant_idINTEGER

warehouse

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2warehouse_nameTEXT
3cityTEXT
4addressTEXT
5emailTEXT
6managerTEXT
7contact_telTEXT
8creatorTEXT
9create_timeTEXT
10last_update_timeTEXT
11is_validINTEGER
12tenant_idINTEGER

warehousearea

序号列名数据类型长度主键自增允许空默认值列说明
1idINTEGER
2warehouse_idINTEGER
3area_nameTEXT
4parent_idINTEGER
5create_timeTEXT
6last_update_timeTEXT
7is_validINTEGER
8tenant_idINTEGER
9area_propertyINTEGER
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/452566
推荐阅读
相关标签
  

闽ICP备14008679号