com.gnss.common.api.CommonReplyParam Maven / Gradle / Ivy
The newest version!
package com.gnss.common.api;
import lombok.Data;
import java.util.HashMap;
import java.util.Map;
/**
* Description: 通用应答
* Company: www.gps-pro.cn
*
* @author huangguangbin
* @version 1.0.1
* @date 2018/2/3
*/
@Data
public class CommonReplyParam {
/**
* 应答消息ID
*/
private String replyMessageId;
/**
* 结果
*/
private String result;
/**
* 附加信息
*/
private Map extraInfo = new HashMap<>();
public Map setExtraInfo(String key, Object value) {
extraInfo.put(key, value);
return extraInfo;
}
}