|
|
@ -1,5 +1,6 @@
|
|
|
|
package cn.estsh.i3plus.pojo.model.softswitch;
|
|
|
|
package cn.estsh.i3plus.pojo.model.softswitch;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.XStreamCDATA;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.Data;
|
|
|
@ -13,22 +14,26 @@ import lombok.Data;
|
|
|
|
**/
|
|
|
|
**/
|
|
|
|
@Data
|
|
|
|
@Data
|
|
|
|
@XStreamAlias("model")
|
|
|
|
@XStreamAlias("model")
|
|
|
|
public class XmlModel {
|
|
|
|
public class SuitCoreModel {
|
|
|
|
|
|
|
|
|
|
|
|
@XStreamAsAttribute
|
|
|
|
@XStreamAsAttribute
|
|
|
|
private Long id;
|
|
|
|
private Long id;
|
|
|
|
@XStreamAsAttribute
|
|
|
|
@XStreamAsAttribute
|
|
|
|
private Integer caseType;
|
|
|
|
private Integer caseType;
|
|
|
|
private String suitCaseStatus;
|
|
|
|
private String suitCaseStatusCode;
|
|
|
|
|
|
|
|
private String suitCaseMessage;
|
|
|
|
|
|
|
|
|
|
|
|
private String key;
|
|
|
|
private String key;
|
|
|
|
private PojoAuth auth;
|
|
|
|
private PojoAuth auth;
|
|
|
|
private Request request;
|
|
|
|
private Request request;
|
|
|
|
|
|
|
|
|
|
|
|
public XmlModel(Long id, Integer caseType,String suitCaseStatus, String key, PojoAuth auth,Request request) {
|
|
|
|
@XStreamCDATA
|
|
|
|
|
|
|
|
private String responseResult;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public SuitCoreModel(Long id, Integer caseType, String suitCaseStatusCode, String key, PojoAuth auth, Request request) {
|
|
|
|
this.id = id;
|
|
|
|
this.id = id;
|
|
|
|
this.caseType = caseType;
|
|
|
|
this.caseType = caseType;
|
|
|
|
this.suitCaseStatus = suitCaseStatus;
|
|
|
|
this.suitCaseStatusCode = suitCaseStatusCode;
|
|
|
|
this.key = key;
|
|
|
|
this.key = key;
|
|
|
|
this.auth = auth;
|
|
|
|
this.auth = auth;
|
|
|
|
this.request = request;
|
|
|
|
this.request = request;
|