diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-03 15:13:14 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-03 15:13:14 +1200 |
commit | fcaf637431fee2cdd5ccab79b6de1edf44bac777 (patch) | |
tree | 28b12e76700f4ac03d4d10e0d0944762d30621a0 /src/org/traccar/web/shared/model/UserSettings.java | |
parent | 207e4f459d1e91c66376916f2a99cf66f7d04bd0 (diff) | |
download | trackermap-web-fcaf637431fee2cdd5ccab79b6de1edf44bac777.tar.gz trackermap-web-fcaf637431fee2cdd5ccab79b6de1edf44bac777.tar.bz2 trackermap-web-fcaf637431fee2cdd5ccab79b6de1edf44bac777.zip |
Remove files and update readme
Diffstat (limited to 'src/org/traccar/web/shared/model/UserSettings.java')
-rw-r--r-- | src/org/traccar/web/shared/model/UserSettings.java | 43 |
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; - } - -} |