관리-도구
편집 파일: Deposit.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Deposit extends Model { use HasFactory; protected $casts = [ 'payment_proof' => 'array' ]; protected $guarded = []; public function gateway() { return $this->belongsTo(Gateway::class)->withDefault(); } public function user() { return $this->belongsTo(User::class)->withDefault(); } }