package com.doumee.keyCabinet.event; public class SendResultEvent { /** * 0:开始提取;1:获取⼿环成功;2:获取⼿环失败 */ private int state; private String no; private String msg; private String orderId; private String id; public SendResultEvent(int state, String orderId, String id) { this.state = state; this.orderId = orderId; this.id = id; } public SendResultEvent(int state, String no, String orderId, String id) { this.state = state; this.no = no; this.orderId = orderId; this.id = id; } public SendResultEvent(String msg, String orderId, String id) { this.state = 2; this.msg = msg; this.orderId = orderId; this.id = id; } /** * @return 0:开始提取;1:获取⼿环成功;2:获取⼿环失败 */ public int getState() { return state; } public void setState(int state) { this.state = state; } public String getNo() { return no; } public void setNo(String no) { this.no = no; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public String getOrderId() { return orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getId() { return id; } public void setId(String id) { this.id = id; } }