ObjectBox
This commit is contained in:
1 parent
e548f62bde
commit
f8317be627
60 files changed
+2367
-15049
No files matched your search
@@ -1,24 +1,23 @@
|
||||
import 'package:isar/isar.dart';
|
||||
import 'package:objectbox/objectbox.dart';
|
||||
import 'package:stadtbote/model/tour_task.dart';
|
||||
|
||||
import '../tools/util.dart';
|
||||
|
||||
part 'task_info.g.dart';
|
||||
|
||||
@collection
|
||||
@Entity()
|
||||
class TaskInfo {
|
||||
late Id id;
|
||||
@Id()
|
||||
int id = 0;
|
||||
|
||||
late int sId;
|
||||
|
||||
late String? additionalText;
|
||||
String? additionalText;
|
||||
|
||||
late String? answer;
|
||||
String? answer;
|
||||
|
||||
late bool completed;
|
||||
|
||||
@ignore
|
||||
late TourTask task;
|
||||
@Transient()
|
||||
TourTask? task;
|
||||
|
||||
TaskInfo();
|
||||
|
||||
|
||||
Reference in new issue
Block a user