DROP TABLE IF EXISTS `wx_bill_action` ;
CREATE TABLE `wx_bill_action` (
	`id` bigint(64) NOT NULL COMMENT 'ID',
	`tenant_id` varchar(50) NOT NULL COMMENT '租户Id',
	`user_id` bigint(64) NOT NULL COMMENT '用户ID',
	`user_name` varchar(100) NOT NULL COMMENT '用户名',
	`phone` varchar(20) NOT NULL COMMENT '手机号',
	`action` smallint(2) NOT NULL COMMENT '动作',
	`details` varchar(200) NOT NULL COMMENT '明细',
	`createtime` datetime NOT NULL COMMENT '创建时间',
	`updatetime` datetime NOT NULL COMMENT '更新时间',
	PRIMARY KEY (`id`),
	INDEX `id_index` USING BTREE (`id`) comment ''
) ENGINE=`InnoDB` ROW_FORMAT=DYNAMIC COMMENT='账单操作记录' CHECKSUM=0 DELAY_KEY_WRITE=0;