Files
ntonpower/app/api/model/PlatformLanguage.php
2026-10-14 14:00:29 +08:00

28 lines
517 B
PHP

<?php
namespace app\api\model;
/**
* 平台语言表模型
* @mixin \think\Model
*/
class PlatformLanguage extends BaseModel
{
protected $schema = [
'id' =>'int',
'platform_id' =>'int',
'language_id' =>'int',
'create_time' =>'int',
'update_time' =>'int',
];
/**
* 平台-语言包关联模型
* @return \think\model\relation\BelongsTo
*/
public function getLanguage()
{
return $this->belongsTo(Language::class);
}
}