mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
locale + exam assign and checkout cronjob
This commit is contained in:
@@ -4,7 +4,7 @@ namespace App\Models;
|
||||
|
||||
class ExamUser extends NexusModel
|
||||
{
|
||||
protected $fillable = ['exam_id', 'uid', 'status', 'progress', 'begin', 'end'];
|
||||
protected $fillable = ['exam_id', 'uid', 'status', 'progress', 'begin', 'end', 'is_done'];
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
@@ -16,6 +16,10 @@ class ExamUser extends NexusModel
|
||||
self::STATUS_FINISHED => ['text' => 'Finished'],
|
||||
];
|
||||
|
||||
const IS_DONE_YES = 1;
|
||||
const IS_DONE_NO = 0;
|
||||
|
||||
|
||||
protected $casts = [
|
||||
'progress' => 'json'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user