TeacherOfficeHoursCompanion class

Inheritance

Constructors

TeacherOfficeHoursCompanion({Value<int> id = const Value.absent(), Value<int> teacher = const Value.absent(), Value<DayOfWeek> dayOfWeek = const Value.absent(), Value<int> startHour = const Value.absent(), Value<int> startMinute = const Value.absent(), Value<int> endHour = const Value.absent(), Value<int> endMinute = const Value.absent()})
const
TeacherOfficeHoursCompanion.insert({Value<int> id = const Value.absent(), required int teacher, required DayOfWeek dayOfWeek, required int startHour, required int startMinute, required int endHour, required int endMinute})

Properties

dayOfWeek Value<DayOfWeek>
final
endHour Value<int>
final
endMinute Value<int>
final
hashCode int
The hash code for this object.
no setterinherited
id Value<int>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startHour Value<int>
final
startMinute Value<int>
final
teacher Value<int>
final

Methods

copyWith({Value<int>? id, Value<int>? teacher, Value<DayOfWeek>? dayOfWeek, Value<int>? startHour, Value<int>? startMinute, Value<int>? endHour, Value<int>? endMinute}) TeacherOfficeHoursCompanion
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<int>? teacher, Expression<int>? dayOfWeek, Expression<int>? startHour, Expression<int>? startMinute, Expression<int>? endHour, Expression<int>? endMinute}) Insertable<TeacherOfficeHour>