CourseOfferingsCompanion class

Inheritance

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?> remarks = const Value.absent(), Value<bool> inCourseTable = const Value.absent(), Value<int?> enrolled = const Value.absent(), Value<int?> withdrawn = const Value.absent(), Value<DateTime?> studentRosterFetchedAt = const Value.absent(), Value<DateTime?> materialsFetchedAt = 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?> remarks = const Value.absent(), Value<bool> inCourseTable = const Value.absent(), Value<int?> enrolled = const Value.absent(), Value<int?> withdrawn = const Value.absent(), Value<DateTime?> studentRosterFetchedAt = const Value.absent(), Value<DateTime?> materialsFetchedAt = const Value.absent()})

Properties

courseCode → Value<String?>
final
courseType → Value<CourseType?>
final
credits → Value<double?>
final
enrolled → Value<int?>
final
fetchedAt → Value<DateTime?>
final
hashCode → int
The hash code for this object.
no setterinherited
hours → Value<int?>
final
id → Value<int>
final
inCourseTable → Value<bool>
final
language → Value<String?>
final
materialsFetchedAt → Value<DateTime?>
final
nameEn → Value<String?>
final
nameZh → Value<String>
final
number → Value<String?>
final
phase → Value<int?>
final
remarks → Value<String?>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semester → Value<int>
final
status → Value<String?>
final
studentRosterFetchedAt → Value<DateTime?>
final
withdrawn → Value<int?>
final

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?>? remarks, Value<bool>? inCourseTable, Value<int?>? enrolled, Value<int?>? withdrawn, Value<DateTime?>? studentRosterFetchedAt, Value<DateTime?>? materialsFetchedAt}) → 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

Operators

operator ==(Object other) → bool
The equality operator.
inherited

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>? remarks, Expression<bool>? inCourseTable, Expression<int>? enrolled, Expression<int>? withdrawn, Expression<DateTime>? studentRosterFetchedAt, Expression<DateTime>? materialsFetchedAt}) → Insertable<CourseOffering>