<?php

namespace App\Models;

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

class PaymentConfig extends Model
{
    use HasFactory;

    protected $fillable = [
        'payment_code', 'payment_name', 'provider', 'status', 'is_sandbox', 'supports_refund', 'settings', 'remark',
    ];

    protected $casts = [
        'is_sandbox' => 'boolean',
        'supports_refund' => 'boolean',
        'settings' => 'array',
    ];
}
