import 'package:hive/hive.dart'; part 'hadith_entity.g.dart'; @HiveType(typeId: 5) class HadithEntity extends HiveObject { @HiveField(0) int? id; @HiveField(1) String? hadithText; @HiveField(2) String? narratorName; @HiveField(3) String? translation; @HiveField(4) String? status; HadithEntity({ this.id, this.hadithText, this.narratorName, this.translation, this.status, }); }