<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class AgentRefundOrder extends Model
{
    use HasFactory;

    public $fillable = ["admin_id", "order_id", "trade_no", "refund_trade_no", "total_fee", "refund_fee", "is_hook","err_msg","remark"];

    public function admin()
    {
        return $this->belongsTo(Admin::class, 'admin_id', 'id');
    }
}
