Files
orico-official-website/app/common/model/ProductCompatBaseModel.php
jsasg 6c43f4e3f2
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
refactor: 产品兼容性相关功能
2026-08-11 17:14:13 +08:00

38 lines
929 B
PHP

<?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",
"type_id" => "int",
"part_id" => "int",
"model" => "string",
"brand_name" => "string",
"level_name" => "string",
"spec_name" => "string",
"series_name" => "string",
"capacity" => "string",
"frequency" => "string",
"sort" => "int",
"disabled" => "int",
"created_at" => "datetime",
"updated_at" => "datetime",
"deleted_at" => "datetime",
];
}