ClassroomsCompanion class

Inheritance

Constructors

ClassroomsCompanion({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String> code = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent()})
const
ClassroomsCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), required String code, required String nameZh, Value<String?> nameEn = const Value.absent()})

Properties

code → Value<String>
final
fetchedAt → Value<DateTime?>
final
hashCode → int
The hash code for this object.
no setterinherited
id → Value<int>
final
nameEn → Value<String?>
final
nameZh → Value<String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Value<int>? id, Value<DateTime?>? fetchedAt, Value<String>? code, Value<String>? nameZh, Value<String?>? nameEn}) → ClassroomsCompanion
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>? code, Expression<String>? nameZh, Expression<String>? nameEn}) → Insertable<Classroom>