<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

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