home
/
forge
/
roadtovirtuosity.com
/
app
/
Models
➕ New
📤 Upload
✎ Editing:
PaymentRecord.php
← Back
<?php namespace App\Models; use App\Models\Transaction; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class paymentRecord extends Model { use HasFactory; protected $fillable = [ 'student_id', // Tambahkan student_id ke dalam array $fillable // tambahkan properti lain yang boleh diisi secara massal di sini ]; public function user() { return $this->belongsTo(User::class, 'student_id'); } public function transactions() { return $this->hasMany(Transaction::class, 'record_id'); } }
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel