'integer', 'is_active' => 'boolean', ]; } public function spLetters() { return $this->hasMany(SpLetter::class, 'sp_threshold_id'); } }