mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
85 lines
1.9 KiB
PHP
85 lines
1.9 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_objects']=array (
|
|
'columns' =>
|
|
array (
|
|
'obj_id' =>
|
|
array (
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'editable' => false,
|
|
),
|
|
'order_bn' =>
|
|
array (
|
|
'type' => 'varchar(32)',
|
|
'required' => true,
|
|
'default' => 0,
|
|
'editable' => false,
|
|
),
|
|
'obj_type' =>
|
|
array (
|
|
'type' => 'varchar(50)',
|
|
'default' => '',
|
|
'required' => true,
|
|
'editable' => false,
|
|
),
|
|
'goods_id' =>
|
|
array (
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'default' => 0,
|
|
'editable' => false,
|
|
),
|
|
'bn' =>
|
|
array (
|
|
'type' => 'varchar(40)',
|
|
'editable' => false,
|
|
'is_title' => true,
|
|
),
|
|
'name' =>
|
|
array (
|
|
'type' => 'varchar(200)',
|
|
'editable' => false,
|
|
),
|
|
'price' =>
|
|
array (
|
|
'type' => 'money',
|
|
'default' => '0',
|
|
'required' => true,
|
|
'editable' => false,
|
|
),
|
|
'quantity' =>
|
|
array (
|
|
'type' => 'number',
|
|
'default' => 1,
|
|
'required' => true,
|
|
'editable' => false,
|
|
),
|
|
'pmt_price' =>
|
|
array (
|
|
'type' => 'money',
|
|
'default' => '0',
|
|
|
|
'editable' => false,
|
|
),
|
|
),
|
|
'comment' => '订单商品对象表(弃用)',
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: 40912 $',
|
|
); |