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

65 lines
2.0 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['shop'] = array(
'columns' => array(
'id' => array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => app::get('tbo2o')->_('ID'),
),
'company_name' => array(
'type' => 'varchar(255)',
'order' => 20,
'label' => app::get('tbo2o')->_('商户名称'),
),
'company_content' => array(
'type' => 'varchar(255)',
'order' => 20,
'label' => app::get('tbo2o')->_('商户介绍'),
),
'shop_id' => array(
'type' => 'varchar(32)',
'filterdefault' => true,
'filtertype' => true,
'label' => app::get('tbo2o')->_('前端店铺ID'),
),
'shop_bn' => array(
'type' => 'bn',
'in_list' => true,
'filterdefault' => true,
'filtertype' => true,
'label' => app::get('tbo2o')->_('前端店铺编码'),
),
'shop_name' => array(
'type' => 'varchar(255)',
'order' => 20,
'label' => app::get('tbo2o')->_('前端店铺名称'),
),
'branch_bn' =>
array (
'type' => 'varchar(32)',
'label' => '仓库编号',
),
'create_time' => array(
'type' => 'time',
'default' => 0,
'in_list' => true,
'default_in_list' => true,
'label' => app::get('tbo2o')->_('创建时间'),
),
),
'index' =>
array (
'ind_shop_id' => array ( 'columns' => array ( 'shop_id',)),
'ind_branch_bn' => array ( 'columns' => array ( 'branch_bn',)),
),
'engine' => 'innodb',
'version' => '$Rev: $',
'comment' => app::get('tbo2o')->_('全渠道店铺表'),
);