<?php

namespace App\Models;

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

class BibliothequeProjet extends Model
{
    use HasFactory;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'structure_id',
        'direction_id',
        'service_id',
        'objet',
        'description',
        'niveau_mutualisation_id',
        'operateur_mutualisation_id',
        'budget',
        'impact_budgetaire',
        'imputation_budgetaire_id',
        'programmation',
        'type_calcul_gains',
        'ondam',
        'referentiel',
        'famille_id',
        'domaine_id',
        'categorie_id',
        'segment_id',
        'renouvellement_marche',
        'libelle_marche_a_renouveler',
        'numero_marche_a_renouveler',
        'libelle_nouveau_marche',
        'numero_nouveau_marche',
        'date_debut',
        'date_fin',
    ];

    /**
     * Méthode bidon juste pour que l'affichage de la vue se fasse correctement
     */
    public function etapes()
    {
        return [];
    }

}
