mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-07 07:15:33 +08:00
162 lines
5.1 KiB
PHP
162 lines
5.1 KiB
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
$db['series'] = array(
|
||
'columns' => array(
|
||
'series_id' => array(
|
||
'type' => 'int unsigned',
|
||
'required' => true,
|
||
'pkey' => true,
|
||
'extra' => 'auto_increment',
|
||
'label' => '产品线ID',
|
||
),
|
||
'series_code' => array(
|
||
'type' => 'varchar(30)',
|
||
'label' => '产品线编码',
|
||
'is_title' => true,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'searchtype' => 'nequal',
|
||
'filtertype' => 'normal',
|
||
'filterdefault' => true,
|
||
'order' => 10,
|
||
'width' => 110,
|
||
),
|
||
'series_name' => array(
|
||
'type' => 'varchar(50)',
|
||
'label' => '产品线名称',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'searchtype' => 'nequal',
|
||
'filtertype' => 'normal',
|
||
'filterdefault' => true,
|
||
'order' => 20,
|
||
'width' => 100,
|
||
),
|
||
'description' => array(
|
||
'type' => 'text',
|
||
'label' => '产品线描述',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 30,
|
||
),
|
||
'cat_name' => array(
|
||
'type' => 'varchar(50)',
|
||
'label' => '产品线分类',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 40,
|
||
'width' => 110,
|
||
),
|
||
'status' => array(
|
||
'type' => array(
|
||
'active' => '启用',
|
||
'close' => '停用',
|
||
),
|
||
'default' => 'active',
|
||
'label' => '状态',
|
||
'filtertype' => 'yes',
|
||
'filterdefault' => true,
|
||
'in_list' => false,
|
||
'default_in_list' => false,
|
||
'order' => 60,
|
||
'width' => 60,
|
||
),
|
||
'sku_nums' => array(
|
||
'type' => 'int unsigned',
|
||
'label' => '产品数',
|
||
'default' => '0',
|
||
),
|
||
'betc_id' => array(
|
||
'type' => 'table:betc@dealer',
|
||
'label' => '所属贸易公司',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'filtertype' => 'yes',
|
||
'filterdefault' => true,
|
||
'searchtype' => 'nequal',
|
||
'order' => 50,
|
||
),
|
||
'cos_id' => array(
|
||
'type' => 'int unsigned',
|
||
'label' => '组织架构ID',
|
||
),
|
||
'remark' => array(
|
||
'label' => '备注',
|
||
'type' => 'text',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 80,
|
||
),
|
||
'op_name' => array(
|
||
'type' => 'varchar(32)',
|
||
'label' => '创建人',
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 110,
|
||
'width' => 80,
|
||
),
|
||
'at_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '创建时间',
|
||
'default' => 'CURRENT_TIMESTAMP',
|
||
'width' => 150,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 90,
|
||
),
|
||
'up_time' => array(
|
||
'type' => 'TIMESTAMP',
|
||
'label' => '更新时间',
|
||
'default' => 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP',
|
||
'width' => 150,
|
||
'in_list' => true,
|
||
'default_in_list' => true,
|
||
'order' => 100,
|
||
),
|
||
),
|
||
'index' => array(
|
||
'ind_series_code' => array(
|
||
'columns' => array(
|
||
'series_code',
|
||
),
|
||
),
|
||
'ind_series_name' => array(
|
||
'columns' => array(
|
||
'series_name',
|
||
),
|
||
),
|
||
'ind_status' => array(
|
||
'columns' => array(
|
||
'status',
|
||
),
|
||
),
|
||
'ind_betc_id' => array(
|
||
'columns' => array(
|
||
'betc_id',
|
||
),
|
||
),
|
||
'ind_cos_id' => array(
|
||
'columns' => array(
|
||
'cos_id',
|
||
),
|
||
),
|
||
'ind_at_time' => array(
|
||
'columns' => array(
|
||
'at_time',
|
||
),
|
||
),
|
||
'ind_up_time' => array(
|
||
'columns' => array(
|
||
'up_time',
|
||
),
|
||
),
|
||
),
|
||
'comment' => '产品线',
|
||
'engine' => 'innodb',
|
||
'version' => '$Rev: $',
|
||
);
|