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

134 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['ome_goodsrma']=array (
'columns' =>
array (
'id' =>
array (
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => 'ID',
'width' => 110,
'hidden' => true,
'editable' => false,
'filtertype' => 'normal',
),
'goods_bn' =>
array (
'type' => 'varchar(200)',
'label' => '商品货号',
'width' => 120,
'editable' => false,
'filtertype' => 'yes',
'filterdefault' => true,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
),
'name' =>
array (
'type' => 'varchar(200)',
'required' => true,
'default' => '',
'label' => '商品名称',
'is_title' => true,
'default_in_list' => true,
'width' => 260,
'editable' => false,
'filtercustom' =>
array (
'has' => '包含',
'tequal' => '等于',
'head' => '开头等于',
'foot' => '结尾等于',
),
'in_list' => true,
),
'brand_id' =>
array (
'type' => 'table:brand@ome',
'sdfpath' => 'brand/brand_id',
'label' => '品牌',
'width' => 75,
'editable' => false,
'hidden' => true,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'yes',
'filterdefault' => true,
),
'sales_num' =>
array (
'type' => 'number',
'editable' => false,
'label' => '销量',
'filtertype' => 'normal',
'filterdefault' => true,
'in_list' => true,
),
'store' =>
array (
'type' => 'number',
'editable' => false,
'label' => '当天库存',
'filtertype' => 'normal',
'filterdefault' => true,
'in_list' => true,
),
'back_change_num' =>
array (
'type' => 'number',
'editable' => false,
'label' => '退换货入库数量',
'in_list' => true,
),
'shop_id' =>
array (
'type' => 'table:shop@ome',
'sdfpath' => 'shop/shop_id',
'required' => false,
'pkey' => true,
'editable' => false,
'label' => '所属店铺',
),
'spec_info' =>
array (
'type' => 'varchar(250)',
'label' => '规格',
'width' => 110,
'filtertype' => 'normal',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'createtime' =>
array (
'type' => 'time',
'label' => '所属时间',
'width' => 130,
'editable' => false,
'in_list' => true,
),
),
'comment' => '商品表',
'index' =>
array (
'ind_goods_bn' =>
array (
'columns' =>
array (
0 => 'goods_bn',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: 44513 $',
);