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
411 B
25 lines
411 B
import 'package:hive/hive.dart';
|
|
|
|
part 'prize_entity.g.dart';
|
|
|
|
@HiveType(typeId: 6)
|
|
class PrizeEntity extends HiveObject {
|
|
@HiveField(0)
|
|
int? id;
|
|
@HiveField(1)
|
|
int? afterLevel;
|
|
@HiveField(2)
|
|
String? title;
|
|
@HiveField(3)
|
|
String? imageURL;
|
|
@HiveField(4)
|
|
String? animationURL;
|
|
|
|
PrizeEntity({
|
|
this.id,
|
|
this.afterLevel,
|
|
this.title,
|
|
this.imageURL,
|
|
this.animationURL,
|
|
});
|
|
}
|