<?php

namespace App\Model;

use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
use Jenssegers\Mongodb\Eloquent\SoftDeletes;

class DealerDetailLaravel extends Eloquent {
    //
    use SoftDeletes;

	protected $connection = 'mongodb';
    protected $collection = 'dealer_detail';
	
	protected $guarded = ['_id'];


	public function dealerlaravel() {
        return $this->belongsTo('App\DealerLaravel','company_id','_id');
    }


}
