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.
 
 
 
 

29 lines
538 B

import 'package:hadi_hoda_flutter/features/question/domain/entity/file_entity.dart';
import 'package:hive/hive.dart';
part 'answer_entity.g.dart';
@HiveType(typeId: 3)
class AnswerEntity extends HiveObject {
@HiveField(0)
int? id;
@HiveField(1)
String? title;
@HiveField(2)
String? imageId;
@HiveField(3)
FileEntity? imageInfo;
@HiveField(4)
int? order;
@HiveField(5)
bool? isActive;
AnswerEntity({
this.id,
this.title,
this.imageId,
this.imageInfo,
this.order,
this.isActive,
});
}