feat: 新增产品兼容数据、产品兼容数据配件类型相关接口
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s
This commit is contained in:
28
app/common/model/ProductCompatPartsBaseModel.php
Normal file
28
app/common/model/ProductCompatPartsBaseModel.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
/**
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class ProductCompatPartsBaseModel extends BaseModel
|
||||
{
|
||||
// 表名
|
||||
protected $name = "product_compat_parts";
|
||||
|
||||
// 主键
|
||||
protected $pk = "id";
|
||||
|
||||
// 字段信息
|
||||
protected $schema = [
|
||||
"id" => "int",
|
||||
"language_id" => "int",
|
||||
"name" => "string",
|
||||
"sort" => "int",
|
||||
"disabled" => "int",
|
||||
"created_at" => "datetime",
|
||||
"updated_at" => "datetime",
|
||||
"deleted_at" => "datetime",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user