69 lines
1.1 KiB
Java
69 lines
1.1 KiB
Java
|
package weaver.aiyh_quanshi.entity;
|
||
|
|
||
|
public class QsResponse {
|
||
|
|
||
|
private String status;
|
||
|
private String result;
|
||
|
private String reqid;
|
||
|
private String msg;
|
||
|
|
||
|
public String getMsg() {
|
||
|
return msg;
|
||
|
}
|
||
|
|
||
|
public void setMsg(String msg) {
|
||
|
this.msg = msg;
|
||
|
}
|
||
|
|
||
|
public String getReqid() {
|
||
|
return reqid;
|
||
|
}
|
||
|
|
||
|
public void setReqid(String reqid) {
|
||
|
this.reqid = reqid;
|
||
|
}
|
||
|
|
||
|
public boolean isSuccess() {
|
||
|
return status != null && status.equals("0");
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return the status
|
||
|
*/
|
||
|
public String getStatus() {
|
||
|
return status;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param status
|
||
|
* the status to set
|
||
|
*/
|
||
|
public void setStatus(String status) {
|
||
|
this.status = status;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return the result
|
||
|
*/
|
||
|
public String getResult() {
|
||
|
return result;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param result
|
||
|
* the result to set
|
||
|
*/
|
||
|
public void setResult(String result) {
|
||
|
this.result = result;
|
||
|
}
|
||
|
|
||
|
/* (non-Javadoc)
|
||
|
* @see java.lang.Object#toString()
|
||
|
*/
|
||
|
@Override
|
||
|
public String toString() {
|
||
|
return "QsResponse [status=" + status + ", result=" + result + ", reqid=" + reqid +"]";
|
||
|
}
|
||
|
|
||
|
}
|