<?php

namespace App\Models;

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

class Service extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'slug',
        'description',
        'estimated_cost',
        'duration',
        'image_path',
        'is_active',
    ];

    protected $casts = [
        'estimated_cost' => 'decimal:2',
        'is_active' => 'boolean',
    ];
}
