mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-30 21:15:34 +08:00
150 lines
4.6 KiB
PHP
150 lines
4.6 KiB
PHP
<?php
|
|
/**
|
|
* Copyright 2012-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['order_service'] = array(
|
|
'columns' => array(
|
|
'id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
'label' => 'ID',
|
|
'width' => 110,
|
|
'hidden' => true,
|
|
'editable' => false,
|
|
),
|
|
'order_id' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'editable' => false,
|
|
'label' => '订单号',
|
|
'width' => 110,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
),
|
|
'item_oid' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '服务所属的交易订单号',
|
|
'width' => 150,
|
|
'in_list' => true,
|
|
),
|
|
'tmser_spu_code' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '支持家装类物流的类型',
|
|
'width' => 150,
|
|
'in_list' => true,
|
|
),
|
|
'sale_price' => array(
|
|
'type' => 'money',
|
|
'default' => '0.000',
|
|
'editable' => false,
|
|
'label' => '销售价',
|
|
'width' => 75,
|
|
'in_list' => true,
|
|
),
|
|
'num' => array(
|
|
'type' => 'longtext',
|
|
'editable' => false,
|
|
'label' => '购买数量',
|
|
'width' => 100,
|
|
'in_list' => true,
|
|
),
|
|
'total_fee' => array(
|
|
'type' => 'money',
|
|
'default' => '0.000',
|
|
'editable' => false,
|
|
'label' => '服务子订单总费用',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
),
|
|
'type' => array(
|
|
'type' => 'varchar(15)',
|
|
'default' => 'service',
|
|
'editable' => false,
|
|
'label' => '服务',
|
|
'width' => 100,
|
|
'in_list' => true,
|
|
),
|
|
'type_alias' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '服务别名',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
),
|
|
'title' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '商品名称',
|
|
'width' => 200,
|
|
'in_list' => true,
|
|
),
|
|
'service_id' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '服务数字id',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
),
|
|
'refund_id' => array(
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'editable' => false,
|
|
'label' => '最近退款的id',
|
|
'width' => 120,
|
|
'in_list' => true,
|
|
),
|
|
'archive_time' => array(
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'editable' => false,
|
|
'label' => '归档时间',
|
|
'width' => 130,
|
|
'in_list' => true,
|
|
'default_in_list' => true,
|
|
'comment' => '数据归档时间戳',
|
|
),
|
|
),
|
|
'index' => array(
|
|
'ind_order_id' => array(
|
|
'columns' => array(
|
|
0 => 'order_id',
|
|
),
|
|
),
|
|
'ind_archive_time' => array(
|
|
'columns' => array(
|
|
0 => 'archive_time',
|
|
),
|
|
),
|
|
'ind_id' => array(
|
|
'columns' => array(
|
|
0 => 'id',
|
|
),
|
|
),
|
|
),
|
|
'comment' => '订单服务归档表',
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: 1.0 $',
|
|
);
|