<?php

namespace App\Models;

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

class Application extends Model
{
    use HasFactory;


    protected $fillable = [
        'libelle',
        'price',
        'disabled',
    ];

    protected $casts = [
        'disabled' => 'boolean',
    ];

    public function projects()
    {
        return $this->hasMany(Project::class);
    }
}
