feat: 产品相关接口
This commit is contained in:
23
app/common/model/ProductSkuAttrBaseModel.php
Normal file
23
app/common/model/ProductSkuAttrBaseModel.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* 产品sku属性模型
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class ProductSkuAttrBaseModel extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'product_sku_attr';
|
||||
|
||||
// 字段信息
|
||||
protected $schema = [
|
||||
'sku_id' => 'int',
|
||||
'attr_id' => 'int',
|
||||
'prop_id' => 'int',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user