<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class AgentNo extends Model{ use SoftDeletes; protected $connection = 'mysql_w'; protected $table='agent_no'; protected $guarded=[]; }