locale + exam assign and checkout cronjob

This commit is contained in:
xiaomlove
2021-04-28 19:44:48 +08:00
parent 034d1c23fb
commit 1c31f4b22d
34 changed files with 1278 additions and 90 deletions
+5
View File
@@ -123,4 +123,9 @@ class User extends Authenticatable
return $this->hasMany(ExamUser::class, 'uid');
}
public function language()
{
return $this->belongsTo(Language::class, 'lang');
}
}