-- ----------------------------
-- Table structure for xy_company
-- ----------------------------
DROP TABLE IF EXISTS `xy_company`;
CREATE TABLE `xy_company`  (
  `id` int(0) UNSIGNED NOT NULL AUTO_INCREMENT,
  `uid` int(0) NULL DEFAULT NULL,
  `app_id` int(0) NULL DEFAULT NULL,
  `adviser_id` int(0) NULL DEFAULT NULL,
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `stitle` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `uscc` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `business_license` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `attestation` tinyint(0) NULL DEFAULT 0,
  `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `is_famous` tinyint(1) NULL DEFAULT 0,
  `nature` tinyint(0) NULL DEFAULT 0,
  `finance` tinyint(0) NULL DEFAULT 0,
  `industry_id` int(0) NULL DEFAULT NULL,
  `region_id` int(0) NULL DEFAULT NULL,
  `size_type` tinyint(1) NULL DEFAULT 0,
  `registered_capital` double(10, 2) NULL DEFAULT NULL,
  `registered_capital_type` tinyint(1) NULL DEFAULT 0,
  `corporate_welfare` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `view` int(0) NULL DEFAULT 0,
  `blacklist` int(0) NULL DEFAULT 0,
  `create_time` int(0) NULL DEFAULT NULL,
  `update_time` int(0) NULL DEFAULT NULL,
  `refresh_time` int(0) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uid`(`uid`) USING BTREE,
  UNIQUE INDEX `uscc`(`uscc`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '企业表' ROW_FORMAT = Dynamic;
