Files
OMS/app/console/dbschema/wms_delivery_items.php
2026-01-04 17:22:44 +08:00

66 lines
2.2 KiB
PHP

<?php
/**
* Copyright 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['wms_delivery_items'] = array(
'columns' => array(
'id' => array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => 'ID',
'width' => 110,
'hidden' => true,
'editable' => false,
),
'wd_id' => array(
'type' => 'table:wms_delivery@console',
'label' => '第三方退货单',
),
'product_bn' => array(
'type' => 'varchar(255)',
'default' => '',
'label' => '货品编码',
),
'num' => array(
'type' => 'number',
'default' => 0,
'label' => '出库数',
),
'sn_list' => array(
'type' => 'text',
'label' => '唯一码',
),
'batch' => array(
'type' => 'text',
'label' => '批次号',
),
'wms_item_id' => array(
'type' => 'varchar(255)',
'default' => '',
'label' => '第三方货品编码',
),
),
'index' => array(
'idx_product_bn' => array('columns' => array('product_bn')),
'idx_wms_item_id' => array('columns' => array('wms_item_id')),
),
'engine' => 'innodb',
'version' => '$Rev: $',
'comment' => '第三方发货单明细',
);