database.g.dart 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'database.dart';
  3. // ignore_for_file: type=lint
  4. class $DeviceInfoTableTable extends DeviceInfoTable
  5. with TableInfo<$DeviceInfoTableTable, DeviceInfo> {
  6. @override
  7. final GeneratedDatabase attachedDatabase;
  8. final String? _alias;
  9. $DeviceInfoTableTable(this.attachedDatabase, [this._alias]);
  10. static const VerificationMeta _usernameMeta =
  11. const VerificationMeta('username');
  12. @override
  13. late final GeneratedColumn<String> username = GeneratedColumn<String>(
  14. 'username', aliasedName, false,
  15. type: DriftSqlType.string, requiredDuringInsert: true);
  16. static const VerificationMeta _phoneBrandMeta =
  17. const VerificationMeta('phoneBrand');
  18. @override
  19. late final GeneratedColumn<String> phoneBrand = GeneratedColumn<String>(
  20. 'phone_brand', aliasedName, false,
  21. type: DriftSqlType.string, requiredDuringInsert: true);
  22. static const VerificationMeta _phoneModelMeta =
  23. const VerificationMeta('phoneModel');
  24. @override
  25. late final GeneratedColumn<String> phoneModel = GeneratedColumn<String>(
  26. 'phone_model', aliasedName, false,
  27. type: DriftSqlType.string, requiredDuringInsert: true);
  28. static const VerificationMeta _phoneReleaseMeta =
  29. const VerificationMeta('phoneRelease');
  30. @override
  31. late final GeneratedColumn<String> phoneRelease = GeneratedColumn<String>(
  32. 'phone_release', aliasedName, false,
  33. type: DriftSqlType.string, requiredDuringInsert: true);
  34. static const VerificationMeta _phoneAddressMeta =
  35. const VerificationMeta('phoneAddress');
  36. @override
  37. late final GeneratedColumn<String> phoneAddress = GeneratedColumn<String>(
  38. 'phone_address', aliasedName, false,
  39. type: DriftSqlType.string, requiredDuringInsert: true);
  40. static const VerificationMeta _bleMacMeta = const VerificationMeta('bleMac');
  41. @override
  42. late final GeneratedColumn<String> bleMac = GeneratedColumn<String>(
  43. 'ble_mac', aliasedName, false,
  44. type: DriftSqlType.string, requiredDuringInsert: true);
  45. static const VerificationMeta _bleNameMeta =
  46. const VerificationMeta('bleName');
  47. @override
  48. late final GeneratedColumn<String> bleName = GeneratedColumn<String>(
  49. 'ble_name', aliasedName, false,
  50. type: DriftSqlType.string, requiredDuringInsert: true);
  51. static const VerificationMeta _createdAtMeta =
  52. const VerificationMeta('createdAt');
  53. @override
  54. late final GeneratedColumn<int> createdAt = GeneratedColumn<int>(
  55. 'created_at', aliasedName, false,
  56. type: DriftSqlType.int, requiredDuringInsert: true);
  57. @override
  58. List<GeneratedColumn> get $columns => [
  59. username,
  60. phoneBrand,
  61. phoneModel,
  62. phoneRelease,
  63. phoneAddress,
  64. bleMac,
  65. bleName,
  66. createdAt
  67. ];
  68. @override
  69. String get aliasedName => _alias ?? actualTableName;
  70. @override
  71. String get actualTableName => $name;
  72. static const String $name = 'device_info_table';
  73. @override
  74. VerificationContext validateIntegrity(Insertable<DeviceInfo> instance,
  75. {bool isInserting = false}) {
  76. final context = VerificationContext();
  77. final data = instance.toColumns(true);
  78. if (data.containsKey('username')) {
  79. context.handle(_usernameMeta,
  80. username.isAcceptableOrUnknown(data['username']!, _usernameMeta));
  81. } else if (isInserting) {
  82. context.missing(_usernameMeta);
  83. }
  84. if (data.containsKey('phone_brand')) {
  85. context.handle(
  86. _phoneBrandMeta,
  87. phoneBrand.isAcceptableOrUnknown(
  88. data['phone_brand']!, _phoneBrandMeta));
  89. } else if (isInserting) {
  90. context.missing(_phoneBrandMeta);
  91. }
  92. if (data.containsKey('phone_model')) {
  93. context.handle(
  94. _phoneModelMeta,
  95. phoneModel.isAcceptableOrUnknown(
  96. data['phone_model']!, _phoneModelMeta));
  97. } else if (isInserting) {
  98. context.missing(_phoneModelMeta);
  99. }
  100. if (data.containsKey('phone_release')) {
  101. context.handle(
  102. _phoneReleaseMeta,
  103. phoneRelease.isAcceptableOrUnknown(
  104. data['phone_release']!, _phoneReleaseMeta));
  105. } else if (isInserting) {
  106. context.missing(_phoneReleaseMeta);
  107. }
  108. if (data.containsKey('phone_address')) {
  109. context.handle(
  110. _phoneAddressMeta,
  111. phoneAddress.isAcceptableOrUnknown(
  112. data['phone_address']!, _phoneAddressMeta));
  113. } else if (isInserting) {
  114. context.missing(_phoneAddressMeta);
  115. }
  116. if (data.containsKey('ble_mac')) {
  117. context.handle(_bleMacMeta,
  118. bleMac.isAcceptableOrUnknown(data['ble_mac']!, _bleMacMeta));
  119. } else if (isInserting) {
  120. context.missing(_bleMacMeta);
  121. }
  122. if (data.containsKey('ble_name')) {
  123. context.handle(_bleNameMeta,
  124. bleName.isAcceptableOrUnknown(data['ble_name']!, _bleNameMeta));
  125. } else if (isInserting) {
  126. context.missing(_bleNameMeta);
  127. }
  128. if (data.containsKey('created_at')) {
  129. context.handle(_createdAtMeta,
  130. createdAt.isAcceptableOrUnknown(data['created_at']!, _createdAtMeta));
  131. } else if (isInserting) {
  132. context.missing(_createdAtMeta);
  133. }
  134. return context;
  135. }
  136. @override
  137. Set<GeneratedColumn> get $primaryKey => {bleMac, username};
  138. @override
  139. DeviceInfo map(Map<String, dynamic> data, {String? tablePrefix}) {
  140. final effectivePrefix = tablePrefix != null ? '$tablePrefix.' : '';
  141. return DeviceInfo(
  142. username: attachedDatabase.typeMapping
  143. .read(DriftSqlType.string, data['${effectivePrefix}username'])!,
  144. phoneBrand: attachedDatabase.typeMapping
  145. .read(DriftSqlType.string, data['${effectivePrefix}phone_brand'])!,
  146. phoneModel: attachedDatabase.typeMapping
  147. .read(DriftSqlType.string, data['${effectivePrefix}phone_model'])!,
  148. phoneRelease: attachedDatabase.typeMapping
  149. .read(DriftSqlType.string, data['${effectivePrefix}phone_release'])!,
  150. phoneAddress: attachedDatabase.typeMapping
  151. .read(DriftSqlType.string, data['${effectivePrefix}phone_address'])!,
  152. bleMac: attachedDatabase.typeMapping
  153. .read(DriftSqlType.string, data['${effectivePrefix}ble_mac'])!,
  154. bleName: attachedDatabase.typeMapping
  155. .read(DriftSqlType.string, data['${effectivePrefix}ble_name'])!,
  156. createdAt: attachedDatabase.typeMapping
  157. .read(DriftSqlType.int, data['${effectivePrefix}created_at'])!,
  158. );
  159. }
  160. @override
  161. $DeviceInfoTableTable createAlias(String alias) {
  162. return $DeviceInfoTableTable(attachedDatabase, alias);
  163. }
  164. }
  165. class DeviceInfo extends DataClass implements Insertable<DeviceInfo> {
  166. /// 登录用户名
  167. final String username;
  168. /// 登录手机品牌,如Redmi
  169. final String phoneBrand;
  170. /// 登录手机认证型号,如22120RN86C
  171. final String phoneModel;
  172. /// 登录手机版本,如14
  173. final String phoneRelease;
  174. /// 登录手机所在地址,如"北京市西城区月坛北街18号靠近物资大院"
  175. final String phoneAddress;
  176. /// 登录蓝牙mac地址
  177. final String bleMac;
  178. /// 登录蓝牙名称
  179. final String bleName;
  180. /// 日期
  181. final int createdAt;
  182. const DeviceInfo(
  183. {required this.username,
  184. required this.phoneBrand,
  185. required this.phoneModel,
  186. required this.phoneRelease,
  187. required this.phoneAddress,
  188. required this.bleMac,
  189. required this.bleName,
  190. required this.createdAt});
  191. @override
  192. Map<String, Expression> toColumns(bool nullToAbsent) {
  193. final map = <String, Expression>{};
  194. map['username'] = Variable<String>(username);
  195. map['phone_brand'] = Variable<String>(phoneBrand);
  196. map['phone_model'] = Variable<String>(phoneModel);
  197. map['phone_release'] = Variable<String>(phoneRelease);
  198. map['phone_address'] = Variable<String>(phoneAddress);
  199. map['ble_mac'] = Variable<String>(bleMac);
  200. map['ble_name'] = Variable<String>(bleName);
  201. map['created_at'] = Variable<int>(createdAt);
  202. return map;
  203. }
  204. DeviceInfoTableCompanion toCompanion(bool nullToAbsent) {
  205. return DeviceInfoTableCompanion(
  206. username: Value(username),
  207. phoneBrand: Value(phoneBrand),
  208. phoneModel: Value(phoneModel),
  209. phoneRelease: Value(phoneRelease),
  210. phoneAddress: Value(phoneAddress),
  211. bleMac: Value(bleMac),
  212. bleName: Value(bleName),
  213. createdAt: Value(createdAt),
  214. );
  215. }
  216. factory DeviceInfo.fromJson(Map<String, dynamic> json,
  217. {ValueSerializer? serializer}) {
  218. serializer ??= driftRuntimeOptions.defaultSerializer;
  219. return DeviceInfo(
  220. username: serializer.fromJson<String>(json['username']),
  221. phoneBrand: serializer.fromJson<String>(json['phoneBrand']),
  222. phoneModel: serializer.fromJson<String>(json['phoneModel']),
  223. phoneRelease: serializer.fromJson<String>(json['phoneRelease']),
  224. phoneAddress: serializer.fromJson<String>(json['phoneAddress']),
  225. bleMac: serializer.fromJson<String>(json['bleMac']),
  226. bleName: serializer.fromJson<String>(json['bleName']),
  227. createdAt: serializer.fromJson<int>(json['createdAt']),
  228. );
  229. }
  230. @override
  231. Map<String, dynamic> toJson({ValueSerializer? serializer}) {
  232. serializer ??= driftRuntimeOptions.defaultSerializer;
  233. return <String, dynamic>{
  234. 'username': serializer.toJson<String>(username),
  235. 'phoneBrand': serializer.toJson<String>(phoneBrand),
  236. 'phoneModel': serializer.toJson<String>(phoneModel),
  237. 'phoneRelease': serializer.toJson<String>(phoneRelease),
  238. 'phoneAddress': serializer.toJson<String>(phoneAddress),
  239. 'bleMac': serializer.toJson<String>(bleMac),
  240. 'bleName': serializer.toJson<String>(bleName),
  241. 'createdAt': serializer.toJson<int>(createdAt),
  242. };
  243. }
  244. DeviceInfo copyWith(
  245. {String? username,
  246. String? phoneBrand,
  247. String? phoneModel,
  248. String? phoneRelease,
  249. String? phoneAddress,
  250. String? bleMac,
  251. String? bleName,
  252. int? createdAt}) =>
  253. DeviceInfo(
  254. username: username ?? this.username,
  255. phoneBrand: phoneBrand ?? this.phoneBrand,
  256. phoneModel: phoneModel ?? this.phoneModel,
  257. phoneRelease: phoneRelease ?? this.phoneRelease,
  258. phoneAddress: phoneAddress ?? this.phoneAddress,
  259. bleMac: bleMac ?? this.bleMac,
  260. bleName: bleName ?? this.bleName,
  261. createdAt: createdAt ?? this.createdAt,
  262. );
  263. @override
  264. String toString() {
  265. return (StringBuffer('DeviceInfo(')
  266. ..write('username: $username, ')
  267. ..write('phoneBrand: $phoneBrand, ')
  268. ..write('phoneModel: $phoneModel, ')
  269. ..write('phoneRelease: $phoneRelease, ')
  270. ..write('phoneAddress: $phoneAddress, ')
  271. ..write('bleMac: $bleMac, ')
  272. ..write('bleName: $bleName, ')
  273. ..write('createdAt: $createdAt')
  274. ..write(')'))
  275. .toString();
  276. }
  277. @override
  278. int get hashCode => Object.hash(username, phoneBrand, phoneModel,
  279. phoneRelease, phoneAddress, bleMac, bleName, createdAt);
  280. @override
  281. bool operator ==(Object other) =>
  282. identical(this, other) ||
  283. (other is DeviceInfo &&
  284. other.username == this.username &&
  285. other.phoneBrand == this.phoneBrand &&
  286. other.phoneModel == this.phoneModel &&
  287. other.phoneRelease == this.phoneRelease &&
  288. other.phoneAddress == this.phoneAddress &&
  289. other.bleMac == this.bleMac &&
  290. other.bleName == this.bleName &&
  291. other.createdAt == this.createdAt);
  292. }
  293. class DeviceInfoTableCompanion extends UpdateCompanion<DeviceInfo> {
  294. final Value<String> username;
  295. final Value<String> phoneBrand;
  296. final Value<String> phoneModel;
  297. final Value<String> phoneRelease;
  298. final Value<String> phoneAddress;
  299. final Value<String> bleMac;
  300. final Value<String> bleName;
  301. final Value<int> createdAt;
  302. final Value<int> rowid;
  303. const DeviceInfoTableCompanion({
  304. this.username = const Value.absent(),
  305. this.phoneBrand = const Value.absent(),
  306. this.phoneModel = const Value.absent(),
  307. this.phoneRelease = const Value.absent(),
  308. this.phoneAddress = const Value.absent(),
  309. this.bleMac = const Value.absent(),
  310. this.bleName = const Value.absent(),
  311. this.createdAt = const Value.absent(),
  312. this.rowid = const Value.absent(),
  313. });
  314. DeviceInfoTableCompanion.insert({
  315. required String username,
  316. required String phoneBrand,
  317. required String phoneModel,
  318. required String phoneRelease,
  319. required String phoneAddress,
  320. required String bleMac,
  321. required String bleName,
  322. required int createdAt,
  323. this.rowid = const Value.absent(),
  324. }) : username = Value(username),
  325. phoneBrand = Value(phoneBrand),
  326. phoneModel = Value(phoneModel),
  327. phoneRelease = Value(phoneRelease),
  328. phoneAddress = Value(phoneAddress),
  329. bleMac = Value(bleMac),
  330. bleName = Value(bleName),
  331. createdAt = Value(createdAt);
  332. static Insertable<DeviceInfo> custom({
  333. Expression<String>? username,
  334. Expression<String>? phoneBrand,
  335. Expression<String>? phoneModel,
  336. Expression<String>? phoneRelease,
  337. Expression<String>? phoneAddress,
  338. Expression<String>? bleMac,
  339. Expression<String>? bleName,
  340. Expression<int>? createdAt,
  341. Expression<int>? rowid,
  342. }) {
  343. return RawValuesInsertable({
  344. if (username != null) 'username': username,
  345. if (phoneBrand != null) 'phone_brand': phoneBrand,
  346. if (phoneModel != null) 'phone_model': phoneModel,
  347. if (phoneRelease != null) 'phone_release': phoneRelease,
  348. if (phoneAddress != null) 'phone_address': phoneAddress,
  349. if (bleMac != null) 'ble_mac': bleMac,
  350. if (bleName != null) 'ble_name': bleName,
  351. if (createdAt != null) 'created_at': createdAt,
  352. if (rowid != null) 'rowid': rowid,
  353. });
  354. }
  355. DeviceInfoTableCompanion copyWith(
  356. {Value<String>? username,
  357. Value<String>? phoneBrand,
  358. Value<String>? phoneModel,
  359. Value<String>? phoneRelease,
  360. Value<String>? phoneAddress,
  361. Value<String>? bleMac,
  362. Value<String>? bleName,
  363. Value<int>? createdAt,
  364. Value<int>? rowid}) {
  365. return DeviceInfoTableCompanion(
  366. username: username ?? this.username,
  367. phoneBrand: phoneBrand ?? this.phoneBrand,
  368. phoneModel: phoneModel ?? this.phoneModel,
  369. phoneRelease: phoneRelease ?? this.phoneRelease,
  370. phoneAddress: phoneAddress ?? this.phoneAddress,
  371. bleMac: bleMac ?? this.bleMac,
  372. bleName: bleName ?? this.bleName,
  373. createdAt: createdAt ?? this.createdAt,
  374. rowid: rowid ?? this.rowid,
  375. );
  376. }
  377. @override
  378. Map<String, Expression> toColumns(bool nullToAbsent) {
  379. final map = <String, Expression>{};
  380. if (username.present) {
  381. map['username'] = Variable<String>(username.value);
  382. }
  383. if (phoneBrand.present) {
  384. map['phone_brand'] = Variable<String>(phoneBrand.value);
  385. }
  386. if (phoneModel.present) {
  387. map['phone_model'] = Variable<String>(phoneModel.value);
  388. }
  389. if (phoneRelease.present) {
  390. map['phone_release'] = Variable<String>(phoneRelease.value);
  391. }
  392. if (phoneAddress.present) {
  393. map['phone_address'] = Variable<String>(phoneAddress.value);
  394. }
  395. if (bleMac.present) {
  396. map['ble_mac'] = Variable<String>(bleMac.value);
  397. }
  398. if (bleName.present) {
  399. map['ble_name'] = Variable<String>(bleName.value);
  400. }
  401. if (createdAt.present) {
  402. map['created_at'] = Variable<int>(createdAt.value);
  403. }
  404. if (rowid.present) {
  405. map['rowid'] = Variable<int>(rowid.value);
  406. }
  407. return map;
  408. }
  409. @override
  410. String toString() {
  411. return (StringBuffer('DeviceInfoTableCompanion(')
  412. ..write('username: $username, ')
  413. ..write('phoneBrand: $phoneBrand, ')
  414. ..write('phoneModel: $phoneModel, ')
  415. ..write('phoneRelease: $phoneRelease, ')
  416. ..write('phoneAddress: $phoneAddress, ')
  417. ..write('bleMac: $bleMac, ')
  418. ..write('bleName: $bleName, ')
  419. ..write('createdAt: $createdAt, ')
  420. ..write('rowid: $rowid')
  421. ..write(')'))
  422. .toString();
  423. }
  424. }
  425. abstract class _$MyDatabase extends GeneratedDatabase {
  426. _$MyDatabase(QueryExecutor e) : super(e);
  427. _$MyDatabaseManager get managers => _$MyDatabaseManager(this);
  428. late final $DeviceInfoTableTable deviceInfoTable =
  429. $DeviceInfoTableTable(this);
  430. late final DeviceInfoTableDao deviceInfoTableDao =
  431. DeviceInfoTableDao(this as MyDatabase);
  432. @override
  433. Iterable<TableInfo<Table, Object?>> get allTables =>
  434. allSchemaEntities.whereType<TableInfo<Table, Object?>>();
  435. @override
  436. List<DatabaseSchemaEntity> get allSchemaEntities => [deviceInfoTable];
  437. }
  438. typedef $$DeviceInfoTableTableInsertCompanionBuilder = DeviceInfoTableCompanion
  439. Function({
  440. required String username,
  441. required String phoneBrand,
  442. required String phoneModel,
  443. required String phoneRelease,
  444. required String phoneAddress,
  445. required String bleMac,
  446. required String bleName,
  447. required int createdAt,
  448. Value<int> rowid,
  449. });
  450. typedef $$DeviceInfoTableTableUpdateCompanionBuilder = DeviceInfoTableCompanion
  451. Function({
  452. Value<String> username,
  453. Value<String> phoneBrand,
  454. Value<String> phoneModel,
  455. Value<String> phoneRelease,
  456. Value<String> phoneAddress,
  457. Value<String> bleMac,
  458. Value<String> bleName,
  459. Value<int> createdAt,
  460. Value<int> rowid,
  461. });
  462. class $$DeviceInfoTableTableTableManager extends RootTableManager<
  463. _$MyDatabase,
  464. $DeviceInfoTableTable,
  465. DeviceInfo,
  466. $$DeviceInfoTableTableFilterComposer,
  467. $$DeviceInfoTableTableOrderingComposer,
  468. $$DeviceInfoTableTableProcessedTableManager,
  469. $$DeviceInfoTableTableInsertCompanionBuilder,
  470. $$DeviceInfoTableTableUpdateCompanionBuilder> {
  471. $$DeviceInfoTableTableTableManager(
  472. _$MyDatabase db, $DeviceInfoTableTable table)
  473. : super(TableManagerState(
  474. db: db,
  475. table: table,
  476. filteringComposer:
  477. $$DeviceInfoTableTableFilterComposer(ComposerState(db, table)),
  478. orderingComposer:
  479. $$DeviceInfoTableTableOrderingComposer(ComposerState(db, table)),
  480. getChildManagerBuilder: (p) =>
  481. $$DeviceInfoTableTableProcessedTableManager(p),
  482. getUpdateCompanionBuilder: ({
  483. Value<String> username = const Value.absent(),
  484. Value<String> phoneBrand = const Value.absent(),
  485. Value<String> phoneModel = const Value.absent(),
  486. Value<String> phoneRelease = const Value.absent(),
  487. Value<String> phoneAddress = const Value.absent(),
  488. Value<String> bleMac = const Value.absent(),
  489. Value<String> bleName = const Value.absent(),
  490. Value<int> createdAt = const Value.absent(),
  491. Value<int> rowid = const Value.absent(),
  492. }) =>
  493. DeviceInfoTableCompanion(
  494. username: username,
  495. phoneBrand: phoneBrand,
  496. phoneModel: phoneModel,
  497. phoneRelease: phoneRelease,
  498. phoneAddress: phoneAddress,
  499. bleMac: bleMac,
  500. bleName: bleName,
  501. createdAt: createdAt,
  502. rowid: rowid,
  503. ),
  504. getInsertCompanionBuilder: ({
  505. required String username,
  506. required String phoneBrand,
  507. required String phoneModel,
  508. required String phoneRelease,
  509. required String phoneAddress,
  510. required String bleMac,
  511. required String bleName,
  512. required int createdAt,
  513. Value<int> rowid = const Value.absent(),
  514. }) =>
  515. DeviceInfoTableCompanion.insert(
  516. username: username,
  517. phoneBrand: phoneBrand,
  518. phoneModel: phoneModel,
  519. phoneRelease: phoneRelease,
  520. phoneAddress: phoneAddress,
  521. bleMac: bleMac,
  522. bleName: bleName,
  523. createdAt: createdAt,
  524. rowid: rowid,
  525. ),
  526. ));
  527. }
  528. class $$DeviceInfoTableTableProcessedTableManager extends ProcessedTableManager<
  529. _$MyDatabase,
  530. $DeviceInfoTableTable,
  531. DeviceInfo,
  532. $$DeviceInfoTableTableFilterComposer,
  533. $$DeviceInfoTableTableOrderingComposer,
  534. $$DeviceInfoTableTableProcessedTableManager,
  535. $$DeviceInfoTableTableInsertCompanionBuilder,
  536. $$DeviceInfoTableTableUpdateCompanionBuilder> {
  537. $$DeviceInfoTableTableProcessedTableManager(super.$state);
  538. }
  539. class $$DeviceInfoTableTableFilterComposer
  540. extends FilterComposer<_$MyDatabase, $DeviceInfoTableTable> {
  541. $$DeviceInfoTableTableFilterComposer(super.$state);
  542. ColumnFilters<String> get username => $state.composableBuilder(
  543. column: $state.table.username,
  544. builder: (column, joinBuilders) =>
  545. ColumnFilters(column, joinBuilders: joinBuilders));
  546. ColumnFilters<String> get phoneBrand => $state.composableBuilder(
  547. column: $state.table.phoneBrand,
  548. builder: (column, joinBuilders) =>
  549. ColumnFilters(column, joinBuilders: joinBuilders));
  550. ColumnFilters<String> get phoneModel => $state.composableBuilder(
  551. column: $state.table.phoneModel,
  552. builder: (column, joinBuilders) =>
  553. ColumnFilters(column, joinBuilders: joinBuilders));
  554. ColumnFilters<String> get phoneRelease => $state.composableBuilder(
  555. column: $state.table.phoneRelease,
  556. builder: (column, joinBuilders) =>
  557. ColumnFilters(column, joinBuilders: joinBuilders));
  558. ColumnFilters<String> get phoneAddress => $state.composableBuilder(
  559. column: $state.table.phoneAddress,
  560. builder: (column, joinBuilders) =>
  561. ColumnFilters(column, joinBuilders: joinBuilders));
  562. ColumnFilters<String> get bleMac => $state.composableBuilder(
  563. column: $state.table.bleMac,
  564. builder: (column, joinBuilders) =>
  565. ColumnFilters(column, joinBuilders: joinBuilders));
  566. ColumnFilters<String> get bleName => $state.composableBuilder(
  567. column: $state.table.bleName,
  568. builder: (column, joinBuilders) =>
  569. ColumnFilters(column, joinBuilders: joinBuilders));
  570. ColumnFilters<int> get createdAt => $state.composableBuilder(
  571. column: $state.table.createdAt,
  572. builder: (column, joinBuilders) =>
  573. ColumnFilters(column, joinBuilders: joinBuilders));
  574. }
  575. class $$DeviceInfoTableTableOrderingComposer
  576. extends OrderingComposer<_$MyDatabase, $DeviceInfoTableTable> {
  577. $$DeviceInfoTableTableOrderingComposer(super.$state);
  578. ColumnOrderings<String> get username => $state.composableBuilder(
  579. column: $state.table.username,
  580. builder: (column, joinBuilders) =>
  581. ColumnOrderings(column, joinBuilders: joinBuilders));
  582. ColumnOrderings<String> get phoneBrand => $state.composableBuilder(
  583. column: $state.table.phoneBrand,
  584. builder: (column, joinBuilders) =>
  585. ColumnOrderings(column, joinBuilders: joinBuilders));
  586. ColumnOrderings<String> get phoneModel => $state.composableBuilder(
  587. column: $state.table.phoneModel,
  588. builder: (column, joinBuilders) =>
  589. ColumnOrderings(column, joinBuilders: joinBuilders));
  590. ColumnOrderings<String> get phoneRelease => $state.composableBuilder(
  591. column: $state.table.phoneRelease,
  592. builder: (column, joinBuilders) =>
  593. ColumnOrderings(column, joinBuilders: joinBuilders));
  594. ColumnOrderings<String> get phoneAddress => $state.composableBuilder(
  595. column: $state.table.phoneAddress,
  596. builder: (column, joinBuilders) =>
  597. ColumnOrderings(column, joinBuilders: joinBuilders));
  598. ColumnOrderings<String> get bleMac => $state.composableBuilder(
  599. column: $state.table.bleMac,
  600. builder: (column, joinBuilders) =>
  601. ColumnOrderings(column, joinBuilders: joinBuilders));
  602. ColumnOrderings<String> get bleName => $state.composableBuilder(
  603. column: $state.table.bleName,
  604. builder: (column, joinBuilders) =>
  605. ColumnOrderings(column, joinBuilders: joinBuilders));
  606. ColumnOrderings<int> get createdAt => $state.composableBuilder(
  607. column: $state.table.createdAt,
  608. builder: (column, joinBuilders) =>
  609. ColumnOrderings(column, joinBuilders: joinBuilders));
  610. }
  611. class _$MyDatabaseManager {
  612. final _$MyDatabase _db;
  613. _$MyDatabaseManager(this._db);
  614. $$DeviceInfoTableTableTableManager get deviceInfoTable =>
  615. $$DeviceInfoTableTableTableManager(_db, _db.deviceInfoTable);
  616. }