You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
425 B
25 lines
425 B
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,
|
|
});
|
|
}
|