package com.igo.user.utils;
|
|
public class BaseEvent {
|
|
|
public static final int START_TRIP = 1; //开始行程
|
|
|
|
private String msg;
|
private int code;
|
private int type;
|
private String msgTwo;
|
private int typeTwo;
|
private String msgthree;
|
|
public String getMsgthree() {
|
return msgthree;
|
}
|
|
public void setMsgthree(String msgthree) {
|
this.msgthree = msgthree;
|
}
|
|
public int getTypeTwo() {
|
return typeTwo;
|
}
|
|
|
public void setTypeTwo(int typeTwo) {
|
this.typeTwo = typeTwo;
|
}
|
|
public BaseEvent(int code) {
|
this.code = code;
|
}
|
|
public BaseEvent(int code, int type) {
|
this.code = code;
|
this.type = type;
|
}
|
|
public BaseEvent(int code, String msg, String msgTwo) {
|
this.msg = msg;
|
this.code = code;
|
this.msgTwo = msgTwo;
|
}
|
|
public BaseEvent(String msg, int code) {
|
this.msg = msg;
|
this.code = code;
|
}
|
|
public BaseEvent(int code, String msg) {
|
this.msg = msg;
|
this.code = code;
|
}
|
|
public BaseEvent(int code, int type, int typeTwo) {
|
this.code = code;
|
this.type = type;
|
this.typeTwo = typeTwo;
|
}
|
|
public BaseEvent(int code, String msg, String msgTwo, String msgthree) {
|
this.msg = msg;
|
this.code = code;
|
this.msgTwo = msgTwo;
|
this.msgthree = msgthree;
|
}
|
|
public String getMsgTwo() {
|
return msgTwo;
|
}
|
|
public void setMsgTwo(String msgTwo) {
|
this.msgTwo = msgTwo;
|
}
|
|
public int getCode() {
|
return code;
|
}
|
|
public void setCode(int code) {
|
this.code = code;
|
}
|
|
public BaseEvent(String msg) {
|
this.msg = msg;
|
}
|
|
public String getMsg() {
|
return msg;
|
}
|
|
public void setMsg(String msg) {
|
this.msg = msg;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
}
|