package com.sap.hana.cloud.samples.benefits.odata.beans;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class BenefitsAmount {

	@Expose
	@SerializedName("targetPoints")
	private long targetPoints;

	@Expose
	@SerializedName("externalCode")
	private String userId;

	private static final long DEFAULT_TARGET_POINTS = 300;

	public BenefitsAmount() {
	};

	public BenefitsAmount(String userId, long targetPoints) {
		this.targetPoints = targetPoints;
		this.userId = userId;
	}

	public long getTargetPoints() {
		return targetPoints;
	}

	public void setTargetPoints(long targetPoints) {
		this.targetPoints = targetPoints;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public static BenefitsAmount defaultBenefitsAmount(String userId) {
		return new BenefitsAmount(userId, DEFAULT_TARGET_POINTS);
	}

}

@@ -204,16 +204,21 @@
 edName(%22
+cust_
 targetPo
@@ -319,16 +319,17 @@
 userId;%0A
+%09
 %0A%09privat
@@ -792,32 +792,33 @@
 Id = userId;%0A%09%7D%0A
+%09
 %0A%09public static 
@@ -868,21 +868,23 @@
  userId)
- 
 %7B%0A%09
-%09
+    
 return n

Revert last commit