进销存系统数据库

更新时间:2023-09-06 14:50:01 阅读量: 教育文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

进销存系统数据库(jxc)

表名 列名

--订货单(stockOrder)数据类型及长度 空/非空 约束 字段说明

Id Code clientid merchandiseid

int varchar(11) char(3) char(3)

Not null Not null Not null Not null

Primary key

--序号(自动增 长) --订单编号 --客户编号 --商品编号

外 键 关 联 client表的 code 列

外 键 关 联 merchandise 表的code 列

merchandisenumber orderdate handleoperatorid

int datetime char(3)

Not null Not null Not null 外 键 关 联employee 表的 code 列

--订货数量 --订货日期 --经手人(即登 录人的编号)

表名 列名

--进货单(stockIn)数据类型及长度 空/非空 约束 字段说明

Id Code clientid merchandiseid

int varchar(11) char(3) char(3)

Not null Not null Not null Not null

Primary key

--序号(自动增 长) --进货单编号 --客户编号 --商品编号

外键关联 client 表的 code 列

外 键 关 联 merchandise 表的code 列

amount Price Money stockindate employeeid

int Number(5,2) datetime char(3)

Not null Not null Not null Not null 外 键 关 联employee 表的 id 列

--进货数量 --进货单价 --进货总额 --进货日期 --经手人(即登 录人的编号)

本文来源:https://www.bwwdw.com/article/rpyh.html

Top