<?php

namespace App\Models;

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

class ImportChargeSetting extends Model
{
    use HasFactory;

    protected $fillable = [
        'charge_key',
        'name',
        'currency',
        'amount',
        'type',
        'category',
        'notes',
    ];

    protected function casts(): array
    {
        return [
            'amount' => 'decimal:4',
        ];
    }
}
