]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 22 Apr 2020 20:37:08 +0000 (22:37 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 22 Apr 2020 22:14:53 +0000 (00:14 +0200)
- added companyRoadNumber as German companies (mostly those producing dairy
  products

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/model/basicdata/BasicData.java
src/org/mxchange/jcontactsbusiness/model/basicdata/BusinessBasicData.java

index 1550aa71de77af3fd25500530f0040fe12baa294..5f3e99cad3bab070b60028b67a73522e18bc4389 100644 (file)
@@ -244,6 +244,20 @@ public interface BasicData extends Comparable<BasicData>, Serializable {
         */
        void setCompanyLandLineNumber (final DialableLandLineNumber companyPhoneNumber);
 
+       /**
+        * Getter for company road number
+        * <p>
+        * @return Company road number
+        */
+       String getCompanyRoadNumber ();
+
+       /**
+        * Setter for company road number
+        * <p>
+        * @param companyRoadNumber Company road number
+        */
+       void setCompanyRoadNumber (final String companyRoadNumber);
+
        /**
         * Getter for tax number
         * <p>
index cef481bd3003b4fc290919c3911674b124000141..f7d26e53904169f3480e1dd637b9379fa3e1dddf 100644 (file)
@@ -162,6 +162,12 @@ public class BusinessBasicData implements BasicData {
        @Column (name = "company_name", unique = true)
        private String companyName;
 
+       /**
+        * COmpany road number
+        */
+       @Column (name = "company_road_number", length = 10, unique = true)
+       private String companyRoadNumber;
+
        /**
         * Short company name
         */
@@ -402,6 +408,16 @@ public class BusinessBasicData implements BasicData {
                this.companyName = companyName;
        }
 
+       @Override
+       public String getCompanyRoadNumber () {
+               return this.companyRoadNumber;
+       }
+
+       @Override
+       public void setCompanyRoadNumber (final String companyRoadNumber) {
+               this.companyRoadNumber = companyRoadNumber;
+       }
+
        @Override
        public String getCompanyShortName () {
                return this.companyShortName;