|
|
@ -1,6 +1,8 @@
|
|
|
|
package cn.estsh.i3plus.pojo.softswitch.bean;
|
|
|
|
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.bean.BaseBean;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
@ -9,6 +11,7 @@ import lombok.Data;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import javax.persistence.Table;
|
|
|
@ -41,6 +44,7 @@ public class BsSuitCaseDataSourceTable extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "OPERATE_TYPE_ID")
|
|
|
|
@Column(name = "OPERATE_TYPE_ID")
|
|
|
|
@ApiParam(value = "操作类型")
|
|
|
|
@ApiParam(value = "操作类型")
|
|
|
|
|
|
|
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.DATABASE_OPERATE_TYPE.class)
|
|
|
|
private Integer operateTypeId;
|
|
|
|
private Integer operateTypeId;
|
|
|
|
|
|
|
|
|
|
|
|
public int getOperateTypeIdVal() {
|
|
|
|
public int getOperateTypeIdVal() {
|
|
|
@ -50,6 +54,11 @@ public class BsSuitCaseDataSourceTable extends BaseBean {
|
|
|
|
return operateTypeId.intValue();
|
|
|
|
return operateTypeId.intValue();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getOperateTypeIdTxt() {
|
|
|
|
|
|
|
|
return operateTypeId == null ? "无" : BlockSoftSwitchEnumUtil.DATABASE_OPERATE_TYPE.valueOfDescription(operateTypeId);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "EXECUTE_SQL")
|
|
|
|
@Column(name = "EXECUTE_SQL")
|
|
|
|
@ApiParam(value = "执行sql")
|
|
|
|
@ApiParam(value = "执行sql")
|
|
|
|
private String executeSql;
|
|
|
|
private String executeSql;
|
|
|
|