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

91 lines
2.9 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['operation'] = array(
'columns' => array(
'operation_id' => array(
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'tgstockcost_cost' => array(
'type' => 'char(10)',
'required' => true,
'editable' => false,
'comment' => '存货计价法',
),
'tgstockcost_get_value_type' => array(
'type' => 'char(10)',
'editable' => false,
'comment' => '盘点/调账成本取值',
),
'tgstockcost_return_cost' => array(
'type' => 'char(10)',
'editable' => false,
'comment' => '退货成本取值',
),
'tgstockcost_branch_cost' => array(
'type' => 'char(10)',
'editable' => false,
'comment' => '仓库成本计算方式',
),
'install_time' => array(
'type' => 'time',
'required' => true,
'editable' => false,
'comment' => '安装时间',
),
'end_time' => array(
'type' => 'time',
'editable' => false,
'comment' => '结束时间',
),
'op_id' => array(
'type' => 'table:account@pam',
'editable' => false,
),
'op_name' => array(
'type' => 'varchar(30)',
'editable' => false,
),
'operate_time' => array(
'type' => 'time',
'required' => true,
'editable' => false,
'comment' => '操作时间',
),
'memo' => array(
'type' => 'text',
'editable' => false,
),
'status' => array(
'type' => array(
'0' => '历史成本状态',
'1' => '当前成本状态',
),
'label' => '当前成本或历史成本的标识',
),
'type' => array(
'type' => array(
'1' => '成本设置变更',
'2' => '成本设置期初',
),
'label' => '日志类型',
'default' => '1',
),
),
'index' => array(
'idx_install_time' => array('columns' => array('install_time')),
'idx_end_time' => array('columns' => array('end_time')),
'status' => array('columns' => array('status')),
),
'comment' => '成本配置信息表',
'engine' => 'innodb',
'version' => '$Rev: $',
);