feat: 产品相关接口

This commit is contained in:
2025-01-24 17:54:04 +08:00
parent 65bd37042a
commit db489a8429
18 changed files with 787 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
/**
* 产品属性特征模型
* @mixin \think\Model
*/
class ProductAttrPropBaseModel extends BaseModel
{
// 表名
protected $name = 'product_attr_prop';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'prop_name' => 'string',
'prop_value' => 'string',
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
}