|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.softswitch.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
|
|
@ -8,13 +10,13 @@ import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.apache.commons.lang3.math.NumberUtils;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description : 适配器出入参
|
|
|
|
@ -44,6 +46,7 @@ public class BsSuitCaseParam extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "PARAM_TYPE_ID")
|
|
|
|
|
@ApiParam(value = "参数类型,枚举(出,入)")
|
|
|
|
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.PARAM_TYPE.class)
|
|
|
|
|
private Integer paramTypeId;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PARAM_NAME")
|
|
|
|
@ -56,8 +59,13 @@ public class BsSuitCaseParam extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "PARAM_VAL_TYPE_ID")
|
|
|
|
|
@ApiParam(value = "参数值类型")
|
|
|
|
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.PARAM_VALUE_TYPE.class)
|
|
|
|
|
private Integer paramValTypeId;
|
|
|
|
|
|
|
|
|
|
public int getParamValTypeIdVal() {
|
|
|
|
|
return paramValTypeId == null ? NumberUtils.INTEGER_MINUS_ONE : paramValTypeId.intValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Column(name = "PARAM_SORT")
|
|
|
|
|
@ApiParam(value = "参数参数排序")
|
|
|
|
|
private Integer paramSort;
|
|
|
|
|