<?php

namespace App\Models;

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

class CityPayoutSetting extends Model
{
    use HasFactory;

    protected $fillable = [
        'state',
        'city',
        'prize_percentage',
    ];

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