package com.cku.jpush; import java.util.HashMap; /** * Created with IntelliJ IDEA. * User: lyy * Date: 2016/7/14 * Time: 14:36 */ public class JpushExtras { private String type; private String id; public JpushExtras() { } public JpushExtras(String type, String id) { this.type = type; this.id = id; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getId() { return id; } public void setId(String id) { this.id = id; } public HashMap toMap(){ HashMap resultMap = new HashMap(); resultMap.put("type",this.type); resultMap.put("id",this.id); return resultMap; } }