-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎉 Initial impl POC of final exam schedule #66
the subject is taken from saved schedule and the exam's date and time is from albiruni API
- Loading branch information
Showing
9 changed files
with
1,336 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import 'package:isar/isar.dart'; | ||
|
||
part 'saved_final_exam.g.dart'; | ||
|
||
@collection | ||
class SavedFinalExam { | ||
Id? id; | ||
|
||
/// Subject course code | ||
String courseCode; | ||
|
||
/// Subject name | ||
String courseTitle; | ||
|
||
/// Exam's date and start time | ||
DateTime dateTime; | ||
|
||
/// Candidate's seat number | ||
int seatNumber; | ||
|
||
/// Exam venue | ||
String venue; | ||
|
||
/// Final exam information | ||
SavedFinalExam({ | ||
required this.courseCode, | ||
required this.courseTitle, | ||
required this.dateTime, | ||
required this.seatNumber, | ||
required this.venue, | ||
}); | ||
} |
Oops, something went wrong.