관리-도구
편집 파일: UserInterest.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class UserInterest extends Model { use HasFactory; protected $guarded = []; protected $table="user_interests"; public function payment() { return $this->belongsTo(Payment::class)->withDefault(); } public function user() { return $this->belongsTo(User::class)->withDefault(); } }