Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,10 @@ public class Layout implements Serializable {
/**
* 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
......@@ -447,4 +450,12 @@ public class Layout implements Serializable {
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment