baldeau 3b4fb7f85c
Some checks failed
xiao_pet_tracker / semantic-pull-request (push) Failing after 0s
xiao_pet_tracker / build (push) Failing after 0s
xiao_pet_tracker / spell-check (push) Failing after 0s
release 1.0
2024-11-13 21:22:29 +01:00

34 lines
711 B
Dart

import 'package:objectbox/objectbox.dart';
@Entity()
class CapturePoint {
CapturePoint({
required this.type,
required this.uuid,
required this.rotationX,
required this.rotationY,
required this.rotationZ,
required this.accelerationX,
required this.accelerationY,
required this.accelerationZ,
required this.millisecondsSinceEpochReceived,
required this.millisecondsSinceEpochSend,
});
@Id()
int id = 0;
String type;
String uuid;
int rotationX;
int rotationY;
int rotationZ;
int accelerationX;
int accelerationY;
int accelerationZ;
// @Property(type: PropertyType.date)
int millisecondsSinceEpochReceived;
int millisecondsSinceEpochSend;
}