exam_user add status: avoid

This commit is contained in:
xiaomlove
2021-06-10 02:16:08 +08:00
parent f3417e9653
commit a0b56222b2
7 changed files with 38 additions and 1 deletions
+2
View File
@@ -10,10 +10,12 @@ class ExamUser extends NexusModel
const STATUS_NORMAL = 0;
const STATUS_FINISHED = 1;
const STATUS_AVOIDED = -1;
public static $status = [
self::STATUS_NORMAL => ['text' => 'Normal'],
self::STATUS_FINISHED => ['text' => 'Finished'],
self::STATUS_AVOIDED => ['text' => 'Avoided'],
];
const IS_DONE_YES = 1;