'float', 'delivery_man_id'=>'integer', 'withdrawal_method_id'=>'integer', 'approved'=>'integer', 'admin_id'=>'integer', 'vendor_id'=>'integer', ]; public function vendor(){ return $this->belongsTo(Vendor::class); } public function method(){ return $this->belongsTo(WithdrawalMethod::class,'withdrawal_method_id'); } public function deliveryman(){ return $this->belongsTo(DeliveryMan::class); } protected static function booted() { static::addGlobalScope(new ZoneScope); } }