2024-11-13 21:22:29 +01:00
|
|
|
import 'package:objectbox/objectbox.dart';
|
|
|
|
|
|
|
|
@Entity()
|
|
|
|
class CaptureBox {
|
|
|
|
CaptureBox({
|
|
|
|
required this.type,
|
|
|
|
required this.uuid,
|
2024-11-14 10:36:22 +01:00
|
|
|
required this.startTime,
|
2024-11-13 21:22:29 +01:00
|
|
|
});
|
|
|
|
@Id()
|
|
|
|
int id = 0;
|
|
|
|
|
|
|
|
String type;
|
|
|
|
String uuid;
|
2024-11-14 10:36:22 +01:00
|
|
|
|
|
|
|
@Property(type: PropertyType.date)
|
|
|
|
DateTime startTime;
|
2024-11-13 21:22:29 +01:00
|
|
|
}
|