Commit d12ef350 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

model contains information about user consent for google maps API terms

parent f908511d
...@@ -72,6 +72,9 @@ public class Layout implements Serializable { ...@@ -72,6 +72,9 @@ public class Layout implements Serializable {
*/ */
private boolean hierarchicalView = false; private boolean hierarchicalView = false;
@Column(name="google_license_consent")
private boolean googleLicenseConsent = false;
/** /**
* If overlay contain hierarchical view then it might be fixed on some * If overlay contain hierarchical view then it might be fixed on some
* specific level. This parameter defines the level at which it's fixed or * specific level. This parameter defines the level at which it's fixed or
...@@ -447,4 +450,12 @@ public class Layout implements Serializable { ...@@ -447,4 +450,12 @@ public class Layout implements Serializable {
this.hierarchyViewLevel = hierarchyViewLevel; this.hierarchyViewLevel = hierarchyViewLevel;
} }
public boolean isGoogleLicenseConsent() {
return googleLicenseConsent;
}
public void setGoogleLicenseConsent(boolean googleLicenseConsent) {
this.googleLicenseConsent = googleLicenseConsent;
}
} }
alter table layout add column google_license_consent boolean default false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment