'integer', ]; /** * 그룹 관계 */ public function group(): BelongsTo { return $this->belongsTo(NotificationSettingGroup::class, 'group_id'); } /** * Scope: 정렬순 */ public function scopeOrdered($query) { return $query->orderBy('sort_order'); } }