Files
OMS/app/ome/dbschema/extrabranch.php
2026-01-04 19:08:31 +08:00

127 lines
2.8 KiB
PHP

<?php
/**
* Copyright 2012-2026 ShopeX (https://www.shopex.cn)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
$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: $',
);