package com.iplatform.tcp;
|
|
public class DemoLoginResponse {
|
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1167352207355638142L;
|
|
// @Override
|
// protected void translateProperties(JSONObject result) {
|
// result.put("status", status);
|
// }
|
|
@Override
|
public String toString(){
|
return new StringBuilder("[protocol=").append(this.getProtocol())
|
.append(", name=").append(this.getUid())
|
.append(", status=").append(this.status)
|
.append("]").toString();
|
}
|
|
public String getUid() {
|
return uid;
|
}
|
|
public void setUid(String uid) {
|
this.uid = uid;
|
}
|
|
private String protocol;
|
|
public String getProtocol() {
|
return protocol;
|
}
|
|
public void setProtocol(String protocol) {
|
this.protocol = protocol;
|
}
|
|
public int getStatus() {
|
return status;
|
}
|
|
public void setStatus(int status) {
|
this.status = status;
|
}
|
|
private int status = 0;
|
private String uid;
|
}
|