<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Aptitude extends Model
{
    /**
     * The "type" of the auto-incrementing ID.
     *
     * @var string
     */
    protected $keyType = 'integer';



    /**
     * @var array
     */
    protected $fillable = ['description','statut','created_at', 'updated_at'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
     */
    /*public function filieres()
    {
        return $this->belongsToMany('App\Filiere');
    }*/

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
     */
    public function domaines()
    {
        return $this->belongsToMany('App\Domaine');
    }
}
