<?php

namespace App\Models;

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

class FinancialCoefficient extends Model
{
    use HasFactory;

    protected $fillable = [
        'coefficient_group',
        'code',
        'title',
        'value',
        'meta',
        'is_active',
        'sort_order',
    ];

    protected $casts = [
        'value' => 'decimal:4',
        'meta' => 'array',
        'is_active' => 'boolean',
    ];
}
