refactor: banner新增相关分类数据字段
This commit is contained in:
22
app/common/model/SysBannerProdCateMappingBaseModel.php
Normal file
22
app/common/model/SysBannerProdCateMappingBaseModel.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* banner与产品分类关联表模型
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class SysBannerProdCateMappingBaseModel extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'sys_banner_prod_cate_mapping';
|
||||
|
||||
// 字段信息
|
||||
protected $schema = [
|
||||
'banner_item_id' => 'int',
|
||||
'product_category_id' => 'int',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user