mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-22 18:35:35 +08:00
89 lines
2.4 KiB
PHP
89 lines
2.4 KiB
PHP
<?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: $'
|
||
);
|