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

116 lines
2.3 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['extrabranch']=array (
'columns' =>
array (
'branch_id' =>
array (
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'branch_bn' =>
array (
'type' => 'varchar(32)',
'in_list' => true,
'label' => '仓库编号',
),
'name' =>
array (
'type' => 'varchar(200)',
'required' => true,
'editable' => false,
'is_title' => true,
'searchtype' => 'has',
'filtertype' => 'normal',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => true,
'width' => 130,
'label' => '仓库名',
),
'address' =>
array (
'type' => 'varchar(200)',
'editable' => false,
'label' => '地址',
'in_list' => true,
),
'zip' =>
array (
'type' => 'varchar(20)',
'editable' => false,
'label' => '邮编',
'in_list' => true,
),
'email' =>
array (
'type' => 'varchar(50)',
'editable' => false,
'label' => 'Email',
'in_list' => true,
),
'phone' =>
array (
'type' => 'varchar(100)',
'editable' => false,
'label' => '电话',
'in_list' => true,
'default_in_list' => true,
),
'uname' =>
array (
'type' => 'varchar(100)',
'editable' => false,
'label' => '联系人姓名',
'in_list' => true,
'default_in_list' => true,
),
'mobile' =>
array (
'type' => 'varchar(100)',
'editable' => false,
'label' => '手机',
'in_list' => true,
'default_in_list' => true,
),
'memo' =>
array (
'type' => 'text',
'editable' => false,
),
'area' =>
array (
'type' => 'varchar(255)',
'editable' => false,
),
),
'index' =>
array (
'name' =>
array (
'columns' =>
array (
0 => 'name',
),
'prefix' => 'unique',
),
'ind_branch_bn' =>
array (
'columns' =>
array (
0 => 'branch_bn',
),
),
),
'comment' => '外部仓库设置',
'engine' => 'innodb',
'version' => '$Rev: $',
);