mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-06-15 08:07:31 +08:00
show-exam
This commit is contained in:
@@ -35,5 +35,10 @@ class ExamUser extends NexusModel
|
||||
return $this->belongsTo(User::class, 'uid');
|
||||
}
|
||||
|
||||
public function progresses()
|
||||
{
|
||||
return $this->hasMany(ExamProgress::class, 'exam_user_id');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user