<?php

namespace App\Models;

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

class Realisation extends Model
{
    use HasFactory;

    protected $fillable = [
        'lieu',
        'type_travaux',
        'description',
        'duree_travaux',
        'client',
        'titre',
        'categorie',
        'image',
        'date_realisation',
        'ordre',
        'publie',
    ];

    protected $casts = [
        'date_realisation' => 'date',
        'publie' => 'boolean',
    ];
}
