You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

44 lines
1.1 KiB

package com.fr.plugin.db.procedure.controller;
import com.fr.json.JSONObject;
import com.fr.third.alibaba.druid.support.json.JSONUtils;
public class HttpReqBean {
private String procedureId;
private String reportSessionID;
private String otherPara;
public String getProcedureId() {
return procedureId;
}
public void setProcedureId(String procedureId) {
this.procedureId = procedureId;
}
public String getReportSessionID() {
return reportSessionID;
}
public void setReportSessionID(String reportSessionID) {
this.reportSessionID = reportSessionID;
}
public String getOtherPara() {
return otherPara;
}
public void setOtherPara(String otherPara) {
this.otherPara = otherPara;
}
public String toJson(){
JSONObject jsonObject = new JSONObject();
jsonObject.put("procedureId",procedureId);
jsonObject.put("reportSessionID",reportSessionID);
jsonObject.put("otherPara",otherPara);
return JSONUtils.toJSONString(jsonObject);
}
}