Last active
May 17, 2018 20:07
-
-
Save xcesco/45c95915c3ad313a5e0109eb1c9a721a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@BindType | |
@BindSqlType | |
public class Country { | |
@BindSqlColumn(columnType = ColumnType.PRIMARY_KEY) | |
public long id; | |
public long area; | |
@BindSqlColumn(nullable = false, columnType = ColumnType.UNIQUE) | |
public String code; | |
@BindSqlColumn(nullable = false) | |
public String callingCode; | |
public String region; | |
@BindSqlColumn(nullable = false) | |
public String name; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@BindType | |
public class PhoneNumber { | |
public long id; | |
public ActionType action; | |
@BindSqlColumn(nullable = false, columnType = ColumnType.UNIQUE) | |
public String number; | |
public String countryCode; | |
public String contactName; | |
public String contactId; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@BindSqlType | |
public class PrefixConfig { | |
public long id; | |
public String defaultCountry; | |
public String dualBillingPrefix; | |
public boolean enabled; | |
public long dialogTimeout; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment