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; } }