fix : _ide_helper.php 헬퍼 추가

- 개발 보조 기능
This commit is contained in:
2025-08-21 09:50:15 +09:00
parent 05745ee338
commit 3707b53ffc
53 changed files with 455 additions and 56 deletions

View File

@@ -6,7 +6,11 @@
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Traits\BelongsToTenant;
use App\Traits\ModelTrait;
use App\Models\Members\User;
/**
* @mixin IdeHelperDepartmentUser
*/
class DepartmentUser extends Model
{
use SoftDeletes, BelongsToTenant, ModelTrait;
@@ -33,6 +37,6 @@ public function department()
public function user()
{
// User 네임스페이스가 다르면 여기만 맞춰줘.
return $this->belongsTo(\App\Models\User::class, 'user_id');
return $this->belongsTo(User::class, 'user_id');
}
}