From ad0d0180dfabe2c36e0083d2843a990d40133cb0 Mon Sep 17 00:00:00 2001
From: Roland Haeder <roland@mxchange.org>
Date: Wed, 16 Sep 2015 10:19:55 +0200
Subject: [PATCH] =?utf8?q?Added=20customer=20number=20field=20Signed-off-b?=
 =?utf8?q?y:Roland=20H=C3=A4der=20<roland@mxchange.org>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 .../mxchange/jshopcore/model/customer/Customer.java    |  7 +++++++
 .../jshopcore/model/customer/ShopCustomer.java         | 10 ++++++++++
 2 files changed, 17 insertions(+)

diff --git a/src/org/mxchange/jshopcore/model/customer/Customer.java b/src/org/mxchange/jshopcore/model/customer/Customer.java
index 21cf303..b6059f7 100644
--- a/src/org/mxchange/jshopcore/model/customer/Customer.java
+++ b/src/org/mxchange/jshopcore/model/customer/Customer.java
@@ -24,4 +24,11 @@ import org.mxchange.jcore.model.contact.Contact;
  * @author Roland Haeder<roland@mxchange.org>
  */
 public interface Customer extends Contact {
+
+	/**
+	 * Getter for customer number
+	 *
+	 * @return Customer number
+	 */
+	public String getCustomerNumber ();
 }
diff --git a/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java b/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java
index 3e0e0cf..a9202bd 100644
--- a/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java
+++ b/src/org/mxchange/jshopcore/model/customer/ShopCustomer.java
@@ -24,8 +24,18 @@ import org.mxchange.jcore.model.contact.BaseContact;
  * @author Roland Haeder<roland@mxchange.org>
  */
 public class ShopCustomer extends BaseContact implements Customer {
+	/**
+	 * Customer number, this is different to the database entry id.
+	 */
+	private String customerNumber;
+
 	/**
 	 * Serial number
 	 */
 	private static final long serialVersionUID = 4_328_454_581_751L;
+
+	@Override
+	public String getCustomerNumber () {
+		return this.customerNumber;
+	}
 }
-- 
2.39.5