feat: 新增产品兼容数据、产品兼容数据配件类型相关接口
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s

This commit is contained in:
2026-07-08 16:59:39 +08:00
parent 3717a6a34d
commit 3545b82015
12 changed files with 864 additions and 5 deletions

View File

@@ -0,0 +1,37 @@
<?php
declare(strict_types=1);
namespace app\common\model;
/**
* @mixin \think\Model
*/
class ProductCompatBaseModel extends BaseModel
{
// 表名
protected $name = "product_compat";
// 主键
protected $pk = "id";
// 字段信息
protected $schema = [
"id" => "int",
"language_id" => "int",
"part_id" => "int",
"label_name" => "string",
"brand_name" => "string",
"level_name" => "string",
"class_name" => "string",
"series_name" => "string",
"model" => "string",
"capacity" => "string",
"interface_type" => "string",
"compat_status" => "string",
"sort" => "int",
"disabled" => "int",
"created_at" => "datetime",
"updated_at" => "datetime",
"deleted_at" => "datetime",
];
}