operator_catalog 算子管理文件夹 =================================== ### 算子管理文件夹 # 字段 | 列名 | 类型 | 长度 | 小数点 | 是否非空 | 默认值 | 备注 | | ----------- | ------- | ---- | ------ | -------- | ------ | ------------------------- | | id | bigint | 20 | 0 | not null | | 主键,自增 ID | | parent_id | bigint | 20 | 0 | not null | | 父表 ID | | pre_id | bigint | 20 | 0 | not null | | 前兄弟 ID | | type | int | 11 | 0 | not null | | 目录类型 | | name | varchar | 255 | 0 | not null | | 目录名称 | | description | varchar | 1000 | 0 | not null | | 目录描述 | | creator_id | varchar | 255 | 0 | not null | | 创建人 ID | | create_time | bigint | 20 | 0 | not null | | 创建时间 | | updator_id | varchar | 255 | 0 | not null | | 修改人 ID | | update_time | bigint | 20 | 0 | not null | | 修改时间 | | delete_time | bigint | 20 | 0 | | | 删除标识(null 表示未删除) | # 索引 | 字段 | 索引类型 | 备注 | | ---------- | -------- | ---- | | package_id | normal | | | pre_id | normal | | | type | normal | | # 建表语句 .. code:: CREATE TABLE `operator_catalog` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `parent_id` bigint(20) NOT NULL, `pre_id` bigint(20) NOT NULL, `type` int(11) NOT NULL, `name` varchar(255) NOT NULL, `description` varchar(1000) NOT NULL, `creator_id` varchar(255) NOT NULL, `create_time` bigint(20) NOT NULL, `updator_id` varchar(255) NOT NULL, `update_time` bigint(20) NOT NULL, `delete_time` bigint(20) DEFAULT NULL, PRIMARY KEY (`id`), KEY `index_parent_id` (`parent_id`) USING BTREE, KEY `index_pre_id` (`pre_id`) USING BTREE, KEY `index_type` (`type`) USING BTREE ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;