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
...@@ -70,7 +70,10 @@ public class Layout implements Serializable { ...@@ -70,7 +70,10 @@ public class Layout implements Serializable {
/** /**
* Does the layout present data in hierarchical view. * Does the layout present data in hierarchical view.
*/ */
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
...@@ -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