]> git.mxchange.org Git - jphone-core.git/commitdiff
missed to add annotations here
authorRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 20:55:53 +0000 (22:55 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 10 Oct 2015 20:55:53 +0000 (22:55 +0200)
src/org/mxchange/jphone/phonenumbers/smsprovider/CellphoneProvider.java

index d1f7fcd15d0c83625564d9baac138789a0c0e71c..c9a113b1612d079f20eba06694c695b64bbc260d 100644 (file)
@@ -16,6 +16,7 @@
  */
 package org.mxchange.jphone.phonenumbers.smsprovider;
 
+import javax.persistence.Basic;
 import javax.persistence.CascadeType;
 import javax.persistence.Column;
 import javax.persistence.Entity;
@@ -53,11 +54,15 @@ public class CellphoneProvider implements SmsProvider {
        /**
         * Provider dial prefix (example: 0177 for German E+)
         */
+       @Basic (optional = false)
+       @Column (name = "provider_dial_prefix", length = 10, nullable = false)
        private Long providerDialPrefix;
 
        /**
         * Name of the provider
         */
+       @Basic (optional = false)
+       @Column (name = "provider_name", length = 30, nullable = false)
        private String providerName;
 
        /**