From 30d600cdc87cc8ae9ec883264460ed2c559d2352 Mon Sep 17 00:00:00 2001 From: akulikov Date: Wed, 5 Apr 2023 11:52:21 +0300 Subject: [PATCH] ContactTypes enum added --- .../platform/enumeration/ContactTypes.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ContactTypes.java diff --git a/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ContactTypes.java b/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ContactTypes.java new file mode 100644 index 000000000..700babd7d --- /dev/null +++ b/platform-parent/platform-enum/src/main/java/ru/spcex/platform/enumeration/ContactTypes.java @@ -0,0 +1,31 @@ +package ru.spcex.platform.enumeration; + +import ru.spcex.platform.utils.enumeration.IEnumKey; + +/** + * CONTACT_TYPE_DICTIONARY + */ +public enum ContactTypes implements IEnumKey { + adrs("ADRS"), // Адрес + post("POST"), // Почтовый адрес + cont("CONT"), // Контактное лицо + mail("MAIL"), // Электронная почта + phon("PHON"), // Телефон + gdir("GDIR"), // Генеральный директор + trst("TRST"), // Доверенное лицо + fax("FAX"), // Факс + info("INFO"), // Контактная информация + cmnt("CMNT"); // Примечание + + + private final String key; + + ContactTypes(String key) { + this.key = key; + } + + @Override + public String getKey() { + return key; + } +}