积分寄售表.sql 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. SET NAMES utf8mb4;
  2. SET FOREIGN_KEY_CHECKS = 0;
  3. -- ----------------------------
  4. -- Table structure for t_integer_consign
  5. -- ----------------------------
  6. DROP TABLE IF EXISTS `t_integer_consign`;
  7. CREATE TABLE `t_integer_consign` (
  8. `id` bigint(255) NOT NULL COMMENT 'id',
  9. `consign_user_id` bigint(255) NULL DEFAULT NULL COMMENT '寄卖人id',
  10. `consign_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '寄卖人名称',
  11. `consign_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '寄卖电话',
  12. `integral` decimal(10, 2) NULL DEFAULT NULL COMMENT '寄卖积分',
  13. `consign_price` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '寄卖金额',
  14. `buyer_user_id` bigint(20) NULL DEFAULT NULL COMMENT '购买人id',
  15. `buyer_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '购买人名称',
  16. `buyer_user_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '购买人电话',
  17. `buy_time` datetime NULL DEFAULT NULL COMMENT '购买时间',
  18. `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  19. `create_user_id` bigint(255) NULL DEFAULT NULL COMMENT '创建人',
  20. `is_delete` int(255) NULL DEFAULT NULL COMMENT 'is_delete;0为未删除,1为已删除',
  21. `update_user_id` bigint(255) NULL DEFAULT NULL COMMENT '更新人',
  22. `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
  23. `status` int(8) NULL DEFAULT NULL COMMENT '状态:0上架,1已购买,2下架',
  24. PRIMARY KEY (`id`) USING BTREE
  25. ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '积分寄售表' ROW_FORMAT = Dynamic;
  26. -- ----------------------------
  27. -- Records of t_integer_consign
  28. -- ----------------------------
  29. SET FOREIGN_KEY_CHECKS = 1;