import 'package:objectbox/objectbox.dart'; import 'package:jisho_study_tool/models/history/word_query.dart'; @Entity() class WordResult { int id; @Property(type: PropertyType.date) DateTime timestamp; String word; final searchString = ToOne(); WordResult({ this.id = 0, required this.timestamp, required this.word, }); }