work_packer.sql 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 公司的201数据库
  4. Source Server Type : MySQL
  5. Source Server Version : 50733
  6. Source Host : 172.16.90.201:3306
  7. Source Schema : ycpharmacy_db
  8. Target Server Type : MySQL
  9. Target Server Version : 50733
  10. File Encoding : 65001
  11. Date: 09/02/2022 09:41:17
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for work_packer
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `work_packer`;
  19. CREATE TABLE `work_packer` (
  20. `id` bigint(20) NOT NULL COMMENT 'id',
  21. `drug_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品名称',
  22. `bar_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '条码',
  23. `pack_spec` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包装规格 ',
  24. `batch` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次',
  25. `manu_time` datetime(0) NULL DEFAULT NULL COMMENT '生产日期',
  26. `qua_drugs` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品数量',
  27. `drug_spec` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品规格',
  28. `pack_time` datetime(0) NULL DEFAULT NULL COMMENT '包装时间',
  29. `operator` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人',
  30. `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
  31. `file_path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件全路径',
  32. `insert_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '插入时间年月日',
  33. `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'system' COMMENT '创建者',
  34. `create_user_id` bigint(20) NULL DEFAULT 1 COMMENT '创建者id',
  35. `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  36. `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者',
  37. `update_user_id` bigint(20) NULL DEFAULT NULL COMMENT '更新者id',
  38. `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  39. `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
  40. `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)',
  41. PRIMARY KEY (`id`) USING BTREE
  42. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '包装机数据表' ROW_FORMAT = Dynamic;
  43. SET FOREIGN_KEY_CHECKS = 1;