<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LeaveType extends Model
{
    protected $fillable = [
        'name',
        'description',
        'is_paid',
        'deduction_percentage',
    ];

    protected $casts = [
        'is_paid' => 'boolean',
        'deduction_percentage' => 'decimal:2',
    ];
}
