UsersCompanion class

Inheritance

Constructors

UsersCompanion({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<String> studentId = const Value.absent(), Value<String> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), Value<DateTime?> dateOfBirth = const Value.absent(), Value<String?> programZh = const Value.absent(), Value<String?> programEn = const Value.absent(), Value<String?> departmentZh = const Value.absent(), Value<String?> departmentEn = const Value.absent(), Value<String> avatarFilename = const Value.absent(), Value<String> email = const Value.absent(), Value<int?> passwordExpiresInDays = const Value.absent()})
const
UsersCompanion.insert({Value<int> id = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), required String studentId, required String nameZh, Value<String?> nameEn = const Value.absent(), Value<DateTime?> dateOfBirth = const Value.absent(), Value<String?> programZh = const Value.absent(), Value<String?> programEn = const Value.absent(), Value<String?> departmentZh = const Value.absent(), Value<String?> departmentEn = const Value.absent(), required String avatarFilename, required String email, Value<int?> passwordExpiresInDays = const Value.absent()})

Properties

avatarFilename Value<String>
final
dateOfBirth Value<DateTime?>
final
departmentEn Value<String?>
final
departmentZh Value<String?>
final
email 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
passwordExpiresInDays Value<int?>
final
programEn Value<String?>
final
programZh Value<String?>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
studentId Value<String>
final

Methods

copyWith({Value<int>? id, Value<DateTime?>? fetchedAt, Value<String>? studentId, Value<String>? nameZh, Value<String?>? nameEn, Value<DateTime?>? dateOfBirth, Value<String?>? programZh, Value<String?>? programEn, Value<String?>? departmentZh, Value<String?>? departmentEn, Value<String>? avatarFilename, Value<String>? email, Value<int?>? passwordExpiresInDays}) UsersCompanion
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>? studentId, Expression<String>? nameZh, Expression<String>? nameEn, Expression<DateTime>? dateOfBirth, Expression<String>? programZh, Expression<String>? programEn, Expression<String>? departmentZh, Expression<String>? departmentEn, Expression<String>? avatarFilename, Expression<String>? email, Expression<int>? passwordExpiresInDays}) Insertable<User>