初始化

This commit is contained in:
谢洪龙
2017-07-10 11:54:47 +08:00
commit 73861f3f18
97 changed files with 8070 additions and 0 deletions
@@ -0,0 +1,29 @@
package com.ifish.enums;
public enum BooleanEnum {
NO("0",""),
YES("1","");
private BooleanEnum(String key,String value){
this.key = key;
this.value = value;
}
private String key;
private String value;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
@@ -0,0 +1,28 @@
package com.ifish.enums;
public enum NeteaseEnum {
status200("200","操作成功"),
status414("414","参数错误");
private NeteaseEnum(String key,String value){
this.key = key;
this.value = value;
}
private String key;
private String value;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
@@ -0,0 +1,29 @@
package com.ifish.enums;
public enum PhoneTypeEnum {
ios("ios","ios"),
android("android","android");
private PhoneTypeEnum(String key,String value){
this.key = key;
this.value = value;
}
private String key;
private String value;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
@@ -0,0 +1,33 @@
package com.ifish.enums;
public enum PushTypeEnum {
remove_device("remove_device","解绑通知"),
wendu_warn("wendu_warn","温度报警"),
qu_reply("qu_reply","问题反馈"),
app_update("app_update","IOS更新推送"),
remind_water("remind_water","换水提醒"),
offline_push("offline_push","离线通知");
private PushTypeEnum(String key,String value){
this.key = key;
this.value = value;
}
private String key;
private String value;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}