<?php

namespace App\Models\bmmodels;

use Illuminate\Database\Eloquent\Model;

class TransactionError extends Model
{
    //
    protected $connection = 'mysql_bmp';
    protected $fillable = [
        'client_pay_id',
        'error_message'
        ];
        //rlships
        public function errorPayment()
        {
            return $this->belongsTo(CustomerClientPayment::class,'client_pay_id','client_pay_id');
        }
}
