CourseOfferingsCompanion class
Constructors
-
CourseOfferingsCompanion({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String?> courseCode = const Value.absent(), Value<int> semester = const Value.absent(), Value<String?> number = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), Value<double?> credits = const Value.absent(), Value<int?> hours = const Value.absent(), 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(), })
-
const
-
CourseOfferingsCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String?> courseCode = const Value.absent(), required int semester, Value<String?> number = const Value.absent(), required String nameZh, Value<String?> nameEn = const Value.absent(), Value<double?> credits = const Value.absent(), Value<int?> hours = const Value.absent(), 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(), })
-
Methods
-
copyWith({Value<int>? id, Value<DateTime?>? fetchedAt, Value<String?>? courseCode, Value<int>? semester, Value<String?>? number, Value<String>? nameZh, Value<String?>? nameEn, Value<double?>? credits, Value<int?>? hours, Value<int?>? phase, Value<CourseType?>? courseType, Value<String?>? status, Value<String?>? language, Value<String?>? syllabusId, Value<DateTime?>? syllabusUpdatedAt, Value<int?>? enrolled, Value<int?>? withdrawn, Value<String?>? objective, Value<String?>? weeklyPlan, Value<String?>? evaluation, Value<String?>? textbooks, })
→ CourseOfferingsCompanion
-
-
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
-
toString()
→ String
-
A string representation of this object.
override
Static Methods
-
custom({Expression<int>? id, Expression<DateTime>? fetchedAt, Expression<String>? courseCode, Expression<int>? semester, Expression<String>? number, Expression<String>? nameZh, Expression<String>? nameEn, Expression<double>? credits, Expression<int>? hours, Expression<int>? phase, Expression<String>? courseType, Expression<String>? status, Expression<String>? language, Expression<String>? syllabusId, Expression<DateTime>? syllabusUpdatedAt, Expression<int>? enrolled, Expression<int>? withdrawn, Expression<String>? objective, Expression<String>? weeklyPlan, Expression<String>? evaluation, Expression<String>? textbooks, })
→ Insertable<CourseOffering>
-