From 0c3e6b2d5edd46c3476a1a51a70540258b3c39dc Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 29 十月 2025 15:56:06 +0800
Subject: [PATCH] 最新版本541200007
---
server/system_service/src/main/java/com/doumee/core/utils/Constants.java | 272 ++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 231 insertions(+), 41 deletions(-)
diff --git a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
index 2456df6..392fe0a 100644
--- a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
+++ b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
@@ -1,24 +1,27 @@
package com.doumee.core.utils;
+import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
+import net.sourceforge.pinyin4j.PinyinHelper;
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.text.Collator;
import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-import java.util.Random;
+import java.util.*;
+import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Constants {
public static final String HEADER_USER_TOKEN = "dm_user_token";
+ public static final String REDIS_USER_KEY = "user_token_list_";
public static final String REDIS_TOKEN_KEY = "token_";
public static final String REDIS_HK_TOKEN_KEY = "hk_token_";
public static final String HK_TOKEN_VALIDITY = "HK_TOKEN_VALIDITY";
@@ -26,7 +29,10 @@
public static final int ZERO = 0 ;
public static final int ONE = 1 ;
public static final int TWO = 2 ;
+ public static final Integer DD_STATUS_SUCCESS_CODE = 200 ;
+ public static final Long DD_ERR_CODE = 0L ;
public static final String HK_PARAM ="HK_PARAM" ;
+ public static final String HK_WEBSITE_DOMAIN_URL ="HK_WEBSITE_DOMAIN_URL" ;
public static final String LED_CONTENT_SPEED ="LED_CONTENT_SPEED" ;
public static final String HK_HOST ="HK_HOST" ;
public static final String HK_APPKEY ="HK_APPKEY" ;
@@ -35,6 +41,7 @@
public static final String HK_HTTPS ="HK_HTTPS" ;
public static final String HK_PUSH_URL = "HK_PUSH_URL";
public static final String HK_CARS_OPENAPI_ACCESS_KEY = "HK_CARS_OPENAPI_ACCESS_KEY";
+ public static final String GAODE_DISTANCE_GEOAPI_URL = "GAODE_DISTANCE_GEOAPI_URL";
public static final String HK_CARS_OPENAPI_ACCESS_SECRET = "HK_CARS_OPENAPI_ACCESS_SECRET";
public static final String HK_CARS_OPENAPI_URL = "HK_CARS_OPENAPI_URL";
public static final String HK_ROOTORG_CODE ="HK_ROOTORG_CODE" ;
@@ -51,7 +58,37 @@
public static final String SIGN_IN_ATTENTION ="SIGN_IN_ATTENTION" ;
public static final String SIGN_IN_QRCODE_PREFIX ="SIGN_IN_QRCODE_PREFIX" ;
+ /**
+ * 鎿嶄綔绫诲瀷锛岀敤浜庡仛鎺ュ彛楠岃瘉鍒嗙粍
+ */
+ public interface OperaType {
+ /**
+ * 鍒涘缓
+ */
+ interface Create {}
+
+ /**
+ * 淇敼
+ */
+ interface Update {}
+
+ /**
+ * 淇敼鐘舵��
+ */
+ interface UpdateStatus {}
+ }
+
+ public static final String WEATHER_CONFIG ="WEATHER_CONFIG" ;
+ public static final String REQUEST_URL ="REQUEST_URL" ;
+ public static final String LOCATION ="LOCATION" ;
+ public static final String API_KEY ="API_KEY" ;
+ public static final String CABINET_CONFIG ="CABINET_CONFIG" ;
+ public static final String BLOW_TIME ="BLOW_TIME" ;
+ public static final String PRESSURE ="PRESSURE" ;
+ public static final String CONCENTRATION ="CONCENTRATION" ;
+ public static final String THRESHOLD ="THRESHOLD" ;
+ public static final String LINK_PHONE ="LINK_PHONE" ;
//琚嫓璁夸汉淇℃伅鏍¢獙鏂瑰紡锛�0鎵嬫満鍙峰崟鐙牎楠� 1鎵嬫満鍙峰拰濮撳悕缁勫悎鏍¢獙锛�
public static final String BEVISITED_USER_VALID = "BEVISITED_USER_VALID";
public static final String LW_BEVISITED_USER_VALID = "LW_BEVISITED_USER_VALID";
@@ -104,16 +141,21 @@
public static final String FTP_PORT ="FTP_PORT" ;
public static final String FTP_USERNAME ="FTP_USERNAME" ;
public static final String FTP_PWD ="FTP_PWD" ;
+ public static final String COMPANY_DOCUMENTS ="COMPANY_DOCUMENTS" ;
+ public static final String APP_FILE ="APP_FILE" ;
+
public static final String FTP_RESOURCE_PATH ="FTP_RESOURCE_PATH" ;
public static final String FTP_LOCAL_RESOURCE_PATH ="FTP_LOCAL_RESOURCE_PATH" ;
public static final String ERP_ORGLIST_URL ="ERP_ORGLIST_URL" ;
public static final String ERP_USERLIST_URL ="ERP_USERLIST_URL" ;
public static final String ERP_APPROVE_URL ="ERP_APPROVE_URL" ;
public static final String ERP_USERSTATUS_RL ="ERP_USERSTATUS_RL" ;
+
public static final String ERP ="ERP" ;
public static final Integer THREE =3 ;
public static final Integer FOUR =4 ;
public static final Integer FIVE =5 ;
+ public static final Integer SIX =6 ;
public static final String ORG_USER_ORIGIN = "ORG_USER_ORIGIN";
public static final String VIRTUAL_CARD_INDEX = "02098469790";
public static final String RETRY_CONNECT_NUM ="RETRY_CONNECT_NUM" ;
@@ -150,6 +192,12 @@
public static final String SCREEN_SEVENT_ARRIVAL_STARTDATE = "SCREEN_SEVENT_ARRIVAL_STARTDATE";
public static final String EARLY_START_WX_NOTICE = "EARLY_START_WX_NOTICE";
public static final String OVER_NOTICE_WX = "OVER_NOTICE_WX";
+ public static final String PRESSURE_LEVEL_UNIT = "PRESSURE_LEVEL_UNIT";
+ public static final String LIQUID_LEVEL_UNIT ="LIQUID_LEVEL_UNIT" ;
+ public static final String OUT_HY_LOT_TOTAL ="OUT_HY_LOT_TOTAL" ;
+ public static final String BANNER_IMG ="BANNER_IMG" ;
+ public static final String COMPANY_LOCATION = "COMPANY_LOCATION";
+ public static final String GAODE_LOCATION_GEOAPI_URL = "GAODE_LOCATION_GEOAPI_URL";
public static boolean DEALING_HK_SYNCPRIVILEGE= false;
public static boolean DEALING_HK_SYNCDEVICE = false;
@@ -334,11 +382,12 @@
return "";
}
int l = s.length();
- if(Constants.equalsInteger(l,7)){
- return s.substring(0,3)+"**"+s.substring(l-2,l);
- }
- if(l <= 8){
- return s.substring(0,3)+"***"+s.substring(l-2,l);
+ if(l >= 7){
+ String tt = "";
+ for (int i = 0; i < l-6; i++) {
+ tt = tt+"*";
+ }
+ return s.substring(0,2)+tt+s.substring(l-4,l);
}
return s;
}
@@ -409,14 +458,45 @@
int invalid =9;
}
+ /**
+ * 0=璁垮杞﹁締-璁垮杞﹁締
+ * 1=wms鎺ㄩ�佺殑鐗╂祦杞﹁締锛堥潪鑷湁杞︼級锛氳揣杩愯溅杈�-澶栧崗杩愯緭杞﹁締
+ * 2= 甯傚叕鍙哥殑棰勭害鍏ュ洯杞﹁締锛氳揣杩愯溅杈�-甯傚叕鍙稿嵏璐ц溅杈�
+ * 3= 瀹夋嘲鐨勯绾﹀叆鍥溅杈嗭細璐ц繍杞﹁締-鍔犲伐鐑熷嵏璐ц溅杈�
+ * 4= 瀹夋嘲鍏姟杞︼細鍏姟杞�-瀹夋嘲鐗╂祦鍏姟鐢ㄨ溅
+ * 5= 瀹夋嘲鑷湁杞︼細璐ц繍杞﹁締-瀹夋嘲鐗╂祦璐ц繍杞﹁締
+ */
public interface RetentionCarType{
//杞﹁締绫诲瀷 0鍐呴儴杞﹁締 1鐩稿叧鏂硅溅杈� 2璁垮杞﹁締 3鍐呰繍鐗╂祦杞� 4澶栧崗杞﹁締 5甯傚叕鍙稿嵏璐ц溅
- int internal = 0;
- int relation = 1;
- int visitor = 2;
- int selfTruck = 3;
- int outTruck = 4;
- int cityComTruck = 5;
+ //浣滀笟绫诲瀷 0鑷湁杞﹀嵏璐� 1鑷湁杞﹁璐� 2澶栧崗杞﹀嵏璐� 3澶栧崗杞﹁璐� 4甯傚叕鍙稿鍗忚溅鍗歌揣
+// int internal = 0;
+// int relation = 1;
+// int visitor = 2;
+// int selfTruck = 3;
+// int outTruck = 4;
+// int cityComTruck = 5;
+// int unknown = 6;
+ int fkCar = 0;//璁垮杞﹁締-璁垮杞﹁締
+ int wxysCar = 1;//鎺ㄩ�佺殑鐗╂祦杞﹁締锛堥潪鑷湁杞︼級锛氳揣杩愯溅杈�-澶栧崗杩愯緭杞﹁締
+ int sgsxhCar = 2;//甯傚叕鍙哥殑棰勭害鍏ュ洯杞﹁締锛氳揣杩愯溅杈�-甯傚叕鍙稿嵏璐ц溅杈�
+ int jgyxhCar = 3;//瀹夋嘲鐨勯绾﹀叆鍥溅杈嗭細璐ц繍杞﹁締-鍔犲伐鐑熷嵏璐ц溅杈�
+ int atwlgwCar = 4;//瀹夋嘲鍏姟杞︼細鍏姟杞�-瀹夋嘲鐗╂祦鍏姟鐢ㄨ溅
+ int atwlzyCar = 5;//瀹夋嘲鑷湁杞︼細璐ц繍杞﹁締-瀹夋嘲鐗╂祦璐ц繍杞﹁締
+ int other = 6;//鏈煡杞﹁締
+ int self = 7;//鑷湁杞�
+ }
+
+ /**
+ * 鍦ㄥ満浜哄憳绫诲瀷
+ */
+ public interface RetentionMemberType{
+ //绫诲瀷 0鍔冲姟璁垮 1鏅�氳瀹� 2鍐呴儴鍛樺伐 3杞﹁締淇℃伅 4鐩稿叧鏂逛汉鍛� 5璐ц繍鍙告満
+ int lwfk = 0;//0鍔冲姟璁垮
+ int fk = 1;//1鏅�氳瀹�
+ int internalMember = 2;//鍐呴儴鍛樺伐
+ int car = 3;//杞﹁締淇℃伅
+ int relMember = 4;//鐩稿叧鏂逛汉鍛�
+ int driver = 5;//璐ц繍鍙告満
}
@@ -452,6 +532,11 @@
public static final String HOME_IMAGE ="HOME_IMAGE";
+ public static final String DD_TALK ="DD_TALK";
+ public static final String APP_KEY ="APP_KEY";
+ public static final String APP_SECRET ="APP_SECRET";
+ public static final String ACCESS_TOKEN ="ACCESS_TOKEN";
+ public static final String AGENT_ID ="AGENT_ID";
@@ -466,10 +551,20 @@
+ public static final String PROHIBIT_TIME = "PROHIBIT_TIME";
+ public static final String ERR_TIMES = "ERR_TIMES";
+ public static final String PROHIBIT_LOGIN_OPEN = "PROHIBIT_LOGIN_OPEN";
+ public static final String OPEN_JOINT_ACCOUNT = "OPEN_JOINT_ACCOUNT";
+
public interface RedisKeys {
public static final String IMPORTING_CARS ="IMPORTING_CARS";
+ public static final String CHECKING_JKCUSTOMER_LOCATION ="CHECKING_JKCUSTOMER_LOCATION";
+ public static final String JKLINE_JOB ="JKLINE_JOB_";
+ public static final String IMPORTING_JKCUSTOMER ="IMPORTING_JKCUSTOMER";
+ public static final String IMPORTING_JKORDERS ="IMPORTING_JKORDERS";
+ public static final String IMPORTING_JKLINE ="IMPORTING_JKLINE";
public static final String IMPORTING_MEMBER ="IMPORTING_MEMBER";
public static final String BIGSCREEN_UUID ="BIGSCREEN_UUID";
public static final String IMPORTING_GAS ="IMPORTING_GAS";
@@ -493,28 +588,21 @@
return d;
}
public static BigDecimal formatBigdecimal4Float(BigDecimal d) {
+ return formatBigdecimalScale(d,4);
+ }
+ public static BigDecimal formatBigdecimalScale(BigDecimal d,int scale) {
if (d == null) {
d = new BigDecimal(0.0);
}
//淇濈暀涓や綅灏忔暟涓斿洓鑸嶄簲鍏�
- d = d.setScale(4, BigDecimal.ROUND_HALF_UP);
+ d = d.setScale(scale, BigDecimal.ROUND_HALF_UP);
return d;
}
public static BigDecimal formatBigdecimal0Float(BigDecimal d) {
- if (d == null) {
- d = new BigDecimal(0.0);
- }
- //淇濈暀涓や綅灏忔暟涓斿洓鑸嶄簲鍏�
- d = d.setScale(0, BigDecimal.ROUND_HALF_UP);
- return d;
+ return formatBigdecimalScale(d,0);
}
public static BigDecimal formatBigdecimal2Float(BigDecimal d) {
- if (d == null) {
- d = new BigDecimal(0.0);
- }
- //淇濈暀涓や綅灏忔暟涓斿洓鑸嶄簲鍏�
- d = d.setScale(2, BigDecimal.ROUND_HALF_UP);
- return d;
+ return formatBigdecimalScale(d,2);
}
@@ -541,6 +629,10 @@
}
+ /**
+ * 杩愬崟浜嗗崟浣嶇被鍨� 0涓囨敮 1绠�
+ */
+ public static final int UNIT_TYPE =1;
public interface memberType{
int driver = 0;//鍙告満浜哄憳
int visitor = 1;//鏅�氳瀹�
@@ -559,6 +651,16 @@
int reason = 6;//鍏ュ洯鍘熷洜
}
+public interface noticesObjectType{
+ int visit = 0;//璁垮鐢宠
+ int visitReporting = 1;//璁垮鎶ュ
+ int useCar = 2;//鐢ㄨ溅鐢宠
+ int dangerDeal = 3;//闅愭偅澶勭悊
+ int logisticsCarUse = 4;//鐗╂祦杞﹀鎵�
+ int system = 5;//绯荤粺娑堟伅
+ int reason = 6;//鍏ュ洯鍘熷洜
+ int hknotice = 7;//娴峰悍鑰冨嫟浠e姙
+}
public static Integer approveTypeToNoticeType(Integer approveType){
@@ -582,16 +684,6 @@
- public interface noticesObjectType{
- int visit = 0;//璁垮鐢宠
- int visitReporting = 1;//璁垮鎶ュ
- int useCar = 2;//鐢ㄨ溅鐢宠
- int dangerDeal = 3;//闅愭偅澶勭悊
- int logisticsCarUse = 4;//鐗╂祦杞﹀鎵�
- int system = 5;//绯荤粺娑堟伅
- int reason = 6;//鍏ュ洯鍘熷洜
- int hknotice = 7;//娴峰悍鑰冨嫟浠e姙
-}
public interface approveStatus{
@@ -672,15 +764,38 @@
}
public static void main(String[] args) {
- System.out.println(Constants.checkCarNo("鐨朅10991"));
- System.out.println(Constants.checkCarNo("鐨朅A10991"));
+// getChinesePingyin("DDaa姹熻悕鐨勫瀵瑰");
+// System.out.println(DateUtil.getShortTime(new Date()));
+// System.out.println( "2025-01-14 10:50:56".substring(0,10));
+// System.out.println(Constants.checkCarNo("鐨朅A10991"));
// System.out.println(Constants.getVehiclePlateNo("婀楤140D17").getDescription());
// System.out.println(Constants.getVehiclePlateNo("瀹緼P0637").getDescription());
-
+// 0789150665 C97B092F 0789150561
+
+
+ System.out.println(getRFIDNumber("0789150745")); // 杈撳嚭鍙嶈浆鍚庣殑鍗佸叚杩涘埗鏁�
}
+
+ public static String getRFIDNumber(String no) {
+ try {
+ int number = Integer.parseInt(no);
+ String hexString = Integer.toHexString(number);
+ BigInteger bigInteger = new BigInteger(hexString, 16); // 绀轰緥鍗佸叚杩涘埗鏁�
+ String reversedHex = new StringBuilder(bigInteger.toString(16)).reverse().toString();
+ String result = "";
+ for (int i =0;i< 4;i++){
+ String t = reversedHex.substring(i*2,i*2+2);
+ result += new StringBuilder(t).reverse().toString();
+ }
+ return result;
+ }catch (Exception e){
+
+ }
+ return null;
+ }
/**
* 鏁版嵁鐘舵�佹灇涓�
@@ -697,6 +812,10 @@
LW_FK(0,"鍔冲姟璁垮"),
PT_FK(1,"鏅�氳瀹�"),
NB_FK(2,"鍐呴儴浜哄憳"),
+
+ COMPANY_TYPE_REL(0,"鐩稿叧鏂圭粍缁�"),
+ COMPANY_TYPE_INTERNAL(1,"鍐呴儴浜哄憳"),
+ COMPANY_TYPE_FK(3,"璁垮"),
/** 杩涘満绫诲瀷 **/
OUT(0,"鍑�"),
@@ -811,6 +930,7 @@
AUTHED_LEAVE(9, "涓嬪彂鎺堟潈绂诲洯","涓嬪彂鎺堟潈绂诲洯" ),
LEAVED(10, "宸茬鍥� ","杞﹁締浠巤data}绂诲満 " ),
OVER_NUMBER(11, "宸茶繃鍙�","瓒呮椂鏈埌鎸囧畾鏈堝彴鑷姩杩囧彿" ),
+ CHANGE_GROUP(12, "鏇存崲鏈堝彴缁�","浠庛�恵data}銆戞洿鎹㈠埌銆恵data1}銆�" ),
;
// 鎴愬憳鍙橀噺
@@ -979,6 +1099,25 @@
public void setInfo(String info) {
this.info = info;
}
+ }
+ public static String getChinesePingyin(String chinese) {
+ if(StringUtils.isBlank(chinese)){
+ return null;
+ }
+ StringBuilder result = new StringBuilder();
+ for (char ch : chinese.toCharArray()) {
+ String[] pinyinArray = PinyinHelper.toHanyuPinyinStringArray(ch);
+
+ // 濡傛灉瀛楃鏄腑鏂囷紝鍒欒幏鍙栧叾鎷奸煶鐨勯瀛楁瘝
+ if (pinyinArray != null && pinyinArray.length > 0) {
+ result.append(pinyinArray[0].charAt(0));
+ } else {
+ // 闈炰腑鏂囧瓧绗︾洿鎺ユ嫾鎺�
+ result.append(ch);
+ }
+ }
+ System.out.println(result.toString());
+ return result.toString().toUpperCase();
}
/**
@@ -1257,6 +1396,13 @@
IMPORT_TRAIMETIME(14, "瀵煎叆鍩硅鏈夋晥","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬鍏ュ煿璁湁鏁堛�戞搷浣�" ),
BE_HEAD(15, "璁句负涓荤","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愯涓轰富绠°�戞搷浣�" ),
NOT_HEAD(16, "鍙栨秷涓荤","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬彇娑堜富绠°�戞搷浣�" ),
+ MEET_BOOK_DEL(17, "鍒犻櫎浼氳瀹ょ敵璇�","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄や細璁鐢宠銆戞搷浣�,瀵硅薄淇℃伅${param3}" ),
+ VISIT_DEL(18, "鍒犻櫎璁垮鐢宠","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄よ瀹㈢敵璇枫��,瀵硅薄淇℃伅锛�${param3}" ),
+ VISIT_CAR_DEL(19, "鍒犻櫎璁垮鎶ュ","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄よ瀹㈡姤澶囥��,瀵硅薄淇℃伅锛�${param3}" ),
+ PLATFROM_BOOK_DEL(20, "鍒犻櫎鏈堝彴棰勭害浠诲姟","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄ゆ湀鍙伴绾︿换鍔°��,瀵硅薄淇℃伅锛�${param3}" ),
+ CAR_BOOK_DEL(21, "鍒犻櫎鍏溅鐢宠","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄ゅ叕杞︾敵璇枫��,瀵硅薄淇℃伅锛�${param3}"),
+ PLATFROM_JOB_DEL(22, "鍒犻櫎瀹夋嘲鐗╂祦浣滀笟浠诲姟","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄ゅ畨娉扮墿娴佷綔涓氫换鍔°��,瀵硅薄淇℃伅锛�${param3}" ),
+ HIDEN_DANGER_DEL(23, "鍒犻櫎闅愭偅闅忔墜鎷�","鐢便��${param1}銆戜簬銆�${param2}銆戯紝杩涜銆愬垹闄ら殣鎮i殢鎵嬫媿銆�,瀵硅薄淇℃伅锛�${param3}"),
;
// 鎴愬憳鍙橀噺
@@ -1311,6 +1457,7 @@
HIDDEN_DANGER_SUBMIT(0, "闅愭偅闅忔墜鎷嶆彁鎶�", "闅愭偅闅忔墜鎷嶆彁鎶�"),
HIDDEN_DANGER_DEAL_BEFORE(1, "闅愭偅闅忔墜鎷嶅鐞嗗墠", "闅愭偅闅忔墜鎷嶅鐞嗗墠"),
HIDDEN_DANGER_DEAL_AFTER(2, "闅愭偅闅忔墜鎷嶅鐞嗗悗 ", "闅愭偅闅忔墜鎷嶅鐞嗗悗 "),
+ MEETING_BOOKS(4, "浼氳鏂囦欢 ", "浼氳鏂囦欢 "),
;
// 鎴愬憳鍙橀噺
private String name;
@@ -1364,8 +1511,51 @@
public String getNoteinfo() {
return noteinfo;
}
+ }
+ public static String strToJson(String key,String val){
+ Map<String,Object> map = new HashMap<>();
+ map.put(key,val);
+ return JSONObject.toJSONString(map);
+ }
+
+
+
+ public enum WarningConfig {
+ ALARM_TEST(10002, "閰掔簿娴嬭瘯"),
+ GRID_TIME_OUT_INFO(10003, "寮�闂ㄨ秴鏃舵湭鍏抽棴"),
+ KEY_TIME_OUT_BACK(10004, "閽ュ寵瓒呮椂鏈綊杩�"),
+ ;
+ // 鎴愬憳鍙橀噺
+ private int key;
+ private String info;
+
+ // 鏋勯�犳柟娉�
+ WarningConfig(int key,String info) {
+ this.key = key;
+ this.info = info;
+ }
+
+
+ public int getKey() {
+ return key;
+ }
+
+ public void setKey(int key) {
+ this.key = key;
+ }
+
+ public String getInfo() {
+ return info;
+ }
+
+ public void setInfo(String info) {
+ this.info = info;
+ }
}
+
+
+
}
--
Gitblit v1.9.3