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.
23 lines
447 B
23 lines
447 B
import 'package:hadi_hoda_flutter/features/question/domain/entity/question_entity.dart';
|
|
import 'package:hive/hive.dart';
|
|
|
|
part 'level_entity.g.dart';
|
|
|
|
@HiveType(typeId: 1)
|
|
class LevelEntity extends HiveObject {
|
|
@HiveField(0)
|
|
int? id;
|
|
@HiveField(1)
|
|
int? order;
|
|
@HiveField(2)
|
|
String? title;
|
|
@HiveField(3)
|
|
List<QuestionEntity>? questions;
|
|
|
|
LevelEntity({
|
|
this.id,
|
|
this.order,
|
|
this.title,
|
|
this.questions,
|
|
});
|
|
}
|