hasMany('App\Agent', 'type_id', 'id'); } }