更新统一使用 PHPDoc + PSR-19 标准注释

This commit is contained in:
技术老胡
2026-04-21 08:38:59 +08:00
parent dcd58e24ce
commit 9a16a88640
252 changed files with 9218 additions and 659 deletions

View File

@@ -10,23 +10,55 @@ use app\common\base\BaseModel;
*/
class SystemConfig extends BaseModel
{
/**
* 数据表名
*
* @var mixed
*/
protected $table = 'ma_system_config';
/**
* 主键字段名
*
* @var mixed
*/
protected $primaryKey = 'config_key';
/**
* incrementing
*
* @var mixed
*/
public $incrementing = false;
/**
* key类型
*
* @var mixed
*/
protected $keyType = 'string';
/**
* 可批量赋值字段
*
* @var mixed
*/
protected $fillable = [
'config_key',
'group_code',
'config_value',
];
/**
* 字段类型转换配置
*
* @var mixed
*/
protected $casts = [
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
}