123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- part of 'database.dart';
- // ignore_for_file: type=lint
- class $DeviceInfoTableTable extends DeviceInfoTable
- with TableInfo<$DeviceInfoTableTable, DeviceInfo> {
- @override
- final GeneratedDatabase attachedDatabase;
- final String? _alias;
- $DeviceInfoTableTable(this.attachedDatabase, [this._alias]);
- static const VerificationMeta _usernameMeta =
- const VerificationMeta('username');
- @override
- late final GeneratedColumn<String> username = GeneratedColumn<String>(
- 'username', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _phoneBrandMeta =
- const VerificationMeta('phoneBrand');
- @override
- late final GeneratedColumn<String> phoneBrand = GeneratedColumn<String>(
- 'phone_brand', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _phoneModelMeta =
- const VerificationMeta('phoneModel');
- @override
- late final GeneratedColumn<String> phoneModel = GeneratedColumn<String>(
- 'phone_model', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _phoneReleaseMeta =
- const VerificationMeta('phoneRelease');
- @override
- late final GeneratedColumn<String> phoneRelease = GeneratedColumn<String>(
- 'phone_release', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _phoneAddressMeta =
- const VerificationMeta('phoneAddress');
- @override
- late final GeneratedColumn<String> phoneAddress = GeneratedColumn<String>(
- 'phone_address', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _bleMacMeta = const VerificationMeta('bleMac');
- @override
- late final GeneratedColumn<String> bleMac = GeneratedColumn<String>(
- 'ble_mac', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _bleNameMeta =
- const VerificationMeta('bleName');
- @override
- late final GeneratedColumn<String> bleName = GeneratedColumn<String>(
- 'ble_name', aliasedName, false,
- type: DriftSqlType.string, requiredDuringInsert: true);
- static const VerificationMeta _createdAtMeta =
- const VerificationMeta('createdAt');
- @override
- late final GeneratedColumn<int> createdAt = GeneratedColumn<int>(
- 'created_at', aliasedName, false,
- type: DriftSqlType.int, requiredDuringInsert: true);
- @override
- List<GeneratedColumn> get $columns => [
- username,
- phoneBrand,
- phoneModel,
- phoneRelease,
- phoneAddress,
- bleMac,
- bleName,
- createdAt
- ];
- @override
- String get aliasedName => _alias ?? actualTableName;
- @override
- String get actualTableName => $name;
- static const String $name = 'device_info_table';
- @override
- VerificationContext validateIntegrity(Insertable<DeviceInfo> instance,
- {bool isInserting = false}) {
- final context = VerificationContext();
- final data = instance.toColumns(true);
- if (data.containsKey('username')) {
- context.handle(_usernameMeta,
- username.isAcceptableOrUnknown(data['username']!, _usernameMeta));
- } else if (isInserting) {
- context.missing(_usernameMeta);
- }
- if (data.containsKey('phone_brand')) {
- context.handle(
- _phoneBrandMeta,
- phoneBrand.isAcceptableOrUnknown(
- data['phone_brand']!, _phoneBrandMeta));
- } else if (isInserting) {
- context.missing(_phoneBrandMeta);
- }
- if (data.containsKey('phone_model')) {
- context.handle(
- _phoneModelMeta,
- phoneModel.isAcceptableOrUnknown(
- data['phone_model']!, _phoneModelMeta));
- } else if (isInserting) {
- context.missing(_phoneModelMeta);
- }
- if (data.containsKey('phone_release')) {
- context.handle(
- _phoneReleaseMeta,
- phoneRelease.isAcceptableOrUnknown(
- data['phone_release']!, _phoneReleaseMeta));
- } else if (isInserting) {
- context.missing(_phoneReleaseMeta);
- }
- if (data.containsKey('phone_address')) {
- context.handle(
- _phoneAddressMeta,
- phoneAddress.isAcceptableOrUnknown(
- data['phone_address']!, _phoneAddressMeta));
- } else if (isInserting) {
- context.missing(_phoneAddressMeta);
- }
- if (data.containsKey('ble_mac')) {
- context.handle(_bleMacMeta,
- bleMac.isAcceptableOrUnknown(data['ble_mac']!, _bleMacMeta));
- } else if (isInserting) {
- context.missing(_bleMacMeta);
- }
- if (data.containsKey('ble_name')) {
- context.handle(_bleNameMeta,
- bleName.isAcceptableOrUnknown(data['ble_name']!, _bleNameMeta));
- } else if (isInserting) {
- context.missing(_bleNameMeta);
- }
- if (data.containsKey('created_at')) {
- context.handle(_createdAtMeta,
- createdAt.isAcceptableOrUnknown(data['created_at']!, _createdAtMeta));
- } else if (isInserting) {
- context.missing(_createdAtMeta);
- }
- return context;
- }
- @override
- Set<GeneratedColumn> get $primaryKey => {bleMac, username};
- @override
- DeviceInfo map(Map<String, dynamic> data, {String? tablePrefix}) {
- final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : '';
- return DeviceInfo(
- username: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}username'])!,
- phoneBrand: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}phone_brand'])!,
- phoneModel: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}phone_model'])!,
- phoneRelease: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}phone_release'])!,
- phoneAddress: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}phone_address'])!,
- bleMac: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}ble_mac'])!,
- bleName: attachedDatabase.typeMapping
- .read(DriftSqlType.string, data['${effectivePrefix}ble_name'])!,
- createdAt: attachedDatabase.typeMapping
- .read(DriftSqlType.int, data['${effectivePrefix}created_at'])!,
- );
- }
- @override
- $DeviceInfoTableTable createAlias(String alias) {
- return $DeviceInfoTableTable(attachedDatabase, alias);
- }
- }
- class DeviceInfo extends DataClass implements Insertable<DeviceInfo> {
- /// 登录用户名
- final String username;
- /// 登录手机品牌,如Redmi
- final String phoneBrand;
- /// 登录手机认证型号,如22120RN86C
- final String phoneModel;
- /// 登录手机版本,如14
- final String phoneRelease;
- /// 登录手机所在地址,如"北京市西城区月坛北街18号靠近物资大院"
- final String phoneAddress;
- /// 登录蓝牙mac地址
- final String bleMac;
- /// 登录蓝牙名称
- final String bleName;
- /// 日期
- final int createdAt;
- const DeviceInfo(
- {required this.username,
- required this.phoneBrand,
- required this.phoneModel,
- required this.phoneRelease,
- required this.phoneAddress,
- required this.bleMac,
- required this.bleName,
- required this.createdAt});
- @override
- Map<String, Expression> toColumns(bool nullToAbsent) {
- final map = <String, Expression>{};
- map['username'] = Variable<String>(username);
- map['phone_brand'] = Variable<String>(phoneBrand);
- map['phone_model'] = Variable<String>(phoneModel);
- map['phone_release'] = Variable<String>(phoneRelease);
- map['phone_address'] = Variable<String>(phoneAddress);
- map['ble_mac'] = Variable<String>(bleMac);
- map['ble_name'] = Variable<String>(bleName);
- map['created_at'] = Variable<int>(createdAt);
- return map;
- }
- DeviceInfoTableCompanion toCompanion(bool nullToAbsent) {
- return DeviceInfoTableCompanion(
- username: Value(username),
- phoneBrand: Value(phoneBrand),
- phoneModel: Value(phoneModel),
- phoneRelease: Value(phoneRelease),
- phoneAddress: Value(phoneAddress),
- bleMac: Value(bleMac),
- bleName: Value(bleName),
- createdAt: Value(createdAt),
- );
- }
- factory DeviceInfo.fromJson(Map<String, dynamic> json,
- {ValueSerializer? serializer}) {
- serializer ??= driftRuntimeOptions.defaultSerializer;
- return DeviceInfo(
- username: serializer.fromJson<String>(json['username']),
- phoneBrand: serializer.fromJson<String>(json['phoneBrand']),
- phoneModel: serializer.fromJson<String>(json['phoneModel']),
- phoneRelease: serializer.fromJson<String>(json['phoneRelease']),
- phoneAddress: serializer.fromJson<String>(json['phoneAddress']),
- bleMac: serializer.fromJson<String>(json['bleMac']),
- bleName: serializer.fromJson<String>(json['bleName']),
- createdAt: serializer.fromJson<int>(json['createdAt']),
- );
- }
- @override
- Map<String, dynamic> toJson({ValueSerializer? serializer}) {
- serializer ??= driftRuntimeOptions.defaultSerializer;
- return <String, dynamic>{
- 'username': serializer.toJson<String>(username),
- 'phoneBrand': serializer.toJson<String>(phoneBrand),
- 'phoneModel': serializer.toJson<String>(phoneModel),
- 'phoneRelease': serializer.toJson<String>(phoneRelease),
- 'phoneAddress': serializer.toJson<String>(phoneAddress),
- 'bleMac': serializer.toJson<String>(bleMac),
- 'bleName': serializer.toJson<String>(bleName),
- 'createdAt': serializer.toJson<int>(createdAt),
- };
- }
- DeviceInfo copyWith(
- {String? username,
- String? phoneBrand,
- String? phoneModel,
- String? phoneRelease,
- String? phoneAddress,
- String? bleMac,
- String? bleName,
- int? createdAt}) =>
- DeviceInfo(
- username: username ?? this.username,
- phoneBrand: phoneBrand ?? this.phoneBrand,
- phoneModel: phoneModel ?? this.phoneModel,
- phoneRelease: phoneRelease ?? this.phoneRelease,
- phoneAddress: phoneAddress ?? this.phoneAddress,
- bleMac: bleMac ?? this.bleMac,
- bleName: bleName ?? this.bleName,
- createdAt: createdAt ?? this.createdAt,
- );
- @override
- String toString() {
- return (StringBuffer('DeviceInfo(')
- ..write('username: $username, ')
- ..write('phoneBrand: $phoneBrand, ')
- ..write('phoneModel: $phoneModel, ')
- ..write('phoneRelease: $phoneRelease, ')
- ..write('phoneAddress: $phoneAddress, ')
- ..write('bleMac: $bleMac, ')
- ..write('bleName: $bleName, ')
- ..write('createdAt: $createdAt')
- ..write(')'))
- .toString();
- }
- @override
- int get hashCode => Object.hash(username, phoneBrand, phoneModel,
- phoneRelease, phoneAddress, bleMac, bleName, createdAt);
- @override
- bool operator ==(Object other) =>
- identical(this, other) ||
- (other is DeviceInfo &&
- other.username == this.username &&
- other.phoneBrand == this.phoneBrand &&
- other.phoneModel == this.phoneModel &&
- other.phoneRelease == this.phoneRelease &&
- other.phoneAddress == this.phoneAddress &&
- other.bleMac == this.bleMac &&
- other.bleName == this.bleName &&
- other.createdAt == this.createdAt);
- }
- class DeviceInfoTableCompanion extends UpdateCompanion<DeviceInfo> {
- final Value<String> username;
- final Value<String> phoneBrand;
- final Value<String> phoneModel;
- final Value<String> phoneRelease;
- final Value<String> phoneAddress;
- final Value<String> bleMac;
- final Value<String> bleName;
- final Value<int> createdAt;
- final Value<int> rowid;
- const DeviceInfoTableCompanion({
- this.username = const Value.absent(),
- this.phoneBrand = const Value.absent(),
- this.phoneModel = const Value.absent(),
- this.phoneRelease = const Value.absent(),
- this.phoneAddress = const Value.absent(),
- this.bleMac = const Value.absent(),
- this.bleName = const Value.absent(),
- this.createdAt = const Value.absent(),
- this.rowid = const Value.absent(),
- });
- DeviceInfoTableCompanion.insert({
- required String username,
- required String phoneBrand,
- required String phoneModel,
- required String phoneRelease,
- required String phoneAddress,
- required String bleMac,
- required String bleName,
- required int createdAt,
- this.rowid = const Value.absent(),
- }) : username = Value(username),
- phoneBrand = Value(phoneBrand),
- phoneModel = Value(phoneModel),
- phoneRelease = Value(phoneRelease),
- phoneAddress = Value(phoneAddress),
- bleMac = Value(bleMac),
- bleName = Value(bleName),
- createdAt = Value(createdAt);
- static Insertable<DeviceInfo> custom({
- Expression<String>? username,
- Expression<String>? phoneBrand,
- Expression<String>? phoneModel,
- Expression<String>? phoneRelease,
- Expression<String>? phoneAddress,
- Expression<String>? bleMac,
- Expression<String>? bleName,
- Expression<int>? createdAt,
- Expression<int>? rowid,
- }) {
- return RawValuesInsertable({
- if (username != null) 'username': username,
- if (phoneBrand != null) 'phone_brand': phoneBrand,
- if (phoneModel != null) 'phone_model': phoneModel,
- if (phoneRelease != null) 'phone_release': phoneRelease,
- if (phoneAddress != null) 'phone_address': phoneAddress,
- if (bleMac != null) 'ble_mac': bleMac,
- if (bleName != null) 'ble_name': bleName,
- if (createdAt != null) 'created_at': createdAt,
- if (rowid != null) 'rowid': rowid,
- });
- }
- DeviceInfoTableCompanion copyWith(
- {Value<String>? username,
- Value<String>? phoneBrand,
- Value<String>? phoneModel,
- Value<String>? phoneRelease,
- Value<String>? phoneAddress,
- Value<String>? bleMac,
- Value<String>? bleName,
- Value<int>? createdAt,
- Value<int>? rowid}) {
- return DeviceInfoTableCompanion(
- username: username ?? this.username,
- phoneBrand: phoneBrand ?? this.phoneBrand,
- phoneModel: phoneModel ?? this.phoneModel,
- phoneRelease: phoneRelease ?? this.phoneRelease,
- phoneAddress: phoneAddress ?? this.phoneAddress,
- bleMac: bleMac ?? this.bleMac,
- bleName: bleName ?? this.bleName,
- createdAt: createdAt ?? this.createdAt,
- rowid: rowid ?? this.rowid,
- );
- }
- @override
- Map<String, Expression> toColumns(bool nullToAbsent) {
- final map = <String, Expression>{};
- if (username.present) {
- map['username'] = Variable<String>(username.value);
- }
- if (phoneBrand.present) {
- map['phone_brand'] = Variable<String>(phoneBrand.value);
- }
- if (phoneModel.present) {
- map['phone_model'] = Variable<String>(phoneModel.value);
- }
- if (phoneRelease.present) {
- map['phone_release'] = Variable<String>(phoneRelease.value);
- }
- if (phoneAddress.present) {
- map['phone_address'] = Variable<String>(phoneAddress.value);
- }
- if (bleMac.present) {
- map['ble_mac'] = Variable<String>(bleMac.value);
- }
- if (bleName.present) {
- map['ble_name'] = Variable<String>(bleName.value);
- }
- if (createdAt.present) {
- map['created_at'] = Variable<int>(createdAt.value);
- }
- if (rowid.present) {
- map['rowid'] = Variable<int>(rowid.value);
- }
- return map;
- }
- @override
- String toString() {
- return (StringBuffer('DeviceInfoTableCompanion(')
- ..write('username: $username, ')
- ..write('phoneBrand: $phoneBrand, ')
- ..write('phoneModel: $phoneModel, ')
- ..write('phoneRelease: $phoneRelease, ')
- ..write('phoneAddress: $phoneAddress, ')
- ..write('bleMac: $bleMac, ')
- ..write('bleName: $bleName, ')
- ..write('createdAt: $createdAt, ')
- ..write('rowid: $rowid')
- ..write(')'))
- .toString();
- }
- }
- abstract class _$MyDatabase extends GeneratedDatabase {
- _$MyDatabase(QueryExecutor e) : super(e);
- _$MyDatabaseManager get managers => _$MyDatabaseManager(this);
- late final $DeviceInfoTableTable deviceInfoTable =
- $DeviceInfoTableTable(this);
- late final DeviceInfoTableDao deviceInfoTableDao =
- DeviceInfoTableDao(this as MyDatabase);
- @override
- Iterable<TableInfo<Table, Object?>> get allTables =>
- allSchemaEntities.whereType<TableInfo<Table, Object?>>();
- @override
- List<DatabaseSchemaEntity> get allSchemaEntities => [deviceInfoTable];
- }
- typedef $$DeviceInfoTableTableInsertCompanionBuilder = DeviceInfoTableCompanion
- Function({
- required String username,
- required String phoneBrand,
- required String phoneModel,
- required String phoneRelease,
- required String phoneAddress,
- required String bleMac,
- required String bleName,
- required int createdAt,
- Value<int> rowid,
- });
- typedef $$DeviceInfoTableTableUpdateCompanionBuilder = DeviceInfoTableCompanion
- Function({
- Value<String> username,
- Value<String> phoneBrand,
- Value<String> phoneModel,
- Value<String> phoneRelease,
- Value<String> phoneAddress,
- Value<String> bleMac,
- Value<String> bleName,
- Value<int> createdAt,
- Value<int> rowid,
- });
- class $$DeviceInfoTableTableTableManager extends RootTableManager<
- _$MyDatabase,
- $DeviceInfoTableTable,
- DeviceInfo,
- $$DeviceInfoTableTableFilterComposer,
- $$DeviceInfoTableTableOrderingComposer,
- $$DeviceInfoTableTableProcessedTableManager,
- $$DeviceInfoTableTableInsertCompanionBuilder,
- $$DeviceInfoTableTableUpdateCompanionBuilder> {
- $$DeviceInfoTableTableTableManager(
- _$MyDatabase db, $DeviceInfoTableTable table)
- : super(TableManagerState(
- db: db,
- table: table,
- filteringComposer:
- $$DeviceInfoTableTableFilterComposer(ComposerState(db, table)),
- orderingComposer:
- $$DeviceInfoTableTableOrderingComposer(ComposerState(db, table)),
- getChildManagerBuilder: (p) =>
- $$DeviceInfoTableTableProcessedTableManager(p),
- getUpdateCompanionBuilder: ({
- Value<String> username = const Value.absent(),
- Value<String> phoneBrand = const Value.absent(),
- Value<String> phoneModel = const Value.absent(),
- Value<String> phoneRelease = const Value.absent(),
- Value<String> phoneAddress = const Value.absent(),
- Value<String> bleMac = const Value.absent(),
- Value<String> bleName = const Value.absent(),
- Value<int> createdAt = const Value.absent(),
- Value<int> rowid = const Value.absent(),
- }) =>
- DeviceInfoTableCompanion(
- username: username,
- phoneBrand: phoneBrand,
- phoneModel: phoneModel,
- phoneRelease: phoneRelease,
- phoneAddress: phoneAddress,
- bleMac: bleMac,
- bleName: bleName,
- createdAt: createdAt,
- rowid: rowid,
- ),
- getInsertCompanionBuilder: ({
- required String username,
- required String phoneBrand,
- required String phoneModel,
- required String phoneRelease,
- required String phoneAddress,
- required String bleMac,
- required String bleName,
- required int createdAt,
- Value<int> rowid = const Value.absent(),
- }) =>
- DeviceInfoTableCompanion.insert(
- username: username,
- phoneBrand: phoneBrand,
- phoneModel: phoneModel,
- phoneRelease: phoneRelease,
- phoneAddress: phoneAddress,
- bleMac: bleMac,
- bleName: bleName,
- createdAt: createdAt,
- rowid: rowid,
- ),
- ));
- }
- class $$DeviceInfoTableTableProcessedTableManager extends ProcessedTableManager<
- _$MyDatabase,
- $DeviceInfoTableTable,
- DeviceInfo,
- $$DeviceInfoTableTableFilterComposer,
- $$DeviceInfoTableTableOrderingComposer,
- $$DeviceInfoTableTableProcessedTableManager,
- $$DeviceInfoTableTableInsertCompanionBuilder,
- $$DeviceInfoTableTableUpdateCompanionBuilder> {
- $$DeviceInfoTableTableProcessedTableManager(super.$state);
- }
- class $$DeviceInfoTableTableFilterComposer
- extends FilterComposer<_$MyDatabase, $DeviceInfoTableTable> {
- $$DeviceInfoTableTableFilterComposer(super.$state);
- ColumnFilters<String> get username => $state.composableBuilder(
- column: $state.table.username,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get phoneBrand => $state.composableBuilder(
- column: $state.table.phoneBrand,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get phoneModel => $state.composableBuilder(
- column: $state.table.phoneModel,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get phoneRelease => $state.composableBuilder(
- column: $state.table.phoneRelease,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get phoneAddress => $state.composableBuilder(
- column: $state.table.phoneAddress,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get bleMac => $state.composableBuilder(
- column: $state.table.bleMac,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<String> get bleName => $state.composableBuilder(
- column: $state.table.bleName,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- ColumnFilters<int> get createdAt => $state.composableBuilder(
- column: $state.table.createdAt,
- builder: (column, joinBuilders) =>
- ColumnFilters(column, joinBuilders: joinBuilders));
- }
- class $$DeviceInfoTableTableOrderingComposer
- extends OrderingComposer<_$MyDatabase, $DeviceInfoTableTable> {
- $$DeviceInfoTableTableOrderingComposer(super.$state);
- ColumnOrderings<String> get username => $state.composableBuilder(
- column: $state.table.username,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get phoneBrand => $state.composableBuilder(
- column: $state.table.phoneBrand,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get phoneModel => $state.composableBuilder(
- column: $state.table.phoneModel,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get phoneRelease => $state.composableBuilder(
- column: $state.table.phoneRelease,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get phoneAddress => $state.composableBuilder(
- column: $state.table.phoneAddress,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get bleMac => $state.composableBuilder(
- column: $state.table.bleMac,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<String> get bleName => $state.composableBuilder(
- column: $state.table.bleName,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- ColumnOrderings<int> get createdAt => $state.composableBuilder(
- column: $state.table.createdAt,
- builder: (column, joinBuilders) =>
- ColumnOrderings(column, joinBuilders: joinBuilders));
- }
- class _$MyDatabaseManager {
- final _$MyDatabase _db;
- _$MyDatabaseManager(this._db);
- $$DeviceInfoTableTableTableManager get deviceInfoTable =>
- $$DeviceInfoTableTableTableManager(_db, _db.deviceInfoTable);
- }
|