mangayomi/lib/models/history.dart
2023-05-07 17:26:54 +01:00

18 lines
369 B
Dart

import 'package:hive/hive.dart';
import 'package:isar/isar.dart';
import 'package:mangayomi/models/chapter.dart';
part 'history.g.dart';
@collection
@Name("History")
class History {
Id? id;
int? mangaId;
final chapter = IsarLink<Chapter>();
String? date;
History({
this.id = Isar.autoIncrement,
required this.mangaId,
required this.date,
});
}