<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

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

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

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