mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
114 lines
3.3 KiB
PHP
114 lines
3.3 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
/**
|
||
* 京东钱包导入记录表
|
||
*
|
||
* @author AI Assistant
|
||
* @version 1.0
|
||
*/
|
||
|
||
$db['bill_import_jdwallet'] = array(
|
||
'columns' => array(
|
||
'id' => array(
|
||
'type' => 'int(11)',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'extra' => 'auto_increment',
|
||
'comment' => '主键ID',
|
||
),
|
||
'shop_id' => array(
|
||
'type' => 'varchar(32)',
|
||
'required' => true,
|
||
'comment' => '店铺ID',
|
||
),
|
||
'shop_name' => array(
|
||
'type' => 'varchar(255)',
|
||
'required' => true,
|
||
'comment' => '店铺名称',
|
||
),
|
||
'file_name' => array(
|
||
'type' => 'varchar(255)',
|
||
'required' => true,
|
||
'comment' => '文件名',
|
||
),
|
||
'file_size' => array(
|
||
'type' => 'int(11)',
|
||
'required' => true,
|
||
'comment' => '文件大小(字节)',
|
||
),
|
||
'import_time' => array(
|
||
'type' => 'int(11)',
|
||
'required' => true,
|
||
'comment' => '导入时间',
|
||
),
|
||
'status' => array(
|
||
'type' => 'varchar(20)',
|
||
'required' => true,
|
||
'default' => 'processing',
|
||
'comment' => '状态:processing-处理中,chunked-已分片,completed-完成,failed-失败',
|
||
),
|
||
'settlement_count' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '结算表记录数',
|
||
),
|
||
'fund_count' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '资金表记录数',
|
||
),
|
||
'settlement_chunks_total' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '结算表总分片数',
|
||
),
|
||
'settlement_chunks_completed' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '结算表已完成分片数',
|
||
),
|
||
'fund_chunks_total' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '资金表总分片数',
|
||
),
|
||
'fund_chunks_completed' => array(
|
||
'type' => 'int(11)',
|
||
'default' => 0,
|
||
'comment' => '资金表已完成分片数',
|
||
),
|
||
'error_msg' => array(
|
||
'type' => 'text',
|
||
'comment' => '错误信息',
|
||
),
|
||
'at_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '创建时间',
|
||
'default' => 'CURRENT_TIMESTAMP',
|
||
'comment' => '创建时间',
|
||
),
|
||
'up_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '更新时间',
|
||
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
||
'comment' => '更新时间',
|
||
),
|
||
),
|
||
'index' => array(
|
||
'idx_shop_id' => array(
|
||
'columns' => array('shop_id'),
|
||
),
|
||
'idx_status' => array(
|
||
'columns' => array('status'),
|
||
),
|
||
'idx_import_time' => array(
|
||
'columns' => array('import_time'),
|
||
),
|
||
),
|
||
'comment' => '京东钱包导入记录表',
|
||
);
|