|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.form.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.BlockFormEnumUtil;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
@ -8,6 +10,7 @@ import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.ColumnDefault;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
@ -53,9 +56,16 @@ public class BfDataObjectProperty extends BaseBean {
|
|
|
|
|
private String objectColumnName;
|
|
|
|
|
|
|
|
|
|
// 暂用来区分存储过程出入参数信息
|
|
|
|
|
@Column(name="OTHER_COLUMN_TYPE")
|
|
|
|
|
@ApiParam(value ="其他列类型")
|
|
|
|
|
private Integer otherColumnType;
|
|
|
|
|
@AnnoOutputColumn(refClass = BlockFormEnumUtil.ORIGIN_PROPERTY_TYPE.class)
|
|
|
|
|
@ColumnDefault("10")
|
|
|
|
|
@Column(name="ORIGIN_PROPERTY_TYPE")
|
|
|
|
|
@ApiParam(value ="原始列类型")
|
|
|
|
|
private Integer originPropertyType;
|
|
|
|
|
|
|
|
|
|
public String getOriginPropertyTypeTxt() {
|
|
|
|
|
return originPropertyType == null ? BlockFormEnumUtil.ORIGIN_PROPERTY_TYPE.NORMAL_PROPERTY.getDescription()
|
|
|
|
|
: BlockFormEnumUtil.ORIGIN_PROPERTY_TYPE.valueOfDescription(originPropertyType);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Column(name="OBJECT_COLUMN_TYPE")
|
|
|
|
|
@ApiParam(value ="数据对象类型")
|
|
|
|
@ -74,7 +84,7 @@ public class BfDataObjectProperty extends BaseBean {
|
|
|
|
|
private Integer isNullable;
|
|
|
|
|
|
|
|
|
|
public Integer getIsNullableVal(){
|
|
|
|
|
return isNullable == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isNullable.intValue();
|
|
|
|
|
return isNullable == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isNullable;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 字段长度
|
|
|
|
|