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

58 lines
1.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['autostore_rule']=array (
'columns' =>
array (
'rule_id' =>
array (
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'editable' => false,
'extra' => 'auto_increment',
),
'branch_id' =>
array (
'type' => 'table:branch@ome',
'required' => true,
'default' => 0,
'editable' => false,
'comment' => '仓库ID',
),
'rule_name'=>
array(
'type'=>'varchar(200)',
'label' => '规则名称',
'in_list' => true,
'default_in_list' => true,
),
'rule_type' =>
array (
'label' => '规则类型',
'type' => array (
'area' => '按区域覆盖',
'lbs' => '按定位服务',
),
'default' => 'area',
'width' => 100,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'disabled' =>
array (
'type' => 'bool',
'required' => true,
'default' => 'false',
'editable' => false,
'label' => '是否启用',
),
),
'comment' => '门店优选规则',
'engine' => 'innodb',
'version' => '$Rev: $',
);