<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ZbsEnroll extends Model{ protected $connection = 'mysql_z'; protected $table='enroll'; protected $guarded=[]; }