【比较mybatis、lazy、sqltoy、mybatis-flex操作数据】操作批量新增、分页查询(二)
CREATE TABLE `sys_user` (
`column_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '额外字段',
`create_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
`is_deleted` tinyint(1) DEFAULT NULL COMMENT 'null',
`password` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '密码',
`scope` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'null',
`status` tinyint(1) DEFAULT NULL COMMENT '状态',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`username` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户名',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `s_u` (`scope`,`username`)
) ENGINE=InnoDB AUTO_INCREMENT=9223371632070323791 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;