<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ApplyCustomerDetail extends Model { protected $connection = 'mysql_app'; protected $table='customer_detail'; }