|
|
@ -1,6 +1,9 @@
|
|
|
|
package cn.estsh.i3plus.pojo.model.softswitch;
|
|
|
|
package cn.estsh.i3plus.pojo.model.softswitch;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitRecord;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamImplicit;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
@ -19,10 +22,11 @@ import java.util.Map;
|
|
|
|
public class SuitServerModel {
|
|
|
|
public class SuitServerModel {
|
|
|
|
|
|
|
|
|
|
|
|
// 执行方法命令
|
|
|
|
// 执行方法命令
|
|
|
|
@ApiParam(value = "适配命令(枚举)")
|
|
|
|
@ApiParam(value = "适配器code")
|
|
|
|
private Integer actionId;
|
|
|
|
private String suitCaseCode;
|
|
|
|
/* 认证使用 以后使用 */
|
|
|
|
/* 认证使用 以后使用 */
|
|
|
|
private String token;
|
|
|
|
private String token;
|
|
|
|
|
|
|
|
|
|
|
|
// 传输单对象
|
|
|
|
// 传输单对象
|
|
|
|
private Object obj;
|
|
|
|
private Object obj;
|
|
|
|
// 传输集合
|
|
|
|
// 传输集合
|
|
|
@ -35,10 +39,52 @@ public class SuitServerModel {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 适配结果信息
|
|
|
|
* 适配结果信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
private String suitMessage;
|
|
|
|
private String suitMessage;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 适配状态码
|
|
|
|
* 适配状态码
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private String suitCaseStatusCode;
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private String suitCaseStatusCode = ResourceEnumUtil.MESSAGE.SUCCESS.getCode();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 适配结果
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private boolean suitSuccess = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 适配记录
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private BsSuitRecord bsSuitRecord;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 适配器信息
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private BsSuitCaseModel bsSuitCaseModel;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 请求来源
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private Integer requestSource;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 适配方式
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private Integer suitMethodId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int getSuitMethodIdVal(){
|
|
|
|
|
|
|
|
if(suitMethodId == null){
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return suitMethodId.intValue();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@XStreamImplicit
|
|
|
|
|
|
|
|
private String analyzeMessage;
|
|
|
|
}
|
|
|
|
}
|
|
|
|