feat: implement student management features including listing, editing, and updating student data

This commit is contained in:
dkecskes
2025-11-02 21:18:09 +01:00
parent 1057a8250c
commit 7954cdd093
8 changed files with 568 additions and 3 deletions

View File

@@ -49,4 +49,12 @@ class User extends Authenticatable
'password' => 'hashed',
];
}
/**
* Get the student data associated with the user.
*/
public function studentData()
{
return $this->hasOne(StudentData::class, 'user_id');
}
}