29 lines
585 B
Dart
Raw Normal View History

2024-11-12 13:57:14 +01:00
import 'package:objectbox/objectbox.dart';
@Entity()
class CapturePoint {
CapturePoint({
required this.type,
required this.rotationX,
required this.rotationY,
required this.rotationZ,
required this.accelerationX,
required this.accelerationY,
required this.accelerationZ,
this.millisecondsSinceEpoch,
});
@Id()
int id = 0;
String type;
String rotationX;
String rotationY;
String rotationZ;
String accelerationX;
String accelerationY;
String accelerationZ;
// @Property(type: PropertyType.date)
int? millisecondsSinceEpoch;
}