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

141 lines
3.0 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['goods_cat']=array (
'columns' =>
array (
'cat_id' =>
array (
'type' => 'number',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'label' => '分类ID',
'width' => 110,
'editable' => false,
'in_list' => true,
'default_in_list' => true,
),
'parent_id' =>
array (
'type' => 'number',
'label' => '分类ID',
'width' => 110,
'editable' => false,
'in_list' => true,
'parent_id'=>true,
),
'cat_path' =>
array (
'type' => 'varchar(100)',
'default' => ',',
'label' => '分类路径(从根至本结点的路径,逗号分隔,首部有逗号)',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'is_leaf' =>
array (
'type' => 'bool',
'required' => true,
'default' => 'false',
'label' => '是否叶子结点truefalse',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'type_id' =>
array (
'type' => 'mediumint',
'label' => '类型序号',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'cat_name' =>
array (
'type' => 'varchar(100)',
'required' => true,
'is_title' => true,
'default' => '',
'label' => '分类名称',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'disabled' =>
array (
'type' => 'bool',
'default' => 'false',
'required' => true,
'label' => '是否屏蔽truefalse',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'p_order' =>
array (
'type' => 'number',
'label' => '排序',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'goods_count' =>
array (
'type' => 'number',
'label' => '商品数',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'tabs' =>
array (
'type' => 'longtext',
'editable' => false,
),
'finder' =>
array (
'type' => 'longtext',
'label' => '渐进式筛选容器',
'width' => 110,
'editable' => false,
'in_list' => true,
),
'addon' =>
array (
'type' => 'longtext',
'editable' => false,
),
'child_count' =>
array (
'type' => 'number',
'default' => 0,
'required' => true,
'editable' => false,
),
),
'comment' => '类别属性值有限表',
'index' =>
array (
'ind_cat_path' =>
array (
'columns' =>
array (
0 => 'cat_path',
),
),
'ind_disabled' =>
array (
'columns' =>
array (
0 => 'disabled',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: 41329 $',
);