You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
2.6 KiB

1 year ago
1 year ago
  1. -- 订单明细表
  2. create table `cim_sales_order_detail` (
  3. `id` bigint(20) not null comment '主键',
  4. `doc_no` varchar(12) default null comment '订单单号',
  5. `doc_seq` varchar(255) default null comment '序号',
  6. `item_no` varchar(12) default null comment '品号',
  7. `item_name` varchar(255) default null comment '品名',
  8. `item_spec` varchar(255) default null comment '规格',
  9. `qty` int(4) default null comment '数量',
  10. `warehouse_name` varchar(255) default null comment '仓库',
  11. `storage_spaces_name` varchar(255) default null comment '储位',
  12. `status` int(1) default null comment '1.未检料;2.已检料',
  13. `tenantsid` int(1) default null comment '租户sid',
  14. `tenant_id` varchar(20) DEFAULT NULL,
  15. `create_by` varchar(50) DEFAULT NULL,
  16. `create_date` datetime DEFAULT NULL,
  17. `modified_by` varchar(50) DEFAULT NULL,
  18. `modified_date` datetime DEFAULT NULL,
  19. `version` int(11) DEFAULT NULL,
  20. `deleted` tinyint(255) DEFAULT NULL,
  21. primary key (`id`)
  22. ) engine=innodb default charset=utf8mb4 comment='订单明细';
  23. -- 新人报道表
  24. CREATE TABLE `cim_staff` (
  25. `id` bigint(20) NOT NULL,
  26. `employee_no` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工编号',
  27. `employee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工名称',
  28. `en_employee_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '员工英文名称',
  29. `mobile_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '手机号码',
  30. `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电子邮件',
  31. `status` int(2) NULL DEFAULT NULL COMMENT '状态',
  32. `tab_status` int(2) NULL DEFAULT NULL COMMENT '数据状态',
  33. `register_date` datetime(0) NULL DEFAULT NULL COMMENT '报道日期',
  34. `tenantsid` bigint(20) NULL DEFAULT NULL,
  35. `tenant_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  36. `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  37. `create_date` datetime(0) NULL DEFAULT NULL,
  38. `modified_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  39. `modified_date` datetime(0) NULL DEFAULT NULL,
  40. `version` int(11) NULL DEFAULT NULL,
  41. `deleted` tinyint(255) NULL DEFAULT NULL,
  42. `timestamp` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  43. PRIMARY KEY (`id`) USING BTREE
  44. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '人资报道表' ROW_FORMAT = Dynamic;