aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/shared/model/UserSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/shared/model/UserSettings.java')
-rw-r--r--src/org/traccar/web/shared/model/UserSettings.java43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/org/traccar/web/shared/model/UserSettings.java b/src/org/traccar/web/shared/model/UserSettings.java
deleted file mode 100644
index 3f6deeaf..00000000
--- a/src/org/traccar/web/shared/model/UserSettings.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package org.traccar.web.shared.model;
-
-import java.io.Serializable;
-
-import javax.persistence.Entity;
-import javax.persistence.EnumType;
-import javax.persistence.Enumerated;
-import javax.persistence.GeneratedValue;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-@Entity
-@Table(name="user_settings")
-public class UserSettings implements Serializable {
-
- private static final long serialVersionUID = 1;
-
- @Id
- @GeneratedValue
- private long id;
-
- public UserSettings() {
- speedUnit = SpeedUnit.knots;
- }
-
- public enum SpeedUnit {
- knots,
- kilometersPerHour,
- milesPerHour
- }
-
- @Enumerated(EnumType.STRING)
- private SpeedUnit speedUnit;
-
- public void setSpeedUnit(SpeedUnit speedUnit) {
- this.speedUnit = speedUnit;
- }
-
- public SpeedUnit getSpeedUnit() {
- return speedUnit;
- }
-
-}