| 1 | import 'package:cw_core/hive_type_ids.dart'; |
| 2 | import 'package:hive/hive.dart'; |
| 3 | |
| 4 | part 'haven_seed_store.part.dart'; |
| 5 | |
| 6 | // @HiveType(typeId: HavenSeedStore.typeId) |
| 7 | class HavenSeedStore extends HiveObject { |
| 8 | HavenSeedStore({required this.id, this.seed}); |
| 9 | |
| 10 | static const typeId = HAVEN_SEED_STORE_TYPE_ID; |
| 11 | static const boxName = 'HavenSeedStore'; |
| 12 | static const boxKey = 'havenSeedStoreKey'; |
| 13 | |
| 14 | // @HiveField(0, defaultValue: '') |
| 15 | String id; |
| 16 | |
| 17 | // @HiveField(2) |
| 18 | String? seed; |
| 19 | } |