home
/
forge
/
roadtovirtuosity.com
/
app
/
Models
➕ New
📤 Upload
✎ Editing:
Tuition.php
← Back
<?php namespace App\Models; use App\Models\User; use App\Models\Admin; use App\Models\Billing; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Tuition extends Model { use HasFactory; protected $guarded = []; protected $dates = ['end_date']; public function user() { return $this->belongsTo(User::class, 'student_id'); } public function admin() { return $this->belongsTo(Admin::class, 'teacher_id'); } public function billing() { return $this->hasOne(Billing::class, 'tuition_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