34 lines
711 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,
2024-11-13 21:22:29 +01:00
required this.uuid,
2024-11-12 13:57:14 +01:00
required this.rotationX,
required this.rotationY,
required this.rotationZ,
required this.accelerationX,
required this.accelerationY,
required this.accelerationZ,
2024-11-13 21:22:29 +01:00
required this.millisecondsSinceEpochReceived,
required this.millisecondsSinceEpochSend,
2024-11-12 13:57:14 +01:00
});
@Id()
int id = 0;
String type;
2024-11-13 21:22:29 +01:00
String uuid;
int rotationX;
int rotationY;
int rotationZ;
int accelerationX;
int accelerationY;
int accelerationZ;
2024-11-12 13:57:14 +01:00
// @Property(type: PropertyType.date)
2024-11-13 21:22:29 +01:00
int millisecondsSinceEpochReceived;
int millisecondsSinceEpochSend;
2024-11-12 13:57:14 +01:00
}