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

83 lines
2.0 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['order_settle'] = array(
'columns' => array(
'id' => array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => 'ID',
'width' => 110,
'hidden' => true,
'editable' => false,
),
'order_id' => array(
'type' => 'table:orders@ome',
'required' => true,
'editable' => false,
),
'type' => array(
'type' => 'varchar(200)',//佣金commission
'default' => '',
'label' => '金额类型',
'editable' => false,
'filtertype' => 'yes',
'filterdefault' => true,
),
'material_bn' => array(
'type' => 'varchar(200)',
'label' => '物料编码',
'width' => 120,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'required' => true,
'searchtype' => 'nequal',
'filtertype' => 'normal',
'filterdefault' => true,
),
'oid' => array(
'type' => 'varchar(50)',
'default' => 0,
'editable' => false,
'label' => '子订单号',
),
'real_comission' => array(
'type' => 'money',
'default' => '0.000',
'label' => '真实佣金',
'width' => 75,
),
'estimated_comission' => array(
'type' => 'money',
'default' => '0.000',
'label' => '预估佣金',
'width' => 75,
),
'commission_rate' => array(
'type' => 'money',
'default' => '0.000',
'label' => '佣金率',
'width' => 75,
),
'extend' => array(
'type' => 'serialize',
'editable' => false,
),
),
'index' => array(
'ind_order_oid' => array(
'columns' => array('order_id', 'oid'),
'prefix' => 'unique'
),
),
'comment' => '平台订单金额明细',
'engine' => 'innodb',
'version' => '$Rev: $',
'charset' => 'utf8mb4',
);