mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
94 lines
2.1 KiB
PHP
94 lines
2.1 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
$db['waybill']=array (
|
||
'columns' =>
|
||
array (
|
||
'id' =>
|
||
array (
|
||
'type' => 'number',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'editable' => false,
|
||
'extra' => 'auto_increment',
|
||
),
|
||
'waybill_number' =>
|
||
array (
|
||
'type' => 'varchar(100)',
|
||
'required' => true,
|
||
'default' => '',
|
||
'editable' => false,
|
||
'label' => '运单号',
|
||
'width' => 130,
|
||
//'searchtype' => 'has',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 10,
|
||
),
|
||
'channel_id' =>
|
||
array (
|
||
'type' => 'table:channel@logisticsmanager',
|
||
//'required' => true,
|
||
'editable' => false,
|
||
'comment' => '渠道主键',
|
||
'label' => '来源渠道',
|
||
'width' => 150,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 20,
|
||
),
|
||
'logistics_code' =>
|
||
array (
|
||
'type' => 'varchar(100)',
|
||
'required' => true,
|
||
'default' => '',
|
||
'editable' => false,
|
||
'comment' => '物流公司编码',
|
||
'label' => '物流公司',
|
||
'width' => 100,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 30,
|
||
),
|
||
'status' =>
|
||
array (
|
||
'type' => 'tinyint unsigned',
|
||
'editable' => false,
|
||
'required' => true,
|
||
'default' => 0,
|
||
'label' => '使用状态',
|
||
'width' => 80,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 40,
|
||
),
|
||
'create_time' =>
|
||
array (
|
||
'type' => 'time',
|
||
'comment' => '单号发放时间',
|
||
'label' => '发放时间',
|
||
'width' => '130',
|
||
'in_list' => true,
|
||
|
||
),
|
||
),
|
||
'index' =>
|
||
array (
|
||
'ind_waybill_channel' => array (
|
||
'columns' => array (
|
||
0 => 'waybill_number',
|
||
1 => 'channel_id',
|
||
),
|
||
'prefix' => 'unique',
|
||
),
|
||
'ind_create_time' => array(
|
||
'columns' => array('create_time'),
|
||
),
|
||
),
|
||
'comment' => '面单号表',
|
||
'engine' => 'innodb',
|
||
'version' => '$Rev: $',
|
||
); |