package com.sap.hana.cloud.samples.benefits.api.bean;

import com.google.gson.annotations.Expose;

public class ConfigBean {
	
	@Expose
	public boolean showEmployeesTile;
	
	@Expose
	public boolean showBenefitsTile;
	
	@Expose
	public boolean showCampaignTile;
	
	@Expose
	public boolean showOrderTile;
	
	public void initAdminConfiguration(){
		init(true, true, true, true);
	}
	
	public void initEmployeeConfiguration(){
		init(false, false, false, true);
	}
	
	private void init(boolean employeesTile, boolean benefitsTile, boolean campaignTile, boolean orderTile){
		this.showBenefitsTile = benefitsTile;
		this.showEmployeesTile = employeesTile;
		this.showCampaignTile = campaignTile;
		this.showOrderTile = orderTile;
	}

}

@@ -430,20 +430,19 @@
 (false, 
-fals
+tru
 e, false

enable benefits tile for employee