All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s
27 lines
479 B
PHP
27 lines
479 B
PHP
<?php
|
|
declare (strict_types = 1);
|
|
|
|
namespace app\common\model;
|
|
|
|
use think\Model;
|
|
|
|
/**
|
|
* 产品兼容性 - 兼容型号模型
|
|
* @mixin \think\Model
|
|
*/
|
|
class ProductCompatModelsBaseModel extends Model
|
|
{
|
|
// 表名
|
|
protected $name = "product_compat_models";
|
|
|
|
// 主键
|
|
protected $pk = "id";
|
|
|
|
// 字段信息
|
|
protected $schema = [
|
|
"id" => "int",
|
|
"compat_id" => "int",
|
|
"compatible_model" => "string",
|
|
];
|
|
}
|