관리-도구
편집 파일: ZoomCredential.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Factories\HasFactory; class ZoomCredential extends Model { use HasFactory; protected $fillable = ['instructor_id','client_id','client_secret']; function instructor(): BelongsTo { return $this->belongsTo(User::class, 'instructor_id', 'id')->withDefault(); } }