Files
OMS/app/financebase/dbschema/bill_base.php
2025-12-28 23:13:25 +08:00

53 lines
1.4 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['bill_base'] = array(
'columns' => array(
'shop_id' => array(
'type' => 'varchar(32)',
'editable' => false,
'comment' => '店铺ID',
),
'unique_id' => array(
'type' => 'varchar(32)',
'comment' => '单据唯一值',
),
'content' => array(
'type' => 'longtext',
'comment' => '原始数据',
),
'create_time' => array(
'type' => 'time',
'comment' => '单据生成时间(插入数据库的时间)',
'editable' => false,
'in_list' => false,
'default_in_list' => false,
),
),
'index' => array(
'unique_key' => array(
'columns' => array(
0 => 'shop_id',
1 => 'unique_id',
),
'prefix' => 'unique',
),
'create_time_key' => array(
'columns' => array(
'create_time',
),
),
'idx_unique_id' => array(
'columns' => array(
'unique_id',
),
),
),
'comment' => '流水原始数据表',
'engine' => 'innodb',
'version' => '$Rev: $',
);