You've already forked isop-mirror
feat: implement student management features including listing, editing, and updating student data
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user