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

89 lines
2.4 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['task_skus'] = array(
'comment' => '活动任务货品信息',
'columns' => array(
'sid' => array(
'type' => 'mediumint(8) unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => 'sid',
'comment' => ''
),
'task_id' => array(
'type' => 'table:task@inventorydepth',
'required' => true,
'comment' => '活动名称',
),
'shop_id' => array(
'type' => 'table:shop@ome',
'required' => true,
'comment' => app::get('inventorydepth')->_('店铺ID'),
'label' => app::get('inventorydepth')->_('前端店铺'),
'in_list' => true,
),
'product_name' => array(
'type' => 'varchar(255)',
'required' => true,
'label' => '货号名称',
'in_list' => true,
'default_in_list' => true,
'comment' => ''
),
'product_bn' => array(
'type' => 'varchar(30)',
'required' => false,
'label' => '店铺货号',
'in_list' => true,
'filterdefault' => true,
'filtertype' => 'normal',
'order' => 60,
'searchtype' => 'has',
),
'product_id' =>
array (
'type' => 'table:products@ome',
'required' => true,
'default' => 0,
'editable' => false,
),
'product_type' => array(
'type' => array(
'product' => '普通',
'pkg' => '捆绑',
),
'default' => 'product',
'label' => '商品类型',
'in_list' => true,
'filterdefault' => true,
'filtertype' => true,
'order' => 10
),
),
'index' =>
array (
'ind_product_bn' =>
array (
'columns' =>
array (
0 => 'product_bn',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: $'
);