27 行
1.0 KiB
PHP
可执行文件
27 行
1.0 KiB
PHP
可执行文件
<?php
|
|
|
|
namespace Retail\Model;
|
|
|
|
//[1.7.90]
|
|
|
|
/**
|
|
* 标签库
|
|
* Class LabelInventoryModel
|
|
* @package Retail\Model
|
|
*/
|
|
class LabelInventoryModel extends \Common\Model\BaseModel
|
|
{
|
|
protected $tableName = 'label_inventory';
|
|
protected $fields = array(
|
|
'id', //int(11) NOT NULL AUTO_INCREMENT,
|
|
'name', //varchar(50) DEFAULT '' COMMENT '标签名',
|
|
'industry_id', //int(11) DEFAULT '0' COMMENT '行业id',
|
|
'store_id', //int(11) DEFAULT 0 COMMENT '门店id',
|
|
'merchant_id', //int(11) DEFAULT 0 COMMENT '商户id',
|
|
'add_time', //int(11) DEFAULT 0 COMMENT '添加时间',
|
|
'status', //tinyint(1) DEFAULT 1 COMMENT '状态 1正常 2删除',
|
|
'operate_id', //int(11) DEFAULT 0 COMMENT '添加人员id',
|
|
'operate_type', //tinyint(11) DEFAULT 1 COMMENT '添加类型 1门店 2商户',
|
|
);
|
|
}
|