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

95 lines
2.7 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['abnormal_code'] = array (
'columns' => array (
'abnormal_id' => array (
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'editable' => false,
'extra' => 'auto_increment',
'order' => 1,
),
'abnormal_code' => array (
'type' => 'varchar(32)',
'required' => true,
'label' => '错误码',
'editable' => false,
'width' => 130,
'searchtype' => 'nequal',
'filtertype' => 'yes',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => true,
'order' => 10,
),
'abnormal_name' => array (
'type' => 'varchar(50)',
'required' => true,
'label' => '错误标题',
'editable' => false,
'width' => 150,
'searchtype' => 'nequal',
'filtertype' => 'yes',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => true,
'order' => 11,
),
'abnormal_type' => array (
'type' => array (
'delivery' => '发货单',
'return' => '售后单',
),
'default' => 'delivery',
'width' => 120,
'required' => true,
'editable' => false,
'label' => '单据类型',
'in_list' => true,
'default_in_list' => true,
'order' => 20,
),
'disabled' => array (
'type' => 'bool',
'default' => 'false',
'editable' => false,
'label' => '是否禁用',
'in_list' => true,
'default_in_list' => true,
'order' => 50,
),
'create_time' => array (
'type' => 'time',
'label' => '创建时间',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'order' => 98,
),
'last_modified' => array (
'label' => '最后更新时间',
'type' => 'last_modify',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'order' => 99,
),
),
'index' => array (
'ind_type_code' => array (
'columns' => array (
0 => 'abnormal_code',
1 => 'abnormal_type',
),
),
),
'comment' => 'WMS异常错误码',
'engine' => 'innodb',
'version' => '$Rev: 1001',
);