package com.doumee.keyCabinet.http.param;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* 服务端完成后,返回给客户端的基本类
|
*
|
* @author j
|
*
|
*/
|
//"响应")
|
public class BaseResponse<T> implements Serializable {
|
// 错误码
|
//错误码")
|
protected String errorCode;
|
|
|
// 错误描述
|
//"错误描述")
|
protected String errorMsg;
|
|
public String getErrorCode() {
|
return errorCode;
|
}
|
|
public void setErrorCode(String errorCode) {
|
this.errorCode = errorCode;
|
}
|
|
public String getErrorMsg() {
|
return errorMsg;
|
}
|
|
public void setErrorMsg(String errorMsg) {
|
this.errorMsg = errorMsg;
|
}
|
|
private T record;
|
|
private List<T> recordList;
|
private Integer totalCount;
|
|
|
public T getRecord() {
|
return record;
|
}
|
|
public void setRecord(T record) {
|
this.record = record;
|
}
|
|
public List<T> getRecordList() {
|
return recordList;
|
}
|
|
public void setRecordList(List<T> recordList) {
|
this.recordList = recordList;
|
}
|
|
public Integer getTotalCount() {
|
return totalCount;
|
}
|
|
public void setTotalCount(Integer totalCount) {
|
this.totalCount = totalCount;
|
}
|
}
|