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

65 lines
1.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['ar_items'] = array(
'columns' => array(
'item_id' => array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'ar_id' => array(
'type' => 'table:ar@finance',
'required' => true,
'editable' => false,
),
'bn' => array(
'type' => 'varchar(255)',
'editable' => false,
'is_title' => true,
'comment' => '货品编码',
),
'name' => array(
'type' => 'varchar(200)',
'editable' => false,
'comment' => '货品名称',
),
'num' => array(
'type' => 'number',
'default' => 1,
'required' => true,
'editable' => false,
'comment' => '数量',
),
'money' => array(
'type' => 'money',
'default' => 0,
'required' => true,
'editable' => false,
'comment' => '金额',
),
'actually_money' => array(
'type' => 'money',
//'required' => true,
'label' => '客户实付',
'width' => 65,
'default' => 0,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'order' => 13,
),
),
'index' => array (
'ind_bn' => array ('columns' => array ('bn')),
),
'comment' => '销售应收单明细',
'engine' => 'innodb',
'version' => '$Rev: $',
);