ai_walletAI· 钱包
yjgw_ai 库的实体表 · 12 个字段 · 主键 id · 数据行约 2
字段结构
| 字段 | 类型 | 键 | 可空 | 默认 | 注释 |
|---|
| id | bigint(20) | PRI | NO | | |
| user_id | bigint(20) | UNI | NO | | |
| balance | decimal(12,4) | | NO | 0.0000 | |
| auto_renew | tinyint(4) | | NO | 0 | |
| auto_from_member | tinyint(4) | | NO | 0 | |
| threshold_amt | decimal(12,4) | | NO | 1.0000 | |
| topup_amt | decimal(12,4) | | NO | 10.0000 | |
| arrears | decimal(12,4) | | NO | 0.0000 | |
| status | varchar(16) | | NO | active | |
| note | varchar(255) | | YES | | |
| created_at | datetime | | YES | CURRENT_TIMESTAMP | |
| updated_at | datetime | | YES | CURRENT_TIMESTAMP | |
索引
| 索引名 | 字段 | 类型 |
|---|
| PRIMARY | id | 唯一 |
| uk_user | user_id | 普通 |
样本数据 · 已脱敏 · 前 3 行
| id | user_id | balance | auto_renew | auto_from_member | threshold_amt | topup_amt | arrears | status | note | created_at | updated_at |
|---|
| 1 | 7 | 0.0000 | 1 | 0 | 100.0000 | 10.0000 | 182.2312 | active | 记账口径:以阿里云实扣为准;arrears 与 ai_domain_task.cos… | 2026-11-09 19:35:30 | 2026-11-11 09:30:02 |
| 2 | 3 | 0.0000 | 0 | 0 | 1.0000 | 10.0000 | 0.0020 | active | NULL | 2026-11-10 21:45:38 | 2026-11-10 21:50:43 |