/*
 Navicat Premium Data Transfer

 Source Server         : 本地连接
 Source Server Type    : MySQL
 Source Server Version : 80023
 Source Host           : localhost:3306
 Source Schema         : cy_community

 Target Server Type    : MySQL
 Target Server Version : 80023
 File Encoding         : 65001

 Date: 10/03/2021 14:12:12
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for cy_agency
-- ----------------------------
DROP TABLE IF EXISTS `cy_agency`;
CREATE TABLE `cy_agency` (
  `id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户ID',
  `create_user` bigint DEFAULT NULL COMMENT '创建人',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_user` bigint DEFAULT NULL COMMENT '修改人',
  `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `status` int DEFAULT NULL COMMENT '状态',
  `is_deleted` int DEFAULT NULL COMMENT '是否已删除',
  `agency_name` varchar(255) DEFAULT NULL COMMENT '园区名称',
  `principal_id` bigint DEFAULT NULL COMMENT '负责人memberId',
  `member_name` varchar(255) DEFAULT NULL COMMENT '负责人名称',
  `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  `region_id` bigint DEFAULT NULL COMMENT '行政区域编号ID',
  `region_name` varchar(255) DEFAULT NULL COMMENT '行政区域名称',
  `address` varchar(255) DEFAULT NULL COMMENT '详细地址',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of cy_agency
-- ----------------------------
BEGIN;
INSERT INTO `cy_agency` VALUES (1368867398668615681, '000000', 1123598821738675201, 1123598813738675201, '2021-03-08 18:13:15', 1123598821738675201, '2021-03-08 18:13:15', 1, 0, '南园居', 1, '梁汉强', '', 440105015, '琶洲街道', '琶洲街道');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
