belongsTo('App\Sujet', 'sujet_id'); } /** * Get the typeVue that owns the variante. */ public function typeVue() { return $this->belongsTo('App\Typevue', 'typevue_id'); } }