/*
任务：重庆二级库模块  新增整个数据库
*/

CREATE TABLE `receive_detail` (
  `id` int NOT NULL AUTO_INCREMENT,
  `type_id` int DEFAULT NULL COMMENT '类型名称',
  `out_num` int DEFAULT NULL COMMENT '出库数量',
  `pick_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '领料人员',
  `out_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '出库人员',
  `out_time` datetime DEFAULT NULL COMMENT '出库时间',
  `parent_id` int DEFAULT NULL COMMENT '出库父id',
  `type` varchar(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '1出库 2退库',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;