This commit is contained in:
HuangHai
2026-02-05 13:24:59 +08:00
parent 00375a80b2
commit 8e0309bb7b
69 changed files with 2084 additions and 3124 deletions

View File

@@ -0,0 +1,20 @@
CREATE TABLE `t_user_account` (
`id` bigint(20) NOT NULL auto_increment,
`user_id` bigint(20) NOT NULL,
`ua_balance` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '户用充值金额',
`ua_deposit` decimal(20,2) unsigned DEFAULT '0.00' COMMENT '押金',
`ua_balance_time` datetime COMMENT '户用创建日期时间',
`ua_password` varchar(32),
`ua_state` char(1) NOT NULL DEFAULT '0' COMMENT '用户状态 0 可用',
`ua_real_balance` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '用户账户可用金额',
`ua_real_degree` double(20,2) DEFAULT '0.00' COMMENT '户用可用充电度数',
`create_time` datetime,
`update_time` datetime,
`donate_money` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '赠送金额',
`donate_able_money` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '赠送可用金额',
`ua_able_balance` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '账户可用金额',
`refund_money` decimal(20,2) DEFAULT '0.00' COMMENT '退款金额',
`ua_consume_money` decimal(20,2) DEFAULT '0.00' COMMENT '费消金额',
`ua_clear_zero_money` decimal(20,2) DEFAULT '0.00' COMMENT '用户清零金额',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;