|bool */ protected $guarded = ['id']; /** * Get the emotion records associated with the primary emotion. * * @return HasMany */ public function emotions() { return $this->hasMany(Emotion::class, 'emotion_primary_id'); } /** * Get the secondary records associated with the primary emotion. * * @return HasMany */ public function secondaries() { return $this->hasMany(SecondaryEmotion::class, 'emotion_primary_id'); } }