<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class EbayShippingServiceTypeMapping extends Model {
	
	protected $table = 'ebay_shipping_service_type_mapping';
	protected $connection = 'mysql';
	
	public function ShippingServices() {
		return $this->belongsToMany('App\EbayShippingService', 'service_id', 'id');
    }
	
	protected $fillable = [
        'service_id','service_type_id','ebay_site'
    ];
}
