'int', 'hauteur' => 'int', 'system' => 'bool', ]; /** * The sujet that belong to the format. */ public function sujets() { return $this->belongsToMany('App\Models\Sujet', 'sujets_formats', 'format_id', 'sujet_id'); } }