diff options
Diffstat (limited to 'src/org/traccar/web/shared/model/ApplicationSettings.java')
-rw-r--r-- | src/org/traccar/web/shared/model/ApplicationSettings.java | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/org/traccar/web/shared/model/ApplicationSettings.java b/src/org/traccar/web/shared/model/ApplicationSettings.java deleted file mode 100644 index 6f5bfe5c..00000000 --- a/src/org/traccar/web/shared/model/ApplicationSettings.java +++ /dev/null @@ -1,34 +0,0 @@ -package org.traccar.web.shared.model; - -import java.io.Serializable; - -import javax.persistence.Entity; -import javax.persistence.GeneratedValue; -import javax.persistence.Id; -import javax.persistence.Table; - -@Entity -@Table(name="application_settings") -public class ApplicationSettings implements Serializable { - - private static final long serialVersionUID = 1; - - @Id - @GeneratedValue - private long id; - - public ApplicationSettings() { - registrationEnabled = true; - } - - private boolean registrationEnabled; - - public void setRegistrationEnabled(boolean registrationEnabled) { - this.registrationEnabled = registrationEnabled; - } - - public boolean getRegistrationEnabled() { - return registrationEnabled; - } - -} |