package com.doumee.keyCabinet.event;
|
|
public class RecycleResultEvent {
|
//0:不能归还;1:还⼿环忙碌提醒;2:还⼿环成功;3:还⼿环失败;4:倒计时
|
private int state;
|
private String msg;
|
private int countDown;
|
private boolean isTk;
|
|
public RecycleResultEvent(int state) {
|
this.state = state;
|
}
|
|
public RecycleResultEvent(int state, String msg) {
|
this.state = state;
|
this.msg = msg;
|
}
|
|
public RecycleResultEvent(int state, int countDown) {
|
this.state = state;
|
this.countDown = countDown;
|
}
|
|
public RecycleResultEvent(int state, boolean isTk) {
|
this.state = state;
|
this.isTk = isTk;
|
}
|
|
public int getState() {
|
return state;
|
}
|
|
public void setState(int state) {
|
//0:不能归还;1:还⼿环忙碌提醒;2:还⼿环成功;3:还⼿环失败;4:倒计时
|
this.state = state;
|
}
|
|
public String getMsg() {
|
return msg;
|
}
|
|
public void setMsg(String msg) {
|
this.msg = msg;
|
}
|
|
public int getCountDown() {
|
return countDown;
|
}
|
|
public void setCountDown(int countDown) {
|
this.countDown = countDown;
|
}
|
|
public boolean isTk() {
|
return isTk;
|
}
|
|
public void setTk(boolean tk) {
|
isTk = tk;
|
}
|
}
|