<?php namespace App\Models;


class payoutmethodfees extends GenericCentral
{

    protected $table = 'payout_method_fees';
    protected $primaryKey = 'id';
    public $module = 'payoutmethodfees';

    protected $guarded = [];
    public $timestamps = false;

    public $translatable = ['text'];

    public function __construct()
    {
        parent::__construct();

    }

    public static function querySelect()
    {

        return "  SELECT payout_method_fees.* FROM payout_method_fees  ";
    }

    public static function queryWhere()
    {

        return "  WHERE payout_method_fees.id IS NOT NULL ";
    }

    public static function queryGroup()
    {
        return "  ";
    }

    public function payout_method()
    {
        return $this->belongsTo('Yajny\Member\Models\PayoutMethods', 'payout_method_code', 'code');
    }

}
