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

130 lines
3.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['warehouse']=array (
'columns' =>
array (
'id' =>
array (
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'warehouse_name' =>
array (
'type' => 'varchar(25)',
'editable' => false,
'label' => '区域仓名称',
'width' => 130,
'searchtype' => 'has',
'filtertype' => 'normal',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => true,
'order' => 1,
),
'branch_id' =>
array (
'type' => 'table:branch@ome',
'editable' => false,
'label' => '系统仓库名称',
'width' => 110,
'filtertype' => 'normal',
'filterdefault' => true,
'in_list' => true,
'order' => 2,
),
'branch_bn'=>array(
'type' => 'varchar(32)',
'in_list' => true,
'default_in_list' => true,
'label' => '系统仓库ID',
),
'region_ids'=>array(
'type' => 'text',
'default' => '0',
'editable' => false,
'label' => '覆盖区域id',
'width' => 130,
'order' => 10,
),
'region_names'=>array(
'type' => 'text',
'default' => '0',
'editable' => false,
'label' => '覆盖区域',
'width' => 130,
'in_list' => false,
'default_in_list' => false,
'order' => 3,
),
'warn_num' =>
array (
'type' => 'number',
'default' => 0,
'required' => true,
'editable' => false,
'label'=>'库存预警值',
'in_list' => true,
'default_in_list' => true,
),
'operator' => array(
'type' => 'varchar(30)',
'comment' => '创建人',
'default_in_list' => true,
'in_list' => true,
'label' => '创建人',
),
'create_time' =>
array (
'type' => 'time',
'comment' => '创建时间',
'label' => '创建时间',
'width' => '130',
'in_list' => true,
),
'last_modified' => array(
'label' => '最后更新时间',
'type' => 'last_modify',
'width' => 130,
'editable' => false,
'in_list' => true,
),
'one_level_region_names'=>array(
'type' => 'varchar(255)',
'default' => '',
'editable' => false,
'label' => '一级地址覆盖区域',
'width' => 130,
'in_list' => false,
'default_in_list' => false,
'order' => 3,
),
'b_type' => array(
'type' => 'tinyint(1)',
'editable' => false,
'label' => '业务类型',
'default' => 1,
'comment' => '1=仓库2=门店同ome_branch的b_type',
'in_list' => true,
'default_in_list' => true,
'width' => 80,
'order' => 4,
),
),
'comment' => '区域仓表',
'engine' => 'innodb',
'version' => '$Rev: $',
);