mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
110 lines
2.9 KiB
PHP
110 lines
2.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['bill_fee_item']=array (
|
|
'columns' =>
|
|
array (
|
|
'fee_item_id' =>
|
|
array (
|
|
'type' => 'int unsigned',
|
|
'required' => true,
|
|
'pkey' => true,
|
|
'extra' => 'auto_increment',
|
|
'editable' => false,
|
|
),
|
|
'fee_type_id' =>
|
|
array (
|
|
'type' => 'int',
|
|
'required' => true,
|
|
'editable' => false,
|
|
'comment' => '费用类ID',
|
|
),
|
|
'fee_item' =>
|
|
array (
|
|
'type' => 'varchar(255)',
|
|
'required' => true,
|
|
'editable' => false,
|
|
'comment' => '费用项', 'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filtertype' => true,
|
|
'is_title' => true,
|
|
),
|
|
'inlay' =>
|
|
array (
|
|
'type' => 'bool',
|
|
'default'=>'false',
|
|
'comment'=>'是否为内置(内置不可删除)',
|
|
'required' => true,
|
|
'editable' => false,
|
|
),
|
|
'channel' => array(
|
|
'type' => 'varchar(20)',
|
|
'label' => '业务渠道',
|
|
'in_list' => true,
|
|
'filterdefault' => true,
|
|
),
|
|
'related_order' => array(
|
|
'type' => 'bool',
|
|
'label' => '是否与订单相关',
|
|
'default' => 'false',
|
|
'in_list' => true,
|
|
'filtertype' => true,
|
|
),
|
|
'createtime' => array(
|
|
'type' => 'time',
|
|
'label' => '创建时间',
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
),
|
|
'last_modified' => array(
|
|
'type' => 'last_modify',
|
|
'label' => '最后更新时间',
|
|
'in_list' => true,
|
|
),
|
|
'memo' => array(
|
|
'type' => 'text',
|
|
'label' => '备注',
|
|
),
|
|
'fee_item_code' => array(
|
|
'type' => 'varchar(50)',
|
|
'label' => '科目编号',
|
|
'default_in_list' => true,
|
|
'in_list' => true,
|
|
'filtertype' => true,
|
|
),
|
|
'outer_account_id' => array(
|
|
'type' => 'varchar(32)',
|
|
'label' => '外部科目ID',
|
|
),
|
|
'delete' =>
|
|
array (
|
|
'type' => 'bool',
|
|
'default'=>'false',
|
|
'comment'=>'是否删除',
|
|
'required' => true,
|
|
'editable' => false,
|
|
),
|
|
|
|
),
|
|
'index' => array(
|
|
'idx_code_channel' => array('columns' => array('fee_item_code','channel'),'prefix' => 'unique'),
|
|
'idx_outer_account_id' => array('columns' => array('outer_account_id')),
|
|
),
|
|
'comment' => '费用项',
|
|
'engine' => 'innodb',
|
|
'version' => '$Rev: $',
|
|
); |