<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PaymentMethod extends Model
{
    protected $fillable = ['name', 'code', 'type', 'is_active', 'display_order'];

    protected $casts = ['is_active' => 'boolean'];

    public function payments() { return $this->hasMany(Payment::class); }
}
