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.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							598 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							598 B
						
					
					
				| import 'package:hadi_hoda_flutter/features/question/domain/entity/hadith_entity.dart'; | |
| 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; | |
|   @HiveField(4) | |
|   List<HadithEntity>? hadith; | |
| 
 | |
|   LevelEntity({ | |
|      this.id, | |
|      this.order, | |
|      this.title, | |
|      this.questions, | |
|      this.hadith, | |
|   }); | |
| }
 |