CourseOffering class
- Inheritance
-
- Implemented types
-
Constructors
-
CourseOffering({required int id, DateTime? fetchedAt, required int course, required int semester, required String number, int? phase, CourseType? courseType, String? status, String? language, String? syllabusId, DateTime? syllabusUpdatedAt, int? enrolled, int? withdrawn, String? objective, String? weeklyPlan, String? evaluation, String? textbooks, })
-
const
-
CourseOffering.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
-
factory
Properties
-
course
→ int
-
Reference to the course definition.
final
-
courseType
→ CourseType?
-
Course type for graduation credit requirements (課程標準).
final
-
enrolled
→ int?
-
Number of enrolled students (人).
final
-
evaluation
→ String?
-
Evaluation and grading policy (評量方式與標準).
final
-
fetchedAt
→ DateTime?
-
Timestamp of when complete data was last fetched from the server.
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
id
→ int
-
Auto-incrementing primary key.
final
-
language
→ String?
-
Language of instruction (e.g., "英語").
final
-
number
→ String
-
Unique course offering number (e.g., "313146", "352902").
final
-
objective
→ String?
-
Course objective/outline (課程大綱).
final
-
phase
→ int?
-
Course sequence phase/stage number (階段, e.g., "1", "2").
final
-
System-generated remarks about this offering (備註).
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
semester
→ int
-
Reference to the semester when this course is offered.
final
-
status
→ String?
-
Enrollment status for special cases (e.g., "撤選" for withdrawal).
final
-
syllabusId
→ String?
-
Syllabus ID for fetching detailed syllabus information.
final
-
Teacher-authored remarks from the syllabus page (備註).
final
-
syllabusUpdatedAt
→ DateTime?
-
When the syllabus was last updated (最後更新時間).
final
-
textbooks
→ String?
-
Textbooks and reference materials (使用教材、參考書目或其他).
final
-
weeklyPlan
→ String?
-
Weekly plan describing topics covered each week (課程進度).
final
-
withdrawn
→ int?
-
Number of withdrawn students (撤).
final
Methods
-
copyWith({int? id, Value<DateTime?> fetchedAt = const Value.absent(), int? course, int? semester, String? number, Value<int?> phase = const Value.absent(), Value<CourseType?> courseType = const Value.absent(), Value<String?> status = const Value.absent(), Value<String?> language = const Value.absent(), Value<String?> syllabusId = const Value.absent(), Value<DateTime?> syllabusUpdatedAt = const Value.absent(), Value<int?> enrolled = const Value.absent(), Value<int?> withdrawn = const Value.absent(), Value<String?> objective = const Value.absent(), Value<String?> weeklyPlan = const Value.absent(), Value<String?> evaluation = const Value.absent(), Value<String?> textbooks = const Value.absent(), })
→ CourseOffering
-
-
copyWithCompanion(CourseOfferingsCompanion data)
→ CourseOffering
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toColumns(bool nullToAbsent)
→ Map<String, Expression<Object>>
-
Converts this object into a map of column names to expressions to insert
or update.
override
-
toCompanion(bool nullToAbsent)
→ CourseOfferingsCompanion
-
-
toJson({ValueSerializer? serializer})
→ Map<String, dynamic>
-
Converts this object into a representation that can be encoded with
json. The serializer can be used to configure how individual values
will be encoded. By default, DriftRuntimeOptions.defaultSerializer will
be used. See ValueSerializer.defaults for details.
override
-
toJsonString({ValueSerializer? serializer})
→ String
-
Converts this object into a json representation. The
serializer can be
used to configure how individual values will be encoded. By default,
DriftRuntimeOptions.defaultSerializer will be used. See
ValueSerializer.defaults for details.
inherited
-
toString()
→ String
-
A string representation of this object.
override