<?php
declare (strict_types = 1);

namespace app\index\model;

use app\common\model\AgentEnterpriseSizeTypeBaseModel;

/**
 * 代理商企业规模类型模型
 * @mixin \think\Model
 */
class AgentEnterpriseSizeTypeModel extends AgentEnterpriseSizeTypeBaseModel
{
    // 所属语言范围查询
    public function scopeLanguage($query, $language)
    {
        $query->where('language_id', '=', $language);
    }
}
